Skip to content
This repository was archived by the owner on Mar 20, 2023. It is now read-only.

Commit 8954db4

Browse files
oluptoniomaganaris
andauthored
Apply suggestions from code review
Co-authored-by: Ioannis Magkanaris <[email protected]>
1 parent f4c2eb6 commit 8954db4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coreneuron/permute/cellorder.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,7 @@ void solve_interleaved2(int ith) {
596596
int* strides = ii.stride; // sum ncycles of these (bad since ncompart/warpsize)
597597
int* rootbegin = ii.firstnode; // nwarp+1 of these
598598
int* nodebegin = ii.lastnode; // nwarp+1 of these
599-
#if defined(_OPENACC) && !defined(CORENEURON_PREFER_OPENMP_OFFLOAD) && defined(_OPENACC)
599+
#if defined(CORENEURON_ENABLE_GPU) && !defined(CORENEURON_PREFER_OPENMP_OFFLOAD) && defined(_OPENACC)
600600
int nstride = stridedispl[nwarp];
601601
#endif
602602
nrn_pragma_acc(parallel loop gang vector vector_length(

0 commit comments

Comments
 (0)