Suppressed an unused variable warning for globalVertexIdx

This commit is contained in:
jpekkila
2019-07-03 18:46:17 +03:00
parent 7d6255ba14
commit 6907d74ea3

View File

@@ -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; \
\ \