aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/CL/CLHelpers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/CL/CLHelpers.cpp')
-rw-r--r--src/runtime/CL/CLHelpers.cpp4
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