Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Chao1Han committed Jul 31, 2024
1 parent f2498df commit 8a55552
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmake/BuildFlags.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR CMAKE_CXX_COMPILER_ID STREQUAL "MSVC"
if(SYCL_COMPILER_VERSION GREATER_EQUAL MIN_DATE_VERSION)
set(SYCL_KERNEL_OPTIONS ${SYCL_KERNEL_OPTIONS} -fsycl-fp64-conv-emu)
else()
message(WARNING "SYCL Compiler Version ${SYCL_COMPILER_VERSION} \
is less than ${MIN_DATE_VERSION}. Disable FP64 conversion emulation. \
There might be unknown behavior on some platforms that don't support FP64.")
message(WARNING "On some platforms that don't support FP64, \
running operations with the FP64 datatype will raise a Runtime error \
or a Native API failed error.")
endif()
endif()

Expand Down

0 comments on commit 8a55552

Please sign in to comment.