Lines Matching refs:host_ptr
1268 * return a new pointer accessible by the @p agents. If the @p host_ptr overlaps with previously
1270 * this case, the same input @p host_ptr may give different locked @p agent_ptr and when it does,
1274 * @param[in] host_ptr A buffer allocated by C/C++ or OS allocator.
1278 * @param[in] agents Array of agent handle to gain access to the @p host_ptr.
1280 * in the platform will gain access to the @p host_ptr.
1295 * @retval ::HSA_STATUS_ERROR_INVALID_ARGUMENT @p size is 0 or @p host_ptr or
1299 hsa_status_t HSA_API hsa_amd_memory_lock(void* host_ptr, size_t size,
1306 * return a new pointer accessible by the @p agents. If the @p host_ptr overlaps with previously
1308 * In this case, the same input @p host_ptr may give different locked @p agent_ptr and when it
1315 * @param[in] host_ptr A buffer allocated by C/C++ or OS allocator.
1319 * @param[in] agents Array of agent handle to gain access to the @p host_ptr.
1321 * in the platform will gain access to the @p host_ptr.
1344 * @retval ::HSA_STATUS_ERROR_INVALID_ARGUMENT @p size is 0 or @p host_ptr or
1348 hsa_status_t HSA_API hsa_amd_memory_lock_to_pool(void* host_ptr, size_t size, hsa_agent_t* agents,
1360 * @param[in] host_ptr A buffer allocated by C/C++ or OS allocator that was
1368 hsa_status_t HSA_API hsa_amd_memory_unlock(void* host_ptr);