From d7c59e29928f86fadde8fb9b80749a2bc84ef5a5 Mon Sep 17 00:00:00 2001 From: Nicholas Malaya Date: Wed, 17 Oct 2018 13:49:47 -0500 Subject: [PATCH] Update hip_porting_guide.md Adding hyperlink to bin/hipconvertinplace.sh [ROCm/hip commit: d9e03872ab316ccd83058094339dc0f3ab85cee9] --- projects/hip/docs/markdown/hip_porting_guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/hip/docs/markdown/hip_porting_guide.md b/projects/hip/docs/markdown/hip_porting_guide.md index 2487d16e09..976a0a61d6 100644 --- a/projects/hip/docs/markdown/hip_porting_guide.md +++ b/projects/hip/docs/markdown/hip_porting_guide.md @@ -54,7 +54,7 @@ and provides practical suggestions on how to port CUDA code and work through com - Starting the port on a Cuda machine is often the easiest approach, since you can incrementally port pieces of the code to HIP while leaving the rest in Cuda. (Recall that on Cuda machines HIP is just a thin layer over Cuda, so the two code types can interoperate on nvcc platforms.) Also, the HIP port can be compared with the original Cuda code for function and performance. - Once the Cuda code is ported to HIP and is running on the Cuda machine, compile the HIP code using hcc on an AMD machine. - HIP ports can replace Cuda versions---HIP can deliver the same performance as a native Cuda implementation, with the benefit of portability to both Nvidia and AMD architectures as well as a path to future C++ standard support. You can handle platform-specific features through conditional compilation or by adding them to the open-source HIP infrastructure. -- Use **bin/hipconvertinplace.sh** to hipify all code files in the Cuda source directory. +- Use **[bin/hipconvertinplace.sh](https://github.com/ROCm-Developer-Tools/HIP/blob/master/bin/hipconvertinplace.sh)** to hipify all code files in the Cuda source directory. ### Scanning existing CUDA code to scope the porting effort The hipexamine.sh tool will scan a source directory to determine which files contain CUDA code and how much of that code can be automatically hipified,