aboutsummaryrefslogtreecommitdiff
path: root/ML_WaveToy_CL/src/WT_CL_RHS.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ML_WaveToy_CL/src/WT_CL_RHS.cc')
-rw-r--r--ML_WaveToy_CL/src/WT_CL_RHS.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ML_WaveToy_CL/src/WT_CL_RHS.cc b/ML_WaveToy_CL/src/WT_CL_RHS.cc
index 0e88732..a8212f6 100644
--- a/ML_WaveToy_CL/src/WT_CL_RHS.cc
+++ b/ML_WaveToy_CL/src/WT_CL_RHS.cc
@@ -124,7 +124,7 @@ static void WT_CL_RHS_Body(cGH const * restrict const cctkGH, int const dir, int
" kadd(PDstandardNth11u,kadd(PDstandardNth22u,PDstandardNth33u));\n"
" \n"
" /* Copy local copies back to grid functions */\n"
- " vec_store_partial_prepare(i,kimin,kimax);\n"
+ " vec_store_partial_prepare(i,lc_imin,lc_imax);\n"
" vec_store_nta_partial(rhorhs[index],rhorhsL);\n"
" vec_store_nta_partial(urhs[index],urhsL);\n"
"}\n"
@@ -143,7 +143,7 @@ static void WT_CL_RHS_Body(cGH const * restrict const cctkGH, int const dir, int
char const *const sources[] = {differencing, source, NULL};
OpenCLRunTime_CallKernel(cctkGH, CCTK_THORNSTRING, "WT_CL_RHS",
sources, groups, NULL, NULL, NULL, -1,
- kimin, kimax, &kernel);
+ imin, imax, &kernel);
}