This should build and run the EP benchmark: make veryclean make ep CLASS=A cd bin ./run_ocl_gpu.sh ep A If that doesn't work, you might have to edit config/make.def first to make it link to -lOpenCL.