Cuda Index Width

Choose 32-bit vs 64-bit index math in PyTorch CUDA kernels. Use when fixing large-tensor indexing overflows, deciding whether to use int64_t, canUse32BitIndexMath, CUDA_KERNEL_LOOP_TYPE, or AT_DISPATCH_INDEX_TYPES, and when considering binary-size or performance impact of index-type templating.

pytorch 987e295 6.4 KB Updated

File contents

pytorch/pytorch commit 987e295470

Frequently asked questions

npx skillmds@latest add pytorch/cuda-index-width