Skip to content

Commit

Permalink
Add note on docs
Browse files Browse the repository at this point in the history
  • Loading branch information
gmarkall committed Oct 3, 2024
1 parent 2903172 commit 29935f6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions numba_cuda/numba/cuda/cache_hints.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
from numba.core.errors import NumbaTypeError
from numba.cuda.api_util import normalize_indices

# Docs references:
# https://docs.nvidia.com/cuda/parallel-thread-execution/index.html#data-movement-and-conversion-instructions-ld
# https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#load-functions-using-cache-hints


def ldca(array, i):
"""Generate a `ld.global.ca` instruction for element `i` of an array."""
Expand Down

0 comments on commit 29935f6

Please sign in to comment.