diff options
| author | OpportunityLiu <[email protected]> | 2019-06-02 15:12:32 +0800 |
|---|---|---|
| committer | OpportunityLiu <[email protected]> | 2019-06-02 15:12:32 +0800 |
| commit | 91fcda17af5b35c2c5bc8ee02a39f6d88d431626 (patch) | |
| tree | 1f466e841a2db7868b4009278c35a79a11639416 /xmake/includes | |
| parent | f60e817f82e10716511e435707f3750ebf98ca23 (diff) | |
rename filter
Diffstat (limited to 'xmake/includes')
| -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 |
