1 parent 4878474 commit 2a89407Copy full SHA for 2a89407
1 file changed
torch_cluster/triton/_kernels.py
@@ -381,15 +381,6 @@ def _knn_segmented_kernel(
381
y_norm_ptr = tl.advance(y_norm_ptr, (BLOCK_D, 0))
382
y_rnorm = tl.rsqrt(y_sq + EPS) # 1/||y|| for cosine.
383
384
- # if stride_xm % 8 == 0:
385
- # tl.multiple_of(stride_xm, 8) # Hint alignment.
386
- # if stride_xd % 8 == 0:
387
- # tl.multiple_of(stride_xd, 8)
388
- # if stride_ym % 8 == 0:
389
- # tl.multiple_of(stride_ym, 8)
390
- # if stride_yd % 8 == 0:
391
- # tl.multiple_of(stride_yd, 8)
392
-
393
for xb in range(MAX_X_BLOCKS):
394
x_block_start = x_start + xb * BLOCK_N # Start of x block.
395
offs_n = tl.arange(0, BLOCK_N) # Offsets within block.
0 commit comments