SWDEV-436821 Update hip samples Readme files

Change-Id: I6bf3a72eac4a4242cb2dbf4e6eee73e0e1bef2ef
Tá an tiomantas seo le fáil i:
Rahul Manocha
2023-12-11 03:43:30 +00:00
tuismitheoir f5deb13ce3
tiomantas 76dd8ea569
D'athraigh 29 comhad le 471 breiseanna agus 237 scriosta
@@ -32,20 +32,21 @@ The macro supports specifying CLANG-specific, NVCC-specific compiler options usi
Common options targeting both compilers can be specificed after the ```HIPCC_OPTIONS``` keyword.
## How to build and run:
Use the following commands to build and execute the sample
- Build sample using cmake
```
$ mkdir build; cd build
# For shared lib of hip rt,
$ cmake ..
# Or for static lib of hip rt,
$ cmake -DCMAKE_PREFIX_PATH="/opt/rocm/llvm/lib/cmake" ..
$ make
```
mkdir build
cd build
For shared lib of hip rt,
cmake ..
Or for static lib of hip rt,
cmake -DCMAKE_PREFIX_PATH="/opt/rocm/llvm/lib/cmake" ..
Then,
make
./MatrixTranspose
- Execute the sample
```
$ ./MatrixTranspose
Device name
PASSED!
```
## More Info: