This is a copy of the InfiniTAM v2 code base with modifications to add OpenCL kernels. The OpenCL kernels are designed to be compiled on FPGA, if possible on an FPGA SoC board with shared memory.
The CMakeFiles.txt has been modified to add the following variables:
- USE_ALTERA_OPENCL: Link against the Intel/Altera OpenCL libraries
- WITH_NETWORK: Enable a module that can send a result image through the network.
- WITH_OPENCL: Enable OpenCL support
- WITH_OPENCL_DEBUG: Replace shared memory access by memory copy between device and host. Note that these copies are not well optimized and slow down the application.
mkdir build
cd build
Recommended: use ccmake ..
or cmake-gui ..
to setup the variables mentioned aboved.
Otherwise, at minimum: cmake -DCMAKE_BUILD_TYPE=Release ..