Add hipSetDeviceFlags implementation for NVCC

Change-Id: Id19e965950b728cfe0a514e6cdf65a191d063c10


[ROCm/hip commit: 0452d7c1af]
Этот коммит содержится в:
Maneesh Gupta
2016-05-20 12:39:02 +05:30
родитель 760c8c4990
Коммит 6fdad8a80d
+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