mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2025-04-10 18:22:11 +01:00
adding USE_MATH_DEFINES to simpleCUFFT_2d_MGPU
This commit is contained in:
parent
d9efeae3bb
commit
7e1a257265
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user