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
родитель f7a000bf5b 52f7a44d29
Коммит 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