aboutsummaryrefslogtreecommitdiff
path: root/Examples/AdvectCaKernel/cakernel.ccl
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/AdvectCaKernel/cakernel.ccl')
-rw-r--r--Examples/AdvectCaKernel/cakernel.ccl15
1 files changed, 15 insertions, 0 deletions
diff --git a/Examples/AdvectCaKernel/cakernel.ccl b/Examples/AdvectCaKernel/cakernel.ccl
new file mode 100644
index 0000000..ddec99a
--- /dev/null
+++ b/Examples/AdvectCaKernel/cakernel.ccl
@@ -0,0 +1,15 @@
+CCTK_CUDA_KERNEL initial_gaussian TYPE=gpu_cuda/3dblock STENCIL="0,0,0,0,0,0" TILE="8,8,8" SHARECODE=yes
+{
+ CCTK_CUDA_KERNEL_VARIABLE cached=yes intent=out
+ {
+ phi
+ }
+ "phi"
+
+ CCTK_CUDA_KERNEL_VARIABLE cached=yes intent=in
+ {
+ x
+ }
+ "x"
+}
+