File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -46,9 +46,8 @@ def load_additional_registries(self):
4646 libdevicedecl ,
4747 vector_types ,
4848 )
49- from numba .cuda .typing import enumdecl , cffi_utils , collections
49+ from numba .cuda .typing import enumdecl , cffi_utils
5050
51- self .install_registry (collections .registry )
5251 self .install_registry (cudadecl .registry )
5352 self .install_registry (cffi_utils .registry )
5453 self .install_registry (cudamath .registry )
Original file line number Diff line number Diff line change @@ -396,11 +396,17 @@ def _get_global_type(self, gv):
396396
397397 def _load_builtins (self ):
398398 # Initialize declarations
399- from numba .cuda .typing import builtins , arraydecl , npdatetime
399+ from numba .cuda .typing import (
400+ builtins ,
401+ arraydecl ,
402+ npdatetime ,
403+ collections ,
404+ )
400405 from numba .cuda .typing import ctypes_utils , bufproto # noqa: F401, E501
401406 from numba .cuda .core .unsafe import eh # noqa: F401
402407
403408 self .install_registry (builtins .registry )
409+ self .install_registry (collections .registry )
404410 self .install_registry (arraydecl .registry )
405411 self .install_registry (npdatetime .registry )
406412 self .install_registry (templates .builtin_registry )
You can’t perform that action at this time.
0 commit comments