Files
rocm-systems/samples/2_Cookbook/14_gpu_arch/Readme.md
T
Rahul Manocha 76dd8ea569 SWDEV-436821 Update hip samples Readme files
Change-Id: I6bf3a72eac4a4242cb2dbf4e6eee73e0e1bef2ef
2023-12-21 14:20:44 -05:00

15 rivejä
234 B
Markdown

# 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