Skip to content

Adding treatment of ARM platforms if a SYCL-compatible compiler is detected#599

Open
christophriesinger wants to merge 1 commit into
RenderKit:masterfrom
christophriesinger:criesing/compiler_SYCL_capability_handling
Open

Adding treatment of ARM platforms if a SYCL-compatible compiler is detected#599
christophriesinger wants to merge 1 commit into
RenderKit:masterfrom
christophriesinger:criesing/compiler_SYCL_capability_handling

Conversation

@christophriesinger
Copy link
Copy Markdown

At least since Clang 19, LLVM Clang supports SYCL and thus, the -fsycl compiler argument. Hence, if such a LLVM Clang is detected by CMake, common/cmake/dpcpp.cmake gets included. Since LLVM Clang with support for the -fsycl compiler argument is also available for ARM platforms (e.g. Clang-cl for Windows on ARM) dpcpp.cmake has to make sure no arguments are passed to Clang not supported by ARM (e.g. -msse2).

This code changes copies the treatment for ARM platforms from clang.cmake to dpcpp.cmake.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant