Skip to content

Commit 6673634

Browse files
committed
removed comment
1 parent 6ed9c16 commit 6673634

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aten/THC/THCGrid.cu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ __global__ void gridKernel(int64_t *self, TensorInfo<T> posInfo, T *size,
1212
int64_t coef = 1, value = 0;
1313
for (ptrdiff_t d = 0; d < posInfo.size[1]; d += posInfo.stride[1]) {
1414
c = THCNumerics<T>::div(pos[d], size[d]);
15-
c = ScalarConvert<int64_t, T>::to(ScalarConvert<T, int64_t>::to(c)); // floor.
15+
c = ScalarConvert<int64_t, T>::to(ScalarConvert<T, int64_t>::to(c));
1616
value += coef * c;
1717
coef *= count[d];
1818
}

0 commit comments

Comments
 (0)