diff options
author | Ian Hinder <ian.hinder@aei.mpg.de> | 2012-03-21 20:06:56 +0100 |
---|---|---|
committer | Ian Hinder <ian.hinder@aei.mpg.de> | 2012-03-21 20:10:54 +0100 |
commit | a06645d9ddc2e35390881df286351d50746ed226 (patch) | |
tree | a35c135a68e727573e32e5081a6f1e94a87193da /Examples/WaveCaKernel/cakernel.ccl | |
parent | eb9a37877b8b44349f60ad37d4f6c217547ded94 (diff) |
Regenerate WaveCaKernel and WaveHost
Diffstat (limited to 'Examples/WaveCaKernel/cakernel.ccl')
-rw-r--r-- | Examples/WaveCaKernel/cakernel.ccl | 29 |
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 { |