diff options
| author | ruki <[email protected]> | 2020-08-10 13:15:37 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-08-10 13:15:37 +0800 |
| commit | 894b90a805a445dd9d882ffd434a73f0fa22197c (patch) | |
| tree | 603478d7ac0971586a5c026f00d09a2c0a056f24 /xmake/rules | |
| parent | 3cbe41e25b7a3dd0872daa9ea87ba786a9dc2df8 (diff) | |
| parent | 084e01a6ac7961fa650aba9cdc06502e4bd88b2c (diff) | |
Merge pull request #918 from OpportunityLiu/cuda-update
Cuda update
Diffstat (limited to 'xmake/rules')
| -rw-r--r-- | xmake/rules/cuda/gencodes/xmake.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/xmake/rules/cuda/gencodes/xmake.lua b/xmake/rules/cuda/gencodes/xmake.lua index e03626c6d..91af885ba 100644 --- a/xmake/rules/cuda/gencodes/xmake.lua +++ b/xmake/rules/cuda/gencodes/xmake.lua @@ -42,8 +42,9 @@ rule("cuda.gencodes") import("core.base.hashset") -- sm_20 and compute_20 is supported until CUDA 8 - local known_v_archs = hashset.of(20, 30, 32, 35, 37, 50, 52, 53, 60, 61, 62, 70, 72, 75) - local known_r_archs = hashset.of(20, 30, 32, 35, 37, 50, 52, 53, 60, 61, 62, 70, 72, 75) + -- sm_30 and compute_30 is supported until CUDA 10 + local known_v_archs = hashset.of(20, 30, 32, 35, 37, 50, 52, 53, 60, 61, 62, 70, 72, 75, 80) + local known_r_archs = hashset.of(20, 30, 32, 35, 37, 50, 52, 53, 60, 61, 62, 70, 72, 75, 80) local function nf_cugencode(archs) if type(archs) ~= 'string' then |
