mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2025-07-02 05:10:31 +08: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 target for simpleCUFFT_2d_MGPU
|
||||||
add_executable(simpleCUFFT_2d_MGPU simpleCUFFT_2d_MGPU.cu)
|
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_options(simpleCUFFT_2d_MGPU PRIVATE $<$<COMPILE_LANGUAGE:CUDA>:--extended-lambda>)
|
||||||
|
|
||||||
target_compile_features(simpleCUFFT_2d_MGPU PRIVATE cxx_std_17 cuda_std_17)
|
target_compile_features(simpleCUFFT_2d_MGPU PRIVATE cxx_std_17 cuda_std_17)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user