diff options
author | John Kesapides <john.kesapides@arm.com> | 2019-02-15 16:33:48 +0000 |
---|---|---|
committer | Georgios Pinitas <georgios.pinitas@arm.com> | 2019-02-18 13:37:15 +0000 |
commit | ef382fdb19fb1d453e72166dc8b511858cdf5159 (patch) | |
tree | 466203cfab2501a11ed74dedb1f78e163ff17968 | |
parent | e82cb042e6d53bc6870338e209e015abb426b550 (diff) | |
download | ComputeLibrary-ef382fdb19fb1d453e72166dc8b511858cdf5159.tar.gz |
COMPMID-1710 fix CL context creation
Change-Id: I7171ea887ae01e3f505bf5a5760d0d7d882b9916
Signed-off-by: John Kesapides <john.kesapides@arm.com>
Reviewed-on: https://review.mlplatform.org/711
Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com>
Reviewed-by: Pablo Marquez <pablo.tello@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
-rw-r--r-- | src/runtime/CL/CLHelpers.cpp | 4 |
1 files 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<cl_context_properties>(platform()), 0 }; - std::copy_n(prop, 3, properties); + std::copy_n(properties, 3, prop); }; } } //namespace |