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]
Bu işleme şunda yer alıyor:
Tim
2024-10-01 09:30:27 -04:00
ebeveyn f014c03f30
işleme 7b27294298
2 değiştirilmiş dosya ile 6 ekleme ve 6 silme
+4 -4
Dosyayı Görüntüle
@@ -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
Dosyayı Görüntüle
@@ -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) \