def init(self): self.is32bit = (utils.MACHINE_BITS == 32) self._internal_codegen = codegen.JITCPUCodegen("numba.exec") # Map external C functions. externals.c_math_functions.install(self) # Initialize NRT runtime rtsys.initialize(self)
def init(self): self.is32bit = (utils.MACHINE_BITS == 32) self._internal_codegen = codegen.JITCPUCodegen("numba.exec") # Add ARM ABI functions from libgcc_s if platform.machine() == 'armv7l': ll.load_library_permanently('libgcc_s.so.1') # Map external C functions. externals.c_math_functions.install(self) # Initialize NRT runtime rtsys.initialize(self) # Initialize additional implementations if utils.PY3: import numba.unicode
def init(self): self.is32bit = (utils.MACHINE_BITS == 32) self._internal_codegen = codegen.JITCPUCodegen("numba.exec") # Map external C functions. externals.c_math_functions.install(self) externals.c_numpy_functions.install(self) # Add target specific implementations self.install_registry(cmathimpl.registry) self.install_registry(mathimpl.registry) self.install_registry(npyimpl.registry) self.install_registry(operatorimpl.registry) self.install_registry(printimpl.registry) self.install_registry(randomimpl.registry) # Initialize NRT runtime rtsys.initialize(self)