Home
last modified time | relevance | path

Searched refs:tempHostPtr (Results 1 – 1 of 1) sorted by relevance

/external/llvm-project/openmp/libomptarget/plugins/amdgpu/impl/
Datmi.cpp88 void *tempHostPtr; in atmi_memcpy_h2d() local
90 atmi_status_t ret = atmi_malloc(&tempHostPtr, size, CPU); in atmi_memcpy_h2d()
96 std::unique_ptr<void, atmiFreePtrDeletor> del(tempHostPtr); in atmi_memcpy_h2d()
97 memcpy(tempHostPtr, hostSrc, size); in atmi_memcpy_h2d()
99 if (invoke_hsa_copy(signal, deviceDest, tempHostPtr, size, agent) != in atmi_memcpy_h2d()
118 void *tempHostPtr; in atmi_memcpy_d2h() local
120 atmi_status_t ret = atmi_malloc(&tempHostPtr, size, CPU); in atmi_memcpy_d2h()
126 std::unique_ptr<void, atmiFreePtrDeletor> del(tempHostPtr); in atmi_memcpy_d2h()
128 if (invoke_hsa_copy(signal, tempHostPtr, deviceSrc, size, agent) != in atmi_memcpy_d2h()
133 memcpy(dest, tempHostPtr, size); in atmi_memcpy_d2h()