[docs] Fix sample links in hip_profiling (#1472)

[ROCm/clr commit: 9816122a62]
이 커밋은 다음에 포함됨:
Rahul Garg
2019-09-29 22:10:01 -07:00
커밋한 사람 Maneesh Gupta
부모 ce4c08dc1f
커밋 e410cb47bd
+2 -2
파일 보기
@@ -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