Fix compiler warning on NVCC path (#1942)

GCC emits a warning about using static functions like
hipCUDAErrorTohipError inside this function, because it has an
inline directive, but it's not static. Adding static to this function
to silence warnings (and prevent potential problems in the future).
이 커밋은 다음에 포함됨:
Joseph Greathouse 작성하고 GitHub가 2020-03-17 14:02:59 +05:30를 커밋함
1 부모 4128d68ed7
커밋 f7e85649f4
1 파일이 변경됨
+1 -1
+1 -1
파일 보기
@@ -861,7 +861,7 @@ inline static hipError_t hipMemcpy(void* dst, const void* src, size_t sizeBytes,
}
inline hipError_t hipMemcpyWithStream(void* dst, const void* src,
inline static hipError_t hipMemcpyWithStream(void* dst, const void* src,
size_t sizeBytes, hipMemcpyKind copyKind,
hipStream_t stream) {
cudaError_t error = cudaMemcpyAsync(dst, src, sizeBytes,