This commit is contained in:
2026-04-10 15:06:59 +02:00
parent 3031b7153b
commit e5a4711004
7806 changed files with 1918528 additions and 335 deletions

View File

@@ -0,0 +1,13 @@
def initialize_all():
# Import models to register them with the data model manager
import numba.cuda.models # noqa: F401
from numba.cuda.decorators import jit
from numba.cuda.dispatcher import CUDADispatcher
from numba.core.target_extension import (target_registry,
dispatcher_registry,
jit_registry)
cuda_target = target_registry["cuda"]
jit_registry[cuda_target] = jit
dispatcher_registry[cuda_target] = CUDADispatcher