Fixed broken HIP build on NVCC path
Change-Id: Iae9d7ba0c789475681b382c8af18bb9bd6156a52
This commit is contained in:
@@ -241,13 +241,13 @@ inline static hipError_t hipMemcpyHtoDAsync(hipDeviceptr_t dst,
|
||||
inline static hipError_t hipMemcpyDtoHAsync(void* dst,
|
||||
hipDeviceptr_t src, size_t size, hipStream_t stream)
|
||||
{
|
||||
return hipCUResultTohipError(cuMemcpyDtoH(dst, src, size, stream));
|
||||
return hipCUResultTohipError(cuMemcpyDtoH(dst, src, size));
|
||||
}
|
||||
|
||||
inline static hipError_t hipMemcpyDtoDAsync(hipDeviceptr_t dst,
|
||||
hipDeviceptr_t src, size_t size, hipStream_t stream)
|
||||
{
|
||||
return hipCUResultTohipError(cuMemcpyDtoD(dst, src, size, stream));
|
||||
return hipCUResultTohipError(cuMemcpyDtoD(dst, src, size));
|
||||
}
|
||||
|
||||
inline static hipError_t hipMemcpy(void* dst, const void* src, size_t sizeBytes, hipMemcpyKind copyKind) {
|
||||
|
||||
مرجع در شماره جدید
Block a user