From 01318388a66e52b9d240179bd978f368564e6dd4 Mon Sep 17 00:00:00 2001 From: Diptorup Deb Date: Thu, 14 Mar 2024 01:36:08 -0500 Subject: [PATCH] Use SPV_INTEL_arbitrary_precision_integers when compiling SPIRV from LLVM IR --- numba_dpex/kernel_api_impl/spirv/spirv_generator.py | 1 + 1 file changed, 1 insertion(+) diff --git a/numba_dpex/kernel_api_impl/spirv/spirv_generator.py b/numba_dpex/kernel_api_impl/spirv/spirv_generator.py index 1171faca4a..c731a9c75d 100644 --- a/numba_dpex/kernel_api_impl/spirv/spirv_generator.py +++ b/numba_dpex/kernel_api_impl/spirv/spirv_generator.py @@ -123,6 +123,7 @@ def finalize(self): llvm_spirv_args = [ "--spirv-ext=+SPV_EXT_shader_atomic_float_add", "--spirv-ext=+SPV_EXT_shader_atomic_float_min_max", + "--spirv-ext=+SPV_INTEL_arbitrary_precision_integers", ] for key in list(self.context.extra_compile_options.keys()): if key == LLVM_SPIRV_ARGS: