doe300 / VC4CL

OpenCL implementation running on the VideoCore IV GPU of the Raspberry Pi models
MIT License
729 stars 81 forks source link

`MOCK_HAL` should take precedence when building #68

Closed kernhanda closed 5 years ago

kernhanda commented 5 years ago

When configuring the CMake build with cmake .. -DMOCK_HAL=ON, the emulation layer isn't built because the presence of /opt/vc/include/bcm_host.h is detected.

You can verify this by running strings ./src/libVC4CL.so | grep -i emulated on the built binary.

doe300 commented 5 years ago

Good catch, thanks