From 91fcda17af5b35c2c5bc8ee02a39f6d88d431626 Mon Sep 17 00:00:00 2001 From: OpportunityLiu Date: Sun, 2 Jun 2019 15:12:32 +0800 Subject: rename filter --- xmake/includes/add_cugencode.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmake/includes/add_cugencode.lua') 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 -- cgit v1.3.1