adding USE_MATH_DEFINES to simpleCUFFT_2d_MGPU

This commit is contained in:
Jonathan Bentz 2024-12-19 16:35:19 -06:00
parent d9efeae3bb
commit 7e1a257265

View File

@ -18,6 +18,10 @@ include_directories(../../../Common)
# Add target for simpleCUFFT_2d_MGPU
add_executable(simpleCUFFT_2d_MGPU simpleCUFFT_2d_MGPU.cu)
if(MSVC)
add_compile_definitions(_USE_MATH_DEFINES)
endif()
target_compile_options(simpleCUFFT_2d_MGPU PRIVATE $<$<COMPILE_LANGUAGE:CUDA>:--extended-lambda>)
target_compile_features(simpleCUFFT_2d_MGPU PRIVATE cxx_std_17 cuda_std_17)