SWDEV-351966 - Dispatch table for hip runtime
Change-Id: Ie4a44fa8cf1ff9c152146070bbbf6b0636d4e325
This commit is contained in:
committed by
Anusha Godavarthy Surya
parent
ae8d3a6a4e
commit
5e21f0c6bd
@@ -28,11 +28,10 @@
|
||||
#endif
|
||||
|
||||
// ================================================================================================
|
||||
namespace hip {
|
||||
|
||||
hipError_t ihipEventCreateWithFlags(hipEvent_t* event, unsigned flags);
|
||||
|
||||
namespace hip {
|
||||
|
||||
bool IPCEvent::createIpcEventShmemIfNeeded() {
|
||||
if (ipc_evt_.ipc_shmem_) {
|
||||
// ipc_shmem_ already created, no need to create it again
|
||||
@@ -219,8 +218,6 @@ hipError_t IPCEvent::OpenHandle(ihipIpcEventHandle_t* handle) {
|
||||
return status;
|
||||
}
|
||||
|
||||
} // namespace hip
|
||||
|
||||
// ================================================================================================
|
||||
|
||||
hipError_t hipIpcGetEventHandle(hipIpcEventHandle_t* handle, hipEvent_t event) {
|
||||
@@ -248,3 +245,4 @@ hipError_t hipIpcOpenEventHandle(hipEvent_t* event, hipIpcEventHandle_t handle)
|
||||
ihipIpcEventHandle_t* iHandle = reinterpret_cast<ihipIpcEventHandle_t*>(&handle);
|
||||
HIP_RETURN(e->OpenHandle(iHandle));
|
||||
}
|
||||
} // namespace hip
|
||||
|
||||
Reference in New Issue
Block a user