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

Этот коммит содержится в:
Maneesh Gupta
2016-05-20 13:03:42 -04:00
коммит произвёл Gerrit Code Review
родитель 65357e6700 a42b0f5909
Коммит 7e15de2126
+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