xmake.lua 277 B

1234567
  1. target("cuda_console")
  2. set_kind("binary")
  3. add_files("src/*.cu")
  4. -- generate SASS code for SM architecture of current host
  5. add_cugencodes("native")
  6. -- generate PTX code for the virtual architecture to guarantee compatibility
  7. add_cugencodes("compute_30")