SWDEV-436821 Update hip samples Readme files

Change-Id: I6bf3a72eac4a4242cb2dbf4e6eee73e0e1bef2ef
This commit is contained in:
Rahul Manocha
2023-12-11 03:43:30 +00:00
parent f5deb13ce3
commit 76dd8ea569
29 changed files with 471 additions and 237 deletions
+15
View File
@@ -0,0 +1,15 @@
# gpu_arch
- Build the sample using cmake
```
$ mkdir build; cd build
$ cmake .. -DCMAKE_PREFIX_PATH=/opt/rocm
$ make
```
- Execute the sample
```
$ ./gpuarch
success
```
## Note : This sample works on architectures gfx908 and above