From 8d386b06a721c96100caa6c7a7b7efa1f43653ff Mon Sep 17 00:00:00 2001 From: Diptorup Deb Date: Mon, 6 May 2024 16:22:05 -0500 Subject: [PATCH] The SPV_INTEL_variable_lenght_array SPIRV ext. is needed on PVC. --- 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 c731a9c75d..192311f9e0 100644 --- a/numba_dpex/kernel_api_impl/spirv/spirv_generator.py +++ b/numba_dpex/kernel_api_impl/spirv/spirv_generator.py @@ -124,6 +124,7 @@ def finalize(self): "--spirv-ext=+SPV_EXT_shader_atomic_float_add", "--spirv-ext=+SPV_EXT_shader_atomic_float_min_max", "--spirv-ext=+SPV_INTEL_arbitrary_precision_integers", + "--spirv-ext=+SPV_INTEL_variable_length_array", ] for key in list(self.context.extra_compile_options.keys()): if key == LLVM_SPIRV_ARGS: