Merge "Add hipSetDeviceFlags implementation for NVCC" into amd-master
[ROCm/clr commit: 7e15de2126]
This commit is contained in:
commit
d1c47f5587
1 file changed
+4
-1
@@ -430,7 +430,10 @@ inline static hipError_t hipMemcpyPeerAsync ( void* dst, int dstDevice, const v
|
|||||||
return hipCUDAErrorTohipError(cudaMemcpyPeerAsync ( dst, dstDevice, src, srcDevice, count, stream ));
|
return hipCUDAErrorTohipError(cudaMemcpyPeerAsync ( dst, dstDevice, src, srcDevice, count, stream ));
|
||||||
};
|
};
|
||||||
|
|
||||||
|
inline static hipError_t hipSetDeviceFlags (unsigned int flags)
|
||||||
|
{
|
||||||
|
return hipCUDAErrorTohipError(cudaSetDeviceFlags( flags ));
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|||||||
Reference in new issue
Block a user