Skip to content

Commit 17e0a2a

Browse files
committed
minor change
1 parent 2f0b974 commit 17e0a2a

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

SRC/complex16/pzgssvx3d.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1028,6 +1028,7 @@ void pzgssvx3d(superlu_dist_options_t *options, SuperMatrix *A,
10281028

10291029
if(options->batchCount == 0)
10301030
{
1031+
#ifdef HAVE_CUDA
10311032
zLUgpu_Handle zLUgpu = zCreateLUgpuHandle(nsupers, ldt, trf3Dpartition, LUstruct, grid3d,
10321033
SCT, options, stat, thresh, info);
10331034

@@ -1036,6 +1037,7 @@ zLUgpu_Handle zLUgpu = zCreateLUgpuHandle(nsupers, ldt, trf3Dpartition, LUstruct
10361037

10371038
zCopyLUGPU2Host(zLUgpu, LUstruct);
10381039
zDestroyLUgpuHandle(zLUgpu);
1040+
#endif
10391041
} else { /* batched version */
10401042

10411043
#ifdef HAVE_MAGMA

SRC/single/psgssvx3d.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1029,6 +1029,7 @@ void psgssvx3d(superlu_dist_options_t *options, SuperMatrix *A,
10291029

10301030
if(options->batchCount == 0)
10311031
{
1032+
#ifdef HAVE_CUDA
10321033
sLUgpu_Handle sLUgpu = sCreateLUgpuHandle(nsupers, ldt, trf3Dpartition, LUstruct, grid3d,
10331034
SCT, options, stat, thresh, info);
10341035

@@ -1037,7 +1038,7 @@ sLUgpu_Handle sLUgpu = sCreateLUgpuHandle(nsupers, ldt, trf3Dpartition, LUstruct
10371038

10381039
sCopyLUGPU2Host(sLUgpu, LUstruct);
10391040
sDestroyLUgpuHandle(sLUgpu);
1040-
1041+
#endif
10411042
} else { /* batched version */
10421043

10431044
#ifdef HAVE_MAGMA

0 commit comments

Comments
 (0)