diff options
| -rw-r--r-- | xmake/templates/cuda/console/project/xmake.lua | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/xmake/templates/cuda/console/project/xmake.lua b/xmake/templates/cuda/console/project/xmake.lua index a5862d0cd..467ae7296 100644 --- a/xmake/templates/cuda/console/project/xmake.lua +++ b/xmake/templates/cuda/console/project/xmake.lua @@ -2,8 +2,8 @@ -- add modes: debug and release add_rules("mode.debug", "mode.release") --- add helper function add_cugencode -includes('add_cugencode.lua') +-- add helper function add_cugencodes +includes('add_cugencodes.lua') -- define target target("[targetname]") @@ -15,13 +15,13 @@ target("[targetname]") add_files("src/*.cu") -- generate SASS code for SM architecture of current host - add_cugencode("native") + add_cugencodes("native") -- generate PTX code for the virtual architecture to guarantee compatibility - add_cugencode("compute_30") + add_cugencodes("compute_30") -- -- generate SASS code for each SM architecture - -- add_cugencode("sm_30", "sm_35", "sm_37", "sm_50", "sm_52", "sm_60", "sm_61", "sm_70", "sm_75") + -- add_cugencodes("sm_30", "sm_35", "sm_37", "sm_50", "sm_52", "sm_60", "sm_61", "sm_70", "sm_75") -- -- generate PTX code from the highest SM architecture to guarantee forward-compatibility - -- add_cugencode("compute_75")
\ No newline at end of file + -- add_cugencodes("compute_75")
\ No newline at end of file |
