summaryrefslogtreecommitdiff
path: root/xmake/modules/lib
diff options
context:
space:
mode:
authorxq114 <[email protected]>2022-02-14 14:11:22 +0800
committerxq114 <[email protected]>2022-02-14 14:11:22 +0800
commit8db12ca9db80a84fccb5a3d422fc2703a0f024e1 (patch)
treebf0466753f7d0d0dcfea748a7cda09882c7b53ab /xmake/modules/lib
parentcd2ce73cda749e93b6a53fd03c96136e903296c0 (diff)
improve cuda finding
Diffstat (limited to 'xmake/modules/lib')
-rw-r--r--xmake/modules/lib/detect/find_cudadevices.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/modules/lib/detect/find_cudadevices.lua b/xmake/modules/lib/detect/find_cudadevices.lua
index d2c83c663..dcf4a4229 100644
--- a/xmake/modules/lib/detect/find_cudadevices.lua
+++ b/xmake/modules/lib/detect/find_cudadevices.lua
@@ -240,6 +240,8 @@ function _order_by_flops(devices)
, [72] = 64
, [75] = 64
, [80] = 64
+ , [86] = 128
+ , [87] = 128
}
for _, dev in ipairs(devices) do