! * Specify a vector of SVM pointers that the kernel may access in * addition to its arguments. */
| 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 |
no test coverage detected