Comhaid
rocm-systems/projects/clr/opencl
Alex Xie 02e1bd7d51 Move rocm include directory to the end of the list for include files
Fix compile error.

Before this change, there is compile error in my build computer. The cause is that /opt/rocm/include has an older version of CL header files.
When compiling, we should use header files from this opencl source code folders first.

This fix changes the order of include directories. Search the header files inside this opencl source code folders first.

Change-Id: I3420a634ed9e1b38b8e5201a0a39a36d61f97986


[ROCm/clr commit: a400051d3a]
2020-05-22 11:57:34 -04:00
..
2020-05-19 21:41:16 -04:00
2020-03-06 14:01:21 -05:00
2020-04-17 14:28:24 -04:00
2020-04-10 15:45:27 -04:00

ROCm OpenCL™ Runtime

Please build/install ROCclr first.

Please view build steps here: https://github.com/ROCm-Developer-Tools/ROCclr

Building OpenCL

cd $OPENCL_DIR

mkdir -p build; cd build

cmake -DVDI_DIR="$VDI_DIR" -DLIBVDI_STATIC_DIR="$VDI_DIR/build" ..

make