Skip to content

Commit e99ffd0

Browse files
committed
update
1 parent 399ba02 commit e99ffd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/operator/tensor/indexing_op.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1154,7 +1154,7 @@ struct scatter_nd_acc {
11541154
offset += strides[j] * static_cast<int>(indices[j*N + i]);
11551155
}
11561156
for (int j = 0; j < K; ++j) {
1157-
#if __CUDA__
1157+
#ifdef __CUDACC__
11581158
atomicAdd(out + (offset + j), data[i * K + j]);
11591159
#else
11601160
out[offset + j] += data[i * K + j];

0 commit comments

Comments
 (0)