Suppressed an unused variable warning for globalVertexIdx
This commit is contained in:
@@ -687,6 +687,7 @@ read_out(const int idx, AcReal* __restrict__ field[], const int3 handle)
|
|||||||
const int3 globalVertexIdx = (int3){d_multigpu_offset.x + vertexIdx.x, \
|
const int3 globalVertexIdx = (int3){d_multigpu_offset.x + vertexIdx.x, \
|
||||||
d_multigpu_offset.y + vertexIdx.y, \
|
d_multigpu_offset.y + vertexIdx.y, \
|
||||||
d_multigpu_offset.z + vertexIdx.z}; \
|
d_multigpu_offset.z + vertexIdx.z}; \
|
||||||
|
(void)globalVertexIdx; \
|
||||||
if (vertexIdx.x >= end.x || vertexIdx.y >= end.y || vertexIdx.z >= end.z) \
|
if (vertexIdx.x >= end.x || vertexIdx.y >= end.y || vertexIdx.z >= end.z) \
|
||||||
return; \
|
return; \
|
||||||
\
|
\
|
||||||
|
Reference in New Issue
Block a user