Skip to content

Commit 4a40ac1

Browse files
committed
fixing mistake which prevented GPUE from running with the -l flag
1 parent 7b75ef0 commit 4a40ac1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/init.cu

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -312,11 +312,11 @@ int init(Grid &par){
312312

313313
generate_plan_other3d(&plan_1d, par, 0);
314314
if (dimnum == 2){
315-
generate_plan_other3d(&plan_dim2, par, 1);
315+
generate_plan_other2d(&plan_other2d, par);
316316
}
317317
if (dimnum == 3){
318318
generate_plan_other3d(&plan_dim3, par, 2);
319-
generate_plan_other2d(&plan_other2d, par);
319+
generate_plan_other3d(&plan_dim2, par, 1);
320320
}
321321
result = cufftPlan3d(&plan_3d, xDim, yDim, zDim, CUFFT_Z2Z);
322322
if(result != CUFFT_SUCCESS){

0 commit comments

Comments
 (0)