local changes for hipnccl

Change-Id: I05a1f0381ce2914a800f573342cc954eb5ff82d9


[ROCm/hip commit: eba2595611]
This commit is contained in:
pensun
2016-12-01 13:51:58 -06:00
parent 1c91897cb8
commit 2b557e949e
3 changed files with 68 additions and 5 deletions
+15
View File
@@ -1034,3 +1034,18 @@ hipError_t hipMemGetAddressRange ( hipDeviceptr_t* pbase, size_t* psize, hipDevi
hipStatus = hipErrorInvalidDevicePointer;
return hipStatus;
}
//TODO: IPC implementaiton:
hipError_t hipIpcGetMemHandle(hipIpcMemHandle_t* handle, void* devPtr){
return hipSuccess;
}
hipError_t hipIpcCloseMemHandle(void *devPtr){
return hipSuccess;
}
hipError_t hipIpcOpenEventHandle(hipEvent_t* event, hipIpcEventHandle_t handle){
return hipSuccess;
}
hipError_t hipIpcOpenMemHandle(void** devPtr, hipIpcMemHandle_t handle, unsigned int flags){
return hipSuccess;
}