From a37886463119feb4855a1a4f4817808c11551662 Mon Sep 17 00:00:00 2001 From: Yevhenii Havrylko Date: Wed, 15 May 2024 16:28:44 -0400 Subject: [PATCH] Remove SPIRV version restriction --- conda-recipe/meta.yaml | 11 +++++------ pyproject.toml | 2 +- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/conda-recipe/meta.yaml b/conda-recipe/meta.yaml index d719dc8293..6e27f82491 100644 --- a/conda-recipe/meta.yaml +++ b/conda-recipe/meta.yaml @@ -49,15 +49,14 @@ requirements: {% endfor %} # versioneer dependency - tomli # [py<311] - # TODO: temporary fix, because IGC is broken for output produced by llvm-spirv 2024.1 on windows - - dpcpp-llvm-spirv >={{ required_compiler_version }} # [not win] - - dpcpp-llvm-spirv >={{ required_compiler_version }},<2024.1 # [win] + # While we don't need it for build, but install it here, so we can + # pin_compatible at run section. + - dpcpp-llvm-spirv >={{ required_compiler_version }} run: - {{ pin_compatible('dpcpp-cpp-rt', min_pin='x.x', max_pin='x') }} - {{ pin_compatible('intel-cmplr-lib-rt', min_pin='x.x', max_pin='x') }} - # TODO: temporary fix, because IGC is broken for output produced by llvm-spirv 2024.1 on windows - - {{ pin_compatible('dpcpp-llvm-spirv', min_pin='x.x', max_pin='x') }} # [not win] - - {{ pin_compatible('dpcpp-llvm-spirv', min_pin='x.x', max_pin='x', upper_bound='2024.1') }} # [win] + # TODO: pick up min version from dep + - {{ pin_compatible('dpcpp-llvm-spirv', min_pin='x.x', max_pin='x') }} - {{ pin_compatible('dpnp', min_pin='x.x.x', max_pin='x.x') }} - {{ pin_compatible('dpctl', min_pin='x.x.x', max_pin='x.x') }} - {{ pin_compatible('numba', min_pin='x.x.x', max_pin='x.x') }} diff --git a/pyproject.toml b/pyproject.toml index a141f83f09..aa7cc94eb3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,7 +47,7 @@ dependencies = [ "dpctl>=0.16.1", "dpnp>=0.14.0", "numpy>=1.24.0", - "dpcpp_llvm_spirv>=2024.0" + "dpcpp_llvm_spirv>=2024.1" ] description = "An extension for Numba to add data-parallel offload capability" dynamic = ["version"]