| 2213 | } |
| 2214 | |
| 2215 | void testKernelSetSVMPointersEmptyArray(void) |
| 2216 | { |
| 2217 | #if CL_HPP_TARGET_OPENCL_VERSION >= 200 |
| 2218 | clSetKernelExecInfo_ExpectAndReturn(make_kernel(0), |
| 2219 | CL_KERNEL_EXEC_INFO_SVM_PTRS, |
| 2220 | 0, nullptr, CL_SUCCESS); |
| 2221 | |
| 2222 | std::array<void*, 0> arr; |
| 2223 | cl_int ret = kernelPool[0].setSVMPointers<0>(arr); |
| 2224 | |
| 2225 | TEST_ASSERT_EQUAL_HEX(CL_SUCCESS, ret); |
| 2226 | #endif |
| 2227 | } |
| 2228 | |
| 2229 | cl_int clSetKernelExecInfo_EnableFineGrainedSystemSVM(cl_kernel kernel, |
| 2230 | cl_kernel_exec_info param_name, |
nothing calls this directly
no test coverage detected