diff options
author | Giorgio Arena <giorgio.arena@arm.com> | 2019-07-26 15:54:20 +0100 |
---|---|---|
committer | Giorgio Arena <giorgio.arena@arm.com> | 2019-07-30 11:32:26 +0000 |
commit | 5d42b4635f60b57a81b702d924a6e9b5b7cfbc01 (patch) | |
tree | 3347afbabd456bfc5ef9d801ababf474db6eb7f6 /src/runtime/CL/CLTuner.cpp | |
parent | cf3abde6c44177b6db438ecfcdac3d3594d74488 (diff) | |
download | ComputeLibrary-5d42b4635f60b57a81b702d924a6e9b5b7cfbc01.tar.gz |
COMPMID-2467 Include IP information to the tuning config
Change-Id: I00e29f30eda0edc76ae393bef14f0092e57a5195
Signed-off-by: Giorgio Arena <giorgio.arena@arm.com>
Reviewed-on: https://review.mlplatform.org/c/1634
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/runtime/CL/CLTuner.cpp')
-rw-r--r-- | src/runtime/CL/CLTuner.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/runtime/CL/CLTuner.cpp b/src/runtime/CL/CLTuner.cpp index 2c3f9ce33e..a079503671 100644 --- a/src/runtime/CL/CLTuner.cpp +++ b/src/runtime/CL/CLTuner.cpp @@ -76,11 +76,11 @@ void CLTuner::tune_kernel_static(ICLKernel &kernel) void CLTuner::tune_kernel_dynamic(ICLKernel &kernel) { - // Get the configuration ID from the kernel - const std::string &config_id = kernel.config_id(); + // Get the configuration ID from the kernel and append GPU target name and number of available compute units + const std::string config_id = kernel.config_id() + "_" + string_from_target(kernel.get_target()) + "_MP" + support::cpp11::to_string(CLKernelLibrary::get().get_num_compute_units()); - // Check if we need to find the Optimal LWS. If config_id is equal to default_config_id, the kernel does not require to be tuned - if(config_id != arm_compute::default_config_id) + // Check if we need to find the Optimal LWS. If the kernel's config_id is equal to default_config_id, the kernel does not require to be tuned + if(kernel.config_id() != arm_compute::default_config_id) { auto p = _lws_table.find(config_id); |