diff options
author | Anthony Barbier <anthony.barbier@arm.com> | 2017-07-17 15:22:17 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-09-17 14:16:42 +0100 |
commit | 15d5ac8dd039132926ac8012559ca5e3a405f858 (patch) | |
tree | 8969385f54cc65958ed8ab3825c992a91970f486 /tests/benchmark_new/main.cpp | |
parent | 2ca209eaf3e1dee31bc2287be1f4e501697456db (diff) | |
download | ComputeLibrary-15d5ac8dd039132926ac8012559ca5e3a405f858.tar.gz |
COMPMID-415 Fix issue with OpenCL examples
Change-Id: Ie4797e88fd2ad38f30cb69651ed37481b835fae8
Reviewed-on: http://mpd-gerrit.cambridge.arm.com/80781
Reviewed-by: Moritz Pflanzer <moritz.pflanzer@arm.com>
Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Diffstat (limited to 'tests/benchmark_new/main.cpp')
-rw-r--r-- | tests/benchmark_new/main.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/benchmark_new/main.cpp b/tests/benchmark_new/main.cpp index 4c6811e372..46c51b6cfd 100644 --- a/tests/benchmark_new/main.cpp +++ b/tests/benchmark_new/main.cpp @@ -30,9 +30,9 @@ #include "support/ToolchainSupport.h" #include "tests/TensorLibrary.h" -#ifdef OPENCL +#ifdef ARM_COMPUTE_CL #include "arm_compute/runtime/CL/CLScheduler.h" -#endif /* OPENCL */ +#endif /* ARM_COMPUTE_CL */ #include "arm_compute/runtime/Scheduler.h" #include <fstream> @@ -55,9 +55,9 @@ std::unique_ptr<TensorLibrary> library; int main(int argc, char **argv) { -#ifdef OPENCL +#ifdef ARM_COMPUTE_CL CLScheduler::get().default_init(); -#endif /* OPENCL */ +#endif /* ARM_COMPUTE_CL */ framework::Framework &framework = framework::Framework::get(); |