76dd8ea569
Change-Id: I6bf3a72eac4a4242cb2dbf4e6eee73e0e1bef2ef
21 lines
468 B
Markdown
21 lines
468 B
Markdown
# texture_driver
|
|
|
|
- Build the sample using cmake
|
|
```
|
|
$ mkdir build; cd build
|
|
$ cmake .. -DCMAKE_PREFIX_PATH=/opt/rocm
|
|
$ make
|
|
```
|
|
- Execute the sample
|
|
```
|
|
$ ./texture2dDrv
|
|
tex2dKernelChar test PASSED ...
|
|
tex2dKernelShort test PASSED ...
|
|
tex2dKernelInt test PASSED ...
|
|
tex2dKernelFloat test PASSED ...
|
|
tex2dKernelChar4 test PASSED ...
|
|
tex2dKernelShort4 test PASSED ...
|
|
tex2dKernelInt4 test PASSED ...
|
|
tex2dKernelFloat4 test PASSED ...
|
|
texture2dDrv PASSED ...
|
|
``` |