aboutsummaryrefslogtreecommitdiff
path: root/Tools/CodeGen/CaKernel.m
diff options
context:
space:
mode:
authorIan Hinder <ian.hinder@aei.mpg.de>2012-07-25 17:17:54 +0200
committerIan Hinder <ian.hinder@aei.mpg.de>2012-07-25 17:17:54 +0200
commit676f56c7e9e3c34b8b9532dfcf47448dfdbfe49f (patch)
treeeb4999a89b85afab2da5720ec4ac1f08438f55aa /Tools/CodeGen/CaKernel.m
parent7db43a19ced43c67a0be1d7affd1fcb8a97489fb (diff)
CaKernel.m: Use CaKernel static kernels
Dynamic compilation slows down execution; we can re-enable it when we are optimising.
Diffstat (limited to 'Tools/CodeGen/CaKernel.m')
-rw-r--r--Tools/CodeGen/CaKernel.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/CodeGen/CaKernel.m b/Tools/CodeGen/CaKernel.m
index 8faa67f..0e5eb7f 100644
--- a/Tools/CodeGen/CaKernel.m
+++ b/Tools/CodeGen/CaKernel.m
@@ -71,7 +71,7 @@ DefFn[
int, attrs},
int = !bnd;
- attrs = {"TYPE" -> If[int, "gpu_cuda_dc/3dblock2", "gpu_cuda_dc/boundary_s"],
+ attrs = {"TYPE" -> If[int, "gpu_cuda/3dblock", "gpu_cuda/boundary_s"],
"TILE" -> Quote[StringJoin[Riffle[ToString/@tileSize,","]]],
"SHARECODE" -> "yes"};