From e410cb47bd6807f333c8d7a9060b242c0ebaeb2f Mon Sep 17 00:00:00 2001 From: Rahul Garg Date: Sun, 29 Sep 2019 22:10:01 -0700 Subject: [PATCH] [docs] Fix sample links in hip_profiling (#1472) [ROCm/clr commit: 9816122a62ba25459360b17e9890c9a74f3d4b8b] --- projects/clr/hipamd/docs/markdown/hip_profiling.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/clr/hipamd/docs/markdown/hip_profiling.md b/projects/clr/hipamd/docs/markdown/hip_profiling.md index a659216044..8a44368680 100644 --- a/projects/clr/hipamd/docs/markdown/hip_profiling.md +++ b/projects/clr/hipamd/docs/markdown/hip_profiling.md @@ -130,7 +130,7 @@ void FunctionFoo(...) The HIP marker API is only supported on ROCm platform. The marker macros are defined on CUDA platforms and will compile, but are silently ignored at runtime. -This [HIP sample](samples/2_Cookbook/2_Profiler/) shows the profiler marker API used in a small application. +This [HIP sample](https://github.com/ROCm-Developer-Tools/HIP/tree/master/samples/2_Cookbook/2_Profiler) shows the profiler marker API used in a small application. More information on the marker API can be found in the profiler header file and PDF in a ROCm installation: - /opt/rocm/profiler/CXLActivityLogger/include/CXLActivityLogger.h @@ -236,7 +236,7 @@ Here's an example for one API followed by a description for the sections of the - The second line shows the completion of the API, including the numeric return value (`ret= 0`) as well as an string representation for the error code (`hipSuccess`). If the returned error code is non-zero, then the csecond line message is shown in red (unless HIP_TRACE_API_COLOR is "none" - see below). -Heres a specific example showing the output of the [square](samples/0_Intro/square) program running on HIP: +Heres a specific example showing the output of the [square](https://github.com/ROCm-Developer-Tools/HIP/tree/master/samples/0_Intro/square) program running on HIP: ``` $ HIP_TRACE_API=1 ./square.hip.out