79283363

Date: 2024-12-15 23:33:29
Score: 1
Natty:
Report link

With CMake 3.24, one can use

set_property(TARGET user_defined_target_name PROPERTY CUDA_ARCHITECTURES native)

after

add_executable(user_defined_target_name xxx.cpp yyy.cu)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: syby119