Add hipSetDeviceFlags implementation for NVCC

Change-Id: Id19e965950b728cfe0a514e6cdf65a191d063c10


[ROCm/clr commit: a42b0f5909]
此提交包含在:
Maneesh Gupta
2016-05-20 12:39:02 +05:30
父節點 a34e3be329
當前提交 52f7a44d29
+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 ));
};
inline static hipError_t hipSetDeviceFlags (unsigned int flags)
{
return hipCUDAErrorTohipError(cudaSetDeviceFlags( flags ));
}
#ifdef __cplusplus