mirror of
https://github.com/zebrajr/pytorch.git
synced 2026-01-15 12:15:51 +00:00
[ROCm] Fix HIP document url. (#168220)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/168220 Approved by: https://github.com/jeffdaily
This commit is contained in:
committed by
PyTorch MergeBot
parent
2eccaf9ca5
commit
4887c46900
@@ -17,8 +17,13 @@ std::string get_cuda_error_help(cudaError_t error) noexcept {
|
||||
default:
|
||||
help_text.append("\nSearch for `")
|
||||
.append(cudaGetErrorName(error))
|
||||
#if defined(USE_ROCM)
|
||||
.append(
|
||||
"' in https://rocm.docs.amd.com/projects/HIP/en/latest/index.html for more information.");
|
||||
#else
|
||||
.append(
|
||||
"' in https://docs.nvidia.com/cuda/cuda-runtime-api/group__CUDART__TYPES.html for more information.");
|
||||
#endif
|
||||
break;
|
||||
}
|
||||
return help_text;
|
||||
|
||||
Reference in New Issue
Block a user