Declarations of helper functions for testing. More...
#include <cassert>
#include <algorithm>
#include <functional>
#include <RBC/data_types.hpp>
#include <CL/cl.hpp>
Go to the source code of this file.
Namespaces | |
oclslam | |
Offers functions that are serial CPU implementations of the relevant algorithms in the OCLSLAM pipeline. | |
Functions | |
bool | oclslam::setProfilingFlag (int argc, char **argv) |
Checks the command line arguments for the profiling flag, --profiling . More... | |
template<typename T > | |
uint64_t | oclslam::nextPow2 (T num) |
Returns the first power of 2 greater than or equal to the input. More... | |
template<typename T > | |
void | oclslam::printBuffer (const char *title, T *ptr, uint32_t width, uint32_t height) |
Prints an array of an integer type to standard output. More... | |
template<typename T > | |
void | oclslam::printBufferF (const char *title, T *ptr, uint32_t width, uint32_t height, uint32_t prec) |
Prints an array of floating-point type to standard output. More... | |
template<typename T > | |
void | oclslam::cpuSplitPC8D (T *pc8d, T *pc3d, cl_uchar *rgb, uint32_t n) |
Splits an 8-D point cloud into 3-D coordinates (in meters) and 8-bit RGB values. More... | |
Declarations of helper functions for testing.