summaryrefslogtreecommitdiff
path: root/xmake/rules/cuda/gencodes/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2021-10-10 00:02:03 +0800
committerruki <[email protected]>2021-10-10 00:02:03 +0800
commit37efd34d9f539e1b98404ad1134aa83b9baee0e4 (patch)
tree44b5cb8c045d09e5680e3a0b243b64365188de90 /xmake/rules/cuda/gencodes/xmake.lua
parentff96f6c08fcf72b44226626e1d04be60e92ac37c (diff)
fix more unpack
Diffstat (limited to 'xmake/rules/cuda/gencodes/xmake.lua')
-rw-r--r--xmake/rules/cuda/gencodes/xmake.lua2
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)