diff options
| author | ruki <[email protected]> | 2021-10-10 00:02:03 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-10-10 00:02:03 +0800 |
| commit | 37efd34d9f539e1b98404ad1134aa83b9baee0e4 (patch) | |
| tree | 44b5cb8c045d09e5680e3a0b243b64365188de90 /xmake/rules/cuda/gencodes/xmake.lua | |
| parent | ff96f6c08fcf72b44226626e1d04be60e92ac37c (diff) | |
fix more unpack
Diffstat (limited to 'xmake/rules/cuda/gencodes/xmake.lua')
| -rw-r--r-- | xmake/rules/cuda/gencodes/xmake.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/cuda/gencodes/xmake.lua b/xmake/rules/cuda/gencodes/xmake.lua index b5ebc22d1..e208c1f4f 100644 --- a/xmake/rules/cuda/gencodes/xmake.lua +++ b/xmake/rules/cuda/gencodes/xmake.lua @@ -112,7 +112,7 @@ rule("cuda.gencodes") if v_arch then table.insert(r_archs, v_arch) else - v_arch = math.min(unpack(r_archs)) + v_arch = math.min(table.unpack(r_archs)) end r_archs = table.unique(r_archs) |
