codeplaysoftware / portBLAS

An implementation of BLAS using the SYCL open standard.
Apache License 2.0
250 stars 48 forks source link

Update compiler to support icpx and latest nightly #512

Closed s-Nick closed 4 months ago

s-Nick commented 5 months ago

This patch address compilation issues with icpx for AMD and NVIDIA target.

It add 3 flags if and only if the project is compiled using icpx or clang++ from any oneAPI release and the target is not and Intel device. The flags added force icpx to behave as the open source intel/llvm compiler, making the project works correctly.

This patch also update shuffle operation API to be compatible with the latest intel/llvm commit to allow the project to be compiled also with it.