diff options
author | John Kesapides <john.kesapides@arm.com> | 2019-02-15 16:33:48 +0000 |
---|---|---|
committer | Pablo Marquez <pablo.tello@arm.com> | 2019-02-18 09:38:55 +0000 |
commit | 453ef521926e47d5a65b576da48288a6aa27e813 (patch) | |
tree | e825bdce8e0285959ff001af7178584013d8e905 | |
parent | 0a1090a193139129b2433688ade53fb2689169a7 (diff) | |
download | ComputeLibrary-453ef521926e47d5a65b576da48288a6aa27e813.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 |