Skip to content

Commit

Permalink
CMake typo; Add -fno-sycl-instrument-device-code
Browse files Browse the repository at this point in the history
  • Loading branch information
hjabird committed Aug 14, 2024
1 parent 4d2c976 commit 2dc654e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/blas/backends/portblas/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ if(NUM_TARGETS EQUAL 0)
endif()

if(ENABLE_GENERIC_DEVICE)
set(ENABLE_PORTBLAS_BACKEND_GENERIC_DEVICE "ON" CACHE INTERAL "")
set(ENABLE_PORTBLAS_BACKEND_GENERIC_DEVICE "ON" CACHE INTERNAL "")
target_compile_options(ONEMKL::SYCL::SYCL INTERFACE -fno-sycl-instrument-device-code)
if(NOT PORTBLAS_TUNING_TARGET)
# If a generic device is specified, set the tuning target to default for best compatibility.
message(STATUS "Setting DEFAULT portBLAS tuning target for generic device.")
Expand Down

0 comments on commit 2dc654e

Please sign in to comment.