diff options
Diffstat (limited to 'xmake/includes/add_cugencode.lua')
| -rw-r--r-- | xmake/includes/add_cugencode.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/includes/add_cugencode.lua b/xmake/includes/add_cugencode.lua index 9bc454ed3..c4ccfe96b 100644 --- a/xmake/includes/add_cugencode.lua +++ b/xmake/includes/add_cugencode.lua @@ -63,7 +63,7 @@ rule("cuda.add_gencode") if archs == 'native' then import("lib.detect.find_cudadevices") - local device = find_cudadevices({ skip_compute_mode_prohibited = true, order_by_gflops = true })[1] + local device = find_cudadevices({ skip_compute_mode_prohibited = true, order_by_flops = true })[1] if device then return nf_cugencode('sm_' .. device.major .. device.minor) end |
