From ef382fdb19fb1d453e72166dc8b511858cdf5159 Mon Sep 17 00:00:00 2001 From: John Kesapides Date: Fri, 15 Feb 2019 16:33:48 +0000 Subject: COMPMID-1710 fix CL context creation Change-Id: I7171ea887ae01e3f505bf5a5760d0d7d882b9916 Signed-off-by: John Kesapides Reviewed-on: https://review.mlplatform.org/711 Reviewed-by: Michele Di Giorgio Reviewed-by: Pablo Marquez Tested-by: Arm Jenkins --- src/runtime/CL/CLHelpers.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/runtime/CL/CLHelpers.cpp b/src/runtime/CL/CLHelpers.cpp index 449d7d5a6c..533e6fabfa 100644 --- a/src/runtime/CL/CLHelpers.cpp +++ b/src/runtime/CL/CLHelpers.cpp @@ -65,7 +65,7 @@ void initialise_context_properties(const cl::Platform &platform, const cl::Devic CL_PRINTF_BUFFERSIZE_ARM, 0x1000, 0 }; - std::copy_n(prop, 7, properties_printf); + std::copy_n(properties_printf, 7, prop); } else #endif // defined(ARM_COMPUTE_ASSERTS_ENABLED) @@ -75,7 +75,7 @@ void initialise_context_properties(const cl::Platform &platform, const cl::Devic CL_CONTEXT_PLATFORM, reinterpret_cast(platform()), 0 }; - std::copy_n(prop, 3, properties); + std::copy_n(properties, 3, prop); }; } } //namespace -- cgit v1.2.1