Skip to content

Commit d71101f

Browse files
Compiler oneAPI DPC++ 2022.2.0 no longer requires use of --dpcpp
The work-in-progress compiler generates warnings when `--dpcpp` is used. Removing this flag now to be future-proof.
1 parent 85ec499 commit d71101f

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

cmake/IntelDPCPPConfig.cmake

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -240,12 +240,6 @@ if( "x${CMAKE_CXX_COMPILER_ID}" STREQUAL "xClang" OR
240240
set(SYCL_LINK_FLAGS "-fsycl ")
241241
endif()
242242

243-
# Based on Compiler ID, add support for DPCPP
244-
if( "x${CMAKE_CXX_COMPILER_ID}" STREQUAL "xIntelLLVM")
245-
set(SYCL_FLAGS "--dpcpp ${SYCL_FLAGS}")
246-
set(SYCL_LINK_FLAGS "--dpcpp ${SYCL_LINK_FLAGS}")
247-
endif()
248-
249243
# TODO verify if this is needed
250244
# Windows: Add Exception handling
251245
if(WIN32)

0 commit comments

Comments
 (0)