Files
rocm-systems/samples/2_Cookbook/14_gpu_arch/Readme.md
T

15 lines
234 B
Markdown
Raw Normal View History

# 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