a400051d3a
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 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