Files
rocm-systems/rocrtst/samples
Chris Freehill 783a28b68c Remove build of non-existent project
Change-Id: I6b2c59e67c2d2a320e705b725f8c779b9913759a
2017-08-08 10:03:36 -04:00
..
2017-05-31 09:46:06 -04:00
2017-05-31 09:47:16 -04:00
2017-05-31 09:46:06 -04:00
2017-05-11 14:45:45 -04:00


To build the sample, first export the following environment variables:

export ROCR_DIR=<root of RocR install; for RocR includes and libraries>
export OPENCL_DIR=<root of OpenCL install; for required clang and bitcode libs>
export OPENCL_VER=<OpenCL version; e.g., "2.0">
export TARGET_DEVICE=<GPU type; e.g., "gfx803" or "gfx900">

Next, do the following:
mkdir build
cd build
cmake ..

Finally, do the following to build the application and respective kernels:

make
make sample_kernels