Fix Issue [SWDEV-485618]: README Outdated: Include File

Changes to the README.md:
-Fixed the dead links in the examples.
-Updated the example to point to the ones in roctracer_spec.md instead of tests.

Changes to the roctracer_spec.md:
-Changed #include from #include <*.h> to #include <roctracer/*.h> to
reflect the latest code structure.

Change-Id: Iab44fc327821c1a01f0b949d3c9a3c20ca587599


[ROCm/roctracer commit: 725d289a2b]
이 커밋은 다음에 포함됨:
Tim가 2024-10-01 09:52:09 -04:00를 커밋했습니다
1 부모 f014c03f30
커밋 7b27294298
2 파일이 변경됨
+6 -6

검색과 일치하는 파일 없음

+4 -4
파일 보기
@@ -32,7 +32,7 @@ To use the rocTracer API you need the API header and to link your application wi
To use the rocTX API you need the API header and to link your application with `roctx` .so library:
- `/opt/rocm/roctracer/include/roctx.h`
- `/opt/rocm/include/roctracer/roctx.h`
API header.
@@ -52,7 +52,7 @@ To use the rocTX API you need the API header and to link your application with `
- `roctracer.h`
`rocTacer` library public API header.
`rocTracer` library public API header.
- `roctx.h`
@@ -87,8 +87,8 @@ To use the rocTX API you need the API header and to link your application with `
- API description:
- ['roctracer' / 'rocTX' profiling C API specification](doc/roctracer_spec.md)
- Code examples:
- [test/MatrixTranspose_test/MatrixTranspose.cpp](testMatrixTranspose_test/MatrixTranspose.cpp)
- [test/MatrixTranspose/MatrixTranspose.cpp](test/MatrixTranspose/MatrixTranspose.cpp)
- [HIP API ops, GPU Activity Tracing](doc/roctracer_spec.md#41-hip-api-ops-gpu-activity-tracing)
- [MatrixTranspose HIP sample with all APIs/activity tracing enabled](doc/roctracer_spec.md#42-matrixtranspose-hip-sample-with-all-apisactivity-tracing-enabled)
## Build and run tests
+2 -2
파일 보기
@@ -389,7 +389,7 @@ void roctracer_stop();
## 4. rocTracer Usage Code Examples
### 4.1. HIP API ops, GPU Activity Tracing
```
#include <roctracer_hip.h>
#include <roctracer/roctracer_hip.h>
// HIP API callback function
void hip_api_callback(
@@ -609,7 +609,7 @@ int main() {
/////////////////////////////////////////////////////////////////////////////
// HIP Callbacks/Activity tracing
/////////////////////////////////////////////////////////////////////////////
#include <roctracer_hip.h>
#include <roctracer/roctracer_hip.h>
// Macro to check ROC-tracer calls status
#define ROCTRACER_CALL(call) \