diff options
author | Erik Schnetter <schnetter@gmail.com> | 2013-01-20 10:09:04 -0500 |
---|---|---|
committer | Erik Schnetter <schnetter@gmail.com> | 2013-01-20 10:09:04 -0500 |
commit | d5e202b1879cba4befc471c5c958a3ee2b8568a1 (patch) | |
tree | 4eddc34b68cdde4ed1bbf7696e28dd34aadf068b /ML_WaveToy_CL/src/WT_CL_RHS.cc | |
parent | 6720d80eab38f9f24584bcf657bc85c1708ab701 (diff) |
Update OpenCL code after Kranc change
Diffstat (limited to 'ML_WaveToy_CL/src/WT_CL_RHS.cc')
-rw-r--r-- | ML_WaveToy_CL/src/WT_CL_RHS.cc | 4 |
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); } |