Merge "Add hipSetDeviceFlags implementation for NVCC" into amd-master

[ROCm/clr commit: 7e15de2126]
此提交包含在:
Maneesh Gupta
2016-05-20 13:03:42 -04:00
提交者 Gerrit Code Review
當前提交 d1c47f5587
+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