We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f0624c commit 2fac389Copy full SHA for 2fac389
cmake/FindDPCPP.cmake
@@ -45,7 +45,10 @@ if(NOT "${DPCPP_SYCL_TARGET}" STREQUAL "")
45
list(APPEND DPCPP_FLAGS "-fsycl-targets=${DPCPP_SYCL_TARGET};")
46
endif()
47
48
-list(APPEND DPCPP_FLAGS "-fno-sycl-instrument-device-code")
+set(DPCPP_DISABLE_ITT_FOR_CUTLASS OFF CACHE BOOL "Disables linking of the Instrumentation and Tracing Technology (ITT) device libraries for VTune")
49
+if(DPCPP_DISABLE_ITT_FOR_CUTLASS)
50
+ list(APPEND DPCPP_FLAGS "-fno-sycl-instrument-device-code")
51
+endif()
52
53
if(NOT "${DPCPP_USER_FLAGS}" STREQUAL "")
54
list(APPEND DPCPP_FLAGS "${DPCPP_USER_FLAGS};")
0 commit comments