| 3603 | } |
| 3604 | |
| 3605 | void testEnqueueMapSVM(void) |
| 3606 | { |
| 3607 | #if CL_HPP_TARGET_OPENCL_VERSION >= 200 |
| 3608 | std::vector<int> vec(7); |
| 3609 | clEnqueueSVMMap_ExpectAndReturn(commandQueuePool[0].get(), CL_TRUE, CL_MAP_READ|CL_MAP_WRITE, static_cast<void*>(vec.data()), vec.size()*sizeof(int), 0, nullptr, nullptr, CL_SUCCESS); |
| 3610 | TEST_ASSERT_EQUAL(commandQueuePool[0].enqueueMapSVM(vec, CL_TRUE, CL_MAP_READ|CL_MAP_WRITE), CL_SUCCESS); |
| 3611 | #endif |
| 3612 | } |
| 3613 | |
| 3614 | void testMapSVM(void) |
| 3615 | { |
nothing calls this directly
no test coverage detected