CMake: improve selection/filtering of archs of Intel GPU binaries #112669

Merged
Xavier Hallade merged 3 commits from xavierh/blender:cmake_ocloc_updates into main 2023-10-11 14:59:46 +02:00

3 Commits

Author SHA1 Message Date
Xavier Hallade 1e3e21dccb 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.
2023-09-26 11:14:52 +02:00
Xavier Hallade 17424107d6 Cycles: oneAPI: query graphics compiler for supported targets
In case a target isn't supported by the graphics compiler, it will be
filtered out from the target architectures to build for.
2023-09-21 13:56:26 +02:00
Xavier Hallade a4d6ea774e Cycles: oneAPI: rename target intel arch cmake setting
CYCLES_ONEAPI_SPIR64_GEN_DEVICES -> CYCLES_ONEAPI_INTEL_BINARIES_ARCH
so it's more aligned with the name for the other backends, such as
CYCLES_CUDA_BINARIES_ARCH.
2023-09-21 13:56:26 +02:00