MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / setSVMPointers

Method setSVMPointers

include/CL/opencl.hpp:5912–5920  ·  view source on GitHub ↗

! * Specify a vector of SVM pointers that the kernel may access in * addition to its arguments. */

Source from the content-addressed store, hash-verified

5910 * addition to its arguments.
5911 */
5912 cl_int setSVMPointers(const vector<void*> &pointerList)
5913 {
5914 return detail::errHandler(
5915 ::clSetKernelExecInfo(
5916 object_,
5917 CL_KERNEL_EXEC_INFO_SVM_PTRS,
5918 sizeof(void*)*pointerList.size(),
5919 pointerList.data()));
5920 }
5921
5922 /*!
5923 * Specify a std::array of SVM pointers that the kernel may access in

Callers 1

setSVMPointersMethod · 0.45

Calls 4

errHandlerFunction · 0.85
clSetKernelExecInfoFunction · 0.85
sizeMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected