aboutsummaryrefslogtreecommitdiff
path: root/Examples/WaveCaKernel/cakernel.ccl
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/WaveCaKernel/cakernel.ccl')
-rw-r--r--Examples/WaveCaKernel/cakernel.ccl29
1 files changed, 28 insertions, 1 deletions
diff --git a/Examples/WaveCaKernel/cakernel.ccl b/Examples/WaveCaKernel/cakernel.ccl
index 2b33cf1..880152a 100644
--- a/Examples/WaveCaKernel/cakernel.ccl
+++ b/Examples/WaveCaKernel/cakernel.ccl
@@ -1,4 +1,31 @@
-CCTK_CUDA_KERNEL calc_rhs TYPE=gpu_cuda/3dblock TILE="8,8,8" SHARECODE=yes STENCIL="1,1,1,1,1,1"
+CCTK_CUDA_KERNEL calc_rhs_2 TYPE=gpu_cuda/3dblock TILE="8,8,8" SHARECODE=yes STENCIL="1,1,1,1,1,1"
+{
+ CCTK_CUDA_KERNEL_VARIABLE cached=no intent=in
+ {
+ phi
+ }
+ "phi"
+
+ CCTK_CUDA_KERNEL_VARIABLE cached=no intent=out
+ {
+ phirhs
+ }
+ "phirhs"
+
+ CCTK_CUDA_KERNEL_VARIABLE cached=no intent=in
+ {
+ pi
+ }
+ "pi"
+
+ CCTK_CUDA_KERNEL_VARIABLE cached=no intent=out
+ {
+ pirhs
+ }
+ "pirhs"
+}
+
+CCTK_CUDA_KERNEL calc_rhs_4 TYPE=gpu_cuda/3dblock TILE="8,8,8" SHARECODE=yes STENCIL="2,2,2,2,2,2"
{
CCTK_CUDA_KERNEL_VARIABLE cached=no intent=in
{