diff options
| author | OpportunityLiu <[email protected]> | 2025-12-01 12:47:59 +0800 |
|---|---|---|
| committer | OpportunityLiu <[email protected]> | 2025-12-01 12:47:59 +0800 |
| commit | 4846ee47d9f0bbe2cf05daa6e4fbbdd202cd86da (patch) | |
| tree | e9e7e1244ee4c525b38655ea900c5f50ac87ee26 /xmake/templates/cuda/shared/project/xmake.lua | |
| parent | c7e1e6519762517d87e366a9ec7569aa49273f48 (diff) | |
feat: add support for cuda 11~13; update templates and examples
Diffstat (limited to 'xmake/templates/cuda/shared/project/xmake.lua')
| -rw-r--r-- | xmake/templates/cuda/shared/project/xmake.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/templates/cuda/shared/project/xmake.lua b/xmake/templates/cuda/shared/project/xmake.lua index c24fdb0d8..45c27363f 100644 --- a/xmake/templates/cuda/shared/project/xmake.lua +++ b/xmake/templates/cuda/shared/project/xmake.lua @@ -9,12 +9,12 @@ target("${TARGETNAME}") add_cugencodes("native") -- generate PTX code for the virtual architecture to guarantee compatibility - add_cugencodes("compute_30") + add_cugencodes("compute_75") -- -- generate SASS code for each SM architecture - -- add_cugencodes("sm_30", "sm_35", "sm_37", "sm_50", "sm_52", "sm_60", "sm_61", "sm_70", "sm_75") + -- add_cugencodes("sm_75", "sm_80", "sm_89", "sm_90", "sm_100") -- -- generate PTX code from the highest SM architecture to guarantee forward-compatibility - -- add_cugencodes("compute_75") + -- add_cugencodes("compute_100") ${FAQ} |
