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
This commit is contained in:
Nikita Sirgienko
2025-10-08 13:36:08 +02:00
committed by Nikita Sirgienko
parent 8ef6127b70
commit b133019f9f
4 changed files with 6 additions and 6 deletions

View File

@@ -744,7 +744,7 @@ This option is only for debugging purposes."
# `ocloc compile --help`. # `ocloc compile --help`.
# If you have completed optimization work and now want to enable AoT for new Intel devices, # If you have completed optimization work and now want to enable AoT for new Intel devices,
# update the optimization status in OneapiDevice::architecture_information. # 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" oneAPI Intel GPU architectures to build binaries for"
) )
set(CYCLES_ONEAPI_SYCL_TARGETS spir64 spir64_gen CACHE STRING "\ set(CYCLES_ONEAPI_SYCL_TARGETS spir64 spir64_gen CACHE STRING "\

View File

@@ -20,7 +20,7 @@ buildbot:
optix: optix:
version: '8.0.0' version: '8.0.0'
ocloc: ocloc:
version: '101.6557' version: '101.8132'
cmake: cmake:
default: default:
version: any version: any

View File

@@ -1844,7 +1844,7 @@ class CyclesPreferences(bpy.types.AddonPreferences):
elif device_type == 'ONEAPI': elif device_type == 'ONEAPI':
import sys import sys
if sys.platform.startswith("win"): 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_("Requires Intel GPU with Xe-HPG architecture"), icon='BLANK1', translate=False)
col.label(text=rpt_("and Windows driver version %s or newer") % driver_version, col.label(text=rpt_("and Windows driver version %s or newer") % driver_version,
icon='BLANK1', translate=False) icon='BLANK1', translate=False)

View File

@@ -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 /* Compute-runtime (ie. NEO) version is what gets returned by sycl/L0 on Windows
* since Windows driver 101.3268. */ * 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 # 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`. */ * 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 # else
static const int lowest_supported_driver_version_neo = 34666; static const int lowest_supported_driver_version_neo = 34666;
# endif # endif