![]() |
Fréchet View
1.6.0
A Tool for Exploring Fréchet Distance Algorithms
|
OpenCL boolean matrix data structure. Data is arranged in 32 bit words.
Words are stored in column-major order (as to optimise GPU memory access patterns).
Keeps two copies of matrix data: one in CPU memory and one in GPU memory. Methods are provided to move data back and forth.
#include <clm4rm.h>
Public Attributes | |
| rci_t | nrows |
| Number of rows. More... | |
| rci_t | padded_rows |
| Number of rows padded to a multiple of 32. More... | |
| rci_t | ncols |
| Number of columns. More... | |
| rci_t | padded_cols |
| Number of columns padded to a multiple of 64. More... | |
| rci_t | width |
| Number of words with valid bits: width = ceil(ncols / m4ri_radix) */. More... | |
| gpuword * | local_data |
| matrix data in CPU memory More... | |
| cl_mem | data |
| handle to GPU data (32-bit unsigned integers) More... | |
| cl_mem clmatrix_t::data |
| rci_t clmatrix_t::padded_cols |
| rci_t clmatrix_t::padded_rows |
| rci_t clmatrix_t::width |