diff options
Diffstat (limited to 'utils')
-rw-r--r-- | utils/CommonGraphOptions.cpp | 3 | ||||
-rw-r--r-- | utils/CommonGraphOptions.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/utils/CommonGraphOptions.cpp b/utils/CommonGraphOptions.cpp index 80bcbb5110..6ee7ed1878 100644 --- a/utils/CommonGraphOptions.cpp +++ b/utils/CommonGraphOptions.cpp @@ -137,6 +137,7 @@ CommonGraphOptions::CommonGraphOptions(CommandLineParser &parser) { Target::NEON, Target::CL, + Target::CLVK, }; std::set<arm_compute::DataType> supported_data_types @@ -203,7 +204,7 @@ CommonGraphParams consume_common_graph_parameters(CommonGraphOptions &options) common_params.data_layout = options.data_layout->value(); } common_params.enable_tuner = options.enable_tuner->is_set() ? options.enable_tuner->value() : false; - common_params.enable_cl_cache = common_params.target == arm_compute::graph::Target::CL ? (options.enable_cl_cache->is_set() ? options.enable_cl_cache->value() : true) : false; + common_params.enable_cl_cache = common_params.target == arm_compute::graph::Target::NEON ? false : (options.enable_cl_cache->is_set() ? options.enable_cl_cache->value() : true); common_params.tuner_mode = options.tuner_mode->value(); common_params.fast_math_hint = options.fast_math_hint->is_set() ? fast_math_hint_value : FastMathHint::Disabled; common_params.data_path = options.data_path->value(); diff --git a/utils/CommonGraphOptions.h b/utils/CommonGraphOptions.h index 670a3073b5..f2cbd48b72 100644 --- a/utils/CommonGraphOptions.h +++ b/utils/CommonGraphOptions.h @@ -40,7 +40,7 @@ namespace utils * * --help : Print the example's help message. * --threads : The number of threads to be used by the example during execution. - * --target : Execution target to be used by the examples. Supported target options: Neon, CL. + * --target : Execution target to be used by the examples. Supported target options: Neon, CL, CLVK. * --type : Data type to be used by the examples. Supported data type options: QASYMM8, F16, F32. * --layout : Data layout to be used by the examples. Supported data layout options : NCHW, NHWC. * --enable-tuner : Toggle option to enable the OpenCL dynamic tuner. |