From 29935f681fb7a19cc7513770d459c205cf48fd03 Mon Sep 17 00:00:00 2001 From: Graham Markall Date: Thu, 3 Oct 2024 11:55:59 +0100 Subject: [PATCH] Add note on docs --- numba_cuda/numba/cuda/cache_hints.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/numba_cuda/numba/cuda/cache_hints.py b/numba_cuda/numba/cuda/cache_hints.py index 7786b70..7596e13 100644 --- a/numba_cuda/numba/cuda/cache_hints.py +++ b/numba_cuda/numba/cuda/cache_hints.py @@ -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."""