NVIDIA / NVIDIA/cccl

Specialize `{WARP,BLOCK}_LOAD,STORE}_VECTORIZE` to bypass alignment checks for aligned annotated pointers

Open
#4,566 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
2.5k
Forks
486
Avg merge
2d 6h
Merged PRs (30d)
295

Description

Due to an [issue](https://github.com/NVIDIA/cccl/issues/431), `BLOCK_LOAD_VECTORIZE` actually didn't attempt to vectorize loads. https://github.com/NVIDIA/cccl/pull/3517 and https://github.com/NVIDIA/cccl/pull/4283 fixed this issue and added runtime checks to make sure that the pointers are aligned and fallback to direct loading for unaligned pointers.

We want to specialize `{WARP,BLOCK}_LOAD,STORE}_VECTORIZE` to skip the alignment check for annotated pointers that meet the alignment requirement.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.