Cycles: oneAPI: generate binaries for Meteor Lake iGPUs

This is already supported by current igc dependency (1.0.13064.7) on
Linux.
Windows needs a newer version of ocloc to make this change effective.

Pull Request: https://projects.blender.org/blender/blender/pulls/112669
This commit is contained in:
Xavier Hallade
2023-09-21 13:46:25 +02:00
committed by Gitea
parent ad8c5fd441
commit 82d86cbd8c
+4 -2
View File
@@ -677,8 +677,10 @@ This option is only for debugging purposes."
)
# https://www.intel.com/content/www/us/en/develop/documentation/oneapi-dpcpp-cpp-compiler-dev-guide-and-reference/top/compilation/ahead-of-time-compilation.html
# acm-g10 is the target for the first Intel Arc Alchemist GPUs.
set(CYCLES_ONEAPI_INTEL_BINARIES_ARCH acm-g10 CACHE STRING "\
# The target architectures levels can be retrieved from `ocloc` output when running
# `ocloc compile -device {device_id} test.c` for given GPUs PCI device IDs.
# 12.55.8 is for Arc Alchemist GPUs. 12.70.0 for Meteor Lake iGPUs.
set(CYCLES_ONEAPI_INTEL_BINARIES_ARCH 12.55.8 12.70.0 CACHE STRING "\
oneAPI Intel GPU architectures to build binaries for"
)
set(CYCLES_ONEAPI_SYCL_TARGETS spir64 spir64_gen CACHE STRING "\