From b133019f9f2166a99aeb19b19c64c2b9640544d9 Mon Sep 17 00:00:00 2001 From: Nikita Sirgienko Date: Wed, 8 Oct 2025 13:36:08 +0200 Subject: [PATCH] Cycles: oneAPI: use ocloc 101.8132 on Windows This new version of the graphics compiler improves performance for the majority of supported Intel devices and adds support for upcoming Intel hardware. Such an upgrade also requires an increase in the minimal supported driver version on Windows, which is why these changes are combined together with the ocloc upgrade. Previously set minimal version 101.6557 was increased to 101.8132. Pull Request: https://projects.blender.org/blender/blender/pulls/147460 --- CMakeLists.txt | 2 +- build_files/config/pipeline_config.yaml | 2 +- intern/cycles/blender/addon/properties.py | 2 +- intern/cycles/device/oneapi/device_impl.cpp | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2c59113b745..7b0dbcc40b8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -744,7 +744,7 @@ This option is only for debugging purposes." # `ocloc compile --help`. # If you have completed optimization work and now want to enable AoT for new Intel devices, # update the optimization status in OneapiDevice::architecture_information. - set(CYCLES_ONEAPI_INTEL_BINARIES_ARCH dg2 mtl lnl bmg CACHE STRING "\ + set(CYCLES_ONEAPI_INTEL_BINARIES_ARCH dg2 mtl lnl bmg ptl CACHE STRING "\ oneAPI Intel GPU architectures to build binaries for" ) set(CYCLES_ONEAPI_SYCL_TARGETS spir64 spir64_gen CACHE STRING "\ diff --git a/build_files/config/pipeline_config.yaml b/build_files/config/pipeline_config.yaml index 3dbbe08a566..b6410051345 100644 --- a/build_files/config/pipeline_config.yaml +++ b/build_files/config/pipeline_config.yaml @@ -20,7 +20,7 @@ buildbot: optix: version: '8.0.0' ocloc: - version: '101.6557' + version: '101.8132' cmake: default: version: any diff --git a/intern/cycles/blender/addon/properties.py b/intern/cycles/blender/addon/properties.py index e2e24e3ca9d..fdf556ff752 100644 --- a/intern/cycles/blender/addon/properties.py +++ b/intern/cycles/blender/addon/properties.py @@ -1844,7 +1844,7 @@ class CyclesPreferences(bpy.types.AddonPreferences): elif device_type == 'ONEAPI': import sys if sys.platform.startswith("win"): - driver_version = "XX.X.101.6557" + driver_version = "XX.X.101.8132" col.label(text=rpt_("Requires Intel GPU with Xe-HPG architecture"), icon='BLANK1', translate=False) col.label(text=rpt_("and Windows driver version %s or newer") % driver_version, icon='BLANK1', translate=False) diff --git a/intern/cycles/device/oneapi/device_impl.cpp b/intern/cycles/device/oneapi/device_impl.cpp index 98411a62c2e..3d38f0fdd30 100644 --- a/intern/cycles/device/oneapi/device_impl.cpp +++ b/intern/cycles/device/oneapi/device_impl.cpp @@ -1385,11 +1385,11 @@ void OneapiDevice::get_adjusted_global_and_local_sizes(SyclQueue *queue, /* Compute-runtime (ie. NEO) version is what gets returned by sycl/L0 on Windows * since Windows driver 101.3268. */ -static const int lowest_supported_driver_version_win = 1016554; +static const int lowest_supported_driver_version_win = 1018132; # ifdef _WIN32 -/* For Windows driver 101.6557, compute-runtime version is 31896. +/* For Windows driver 101.8132, compute-runtime version is 34938. * This information is returned by `ocloc query OCL_DRIVER_VERSION`. */ -static const int lowest_supported_driver_version_neo = 31896; +static const int lowest_supported_driver_version_neo = 34938; # else static const int lowest_supported_driver_version_neo = 34666; # endif