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.
2 parents d9a5977 + 7495db8 commit 48c0987Copy full SHA for 48c0987
cmake/FindDPCPP.cmake
@@ -40,7 +40,7 @@ message(STATUS "DPC++ compiler flags: `${DPCPP_FLAGS}`")
40
41
# Explicitly set fp-model to precise to produce reliable results for floating
42
# point operations.
43
-if(WIN32)
+if(MSVC)
44
set(DPCPP_FP_FLAG "/fp:precise")
45
else()
46
set(DPCPP_FP_FLAG "-ffp-model=precise")
0 commit comments