From 2e4f56243208d183c0cf6b3cd58d47b99f809a0e Mon Sep 17 00:00:00 2001
From: Andreas Kloeckner <inform@tiker.net>
Date: Fri, 9 Jul 2010 07:07:39 -0400
Subject: [PATCH] Fix aksetup wording. Minor tweaks to matmul example.

---
 aksetup_helper.py           | 2 +-
 examples/matrix-multiply.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/aksetup_helper.py b/aksetup_helper.py
index 924df5d6..5637d68c 100644
--- a/aksetup_helper.py
+++ b/aksetup_helper.py
@@ -493,7 +493,7 @@ def set_up_shipped_boost_if_requested(conf):
         if not exists("bpl-subset/bpl_subset/boost/version.hpp"):
             print >>sys.stderr, "------------------------------------------------------------------------"
             print >>sys.stderr, "The shipped Boost library was not found, but USE_SHIPPED_BOOST is True."
-            print >>sys.stderr, "(It should be under bpl-subset/)"
+            print >>sys.stderr, "(The files should be under bpl-subset/.)"
             print >>sys.stderr, "------------------------------------------------------------------------"
             print >>sys.stderr, "If you got this package from git, you probably want to do"
             print >>sys.stderr, ""
diff --git a/examples/matrix-multiply.py b/examples/matrix-multiply.py
index c8fab12e..53519ce7 100644
--- a/examples/matrix-multiply.py
+++ b/examples/matrix-multiply.py
@@ -43,7 +43,7 @@ KERNEL_CODE = """
 //! Matrix multiplication on the device: C = A * B
 //! WA is A's width and WB is B's width
 ////////////////////////////////////////////////////////////////////////////////
-__kernel __attribute__((reqd_work_group_size(16,16,1))) 
+__kernel __attribute__((reqd_work_group_size(BLOCK_SIZE,BLOCK_SIZE,1))) 
 void
 matrixMul( __global float* C, __global float* A, __global float* B)
 {
-- 
GitLab