<commit_before>CUDA Kernel API
===============

Kernel declaration
------------------

The ``@cuda.jit`` decorator is used to create a CUDA kernel:

.. autofunction:: numba.cuda.jit

.. autoclass:: numba.cuda.compiler.AutoJitCUDAKernel
   :members: inspect_asm, inspect_llvm, inspect_types, specialize, extensions

Individual specialized kernels are instances of
:class:`numba.cuda.compiler.CUDAKernel`:

.. autoclass:: numba.cuda.compiler.CUDAKernel
   :members: bind, ptx, device, inspect_llvm, inspect_asm, inspect_types

Intrinsic Attributes and Functions
----------------------------------

The remainder of the attributes and functions in this section may only be called
from within a CUDA Kernel.

Thread Indexing<commit_msg>CUDA Docs: document `forall` method of kernels<commit_after>CUDA Kernel API
===============

Kernel declaration
------------------

The ``@cuda.jit`` decorator is used to create a CUDA kernel:

.. autofunction:: numba.cuda.jit

.. autoclass:: numba.cuda.compiler.AutoJitCUDAKernel
   :members: inspect_asm, inspect_llvm, inspect_types, specialize, extensions,
             forall

Individual specialized kernels are instances of
:class:`numba.cuda.compiler.CUDAKernel`:

.. autoclass:: numba.cuda.compiler.CUDAKernel
   :members: bind, ptx, device, inspect_llvm, inspect_asm, inspect_types,
             forall


Intrinsic Attributes and Functions
----------------------------------

The remainder of the attributes and functions in this section may only be called
from within a CUDA Kernel.

Thread Indexing
{'fraction_non_alphanumeric': 0.1577922077922078, 'fraction_numerical': 0.0, 'mean_word_length': 3.402857142857143, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3088952', 'n_tokens_mistral': 455, 'n_tokens_neox': 427, 'n_words': 139}