From d71101f8688366ca33e767ef911dbcad24cffe3f Mon Sep 17 00:00:00 2001 From: Oleksandr Pavlyk Date: Wed, 2 Nov 2022 10:00:51 -0500 Subject: [PATCH] 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. --- cmake/IntelDPCPPConfig.cmake | 6 ------ 1 file changed, 6 deletions(-) diff --git a/cmake/IntelDPCPPConfig.cmake b/cmake/IntelDPCPPConfig.cmake index 59d4b15ad8..37d79a3ec1 100644 --- a/cmake/IntelDPCPPConfig.cmake +++ b/cmake/IntelDPCPPConfig.cmake @@ -240,12 +240,6 @@ if( "x${CMAKE_CXX_COMPILER_ID}" STREQUAL "xClang" OR set(SYCL_LINK_FLAGS "-fsycl ") endif() -# Based on Compiler ID, add support for DPCPP -if( "x${CMAKE_CXX_COMPILER_ID}" STREQUAL "xIntelLLVM") - set(SYCL_FLAGS "--dpcpp ${SYCL_FLAGS}") - set(SYCL_LINK_FLAGS "--dpcpp ${SYCL_LINK_FLAGS}") -endif() - # TODO verify if this is needed # Windows: Add Exception handling if(WIN32)