provides a convenience interface for managing a set of workspace certificates in GPU memory, and dispatching brute force CUDA searches on that point set
More...
#include <mpblocks/cuda_cert/CertSet.h>
|
void | allocate (uint_t nV, uint_t nF, uint_t nOut) |
| reallocates device storage for a certificates set of size n with nV vertices and nF faces More...
|
|
| CertSet (uint_t nV=10, uint_t nF=10, uint_t nOut=100) |
|
void | clear (bool clearmem=false) |
| clear the database and reset input iterator More...
|
|
void | computeGrid (uint_t cert, uint_t &blocks, uint_t &threads) |
| compute the grid size given the current configuration and size of the point set More...
|
|
void | config () |
| retreives device properties of the current device, used to calculate kernel peramaters, call once after setting the cuda device and before launching any kernels More...
|
|
void | config (int dev) |
| retreives device properties of the specified device, used to calculate kernel peramaters, call once after setting the cuda device and before launching any kernels More...
|
|
void | deallocate () |
| deallocate and zero out pointers More...
|
|
void | finish () |
| finish writing the current ceritficate volume More...
|
|
void | insert_face (float f[4]) |
| insert a face into the face set More...
|
|
void | insert_vertex (float v[3]) |
| insert a vertex into the vertex set More...
|
|
| ~CertSet () |
|
provides a convenience interface for managing a set of workspace certificates in GPU memory, and dispatching brute force CUDA searches on that point set
Definition at line 67 of file CertSet.h.
mpblocks::cuda_cert::CertSet::CertSet |
( |
uint_t |
nV = 10 , |
|
|
uint_t |
nF = 10 , |
|
|
uint_t |
nOut = 100 |
|
) |
| |
mpblocks::cuda_cert::CertSet::~CertSet |
( |
| ) |
|
reallocates device storage for a certificates set of size n with nV vertices and nF faces
void mpblocks::cuda_cert::CertSet::clear |
( |
bool |
clearmem = false | ) |
|
clear the database and reset input iterator
void mpblocks::cuda_cert::CertSet::computeGrid |
( |
uint_t |
cert, |
|
|
uint_t & |
blocks, |
|
|
uint_t & |
threads |
|
) |
| |
compute the grid size given the current configuration and size of the point set
void mpblocks::cuda_cert::CertSet::config |
( |
| ) |
|
retreives device properties of the current device, used to calculate kernel peramaters, call once after setting the cuda device and before launching any kernels
void mpblocks::cuda_cert::CertSet::config |
( |
int |
dev | ) |
|
retreives device properties of the specified device, used to calculate kernel peramaters, call once after setting the cuda device and before launching any kernels
void mpblocks::cuda_cert::CertSet::deallocate |
( |
| ) |
|
deallocate and zero out pointers
void mpblocks::cuda_cert::CertSet::finish |
( |
| ) |
|
finish writing the current ceritficate volume
void mpblocks::cuda_cert::CertSet::insert_face |
( |
float |
f[4] | ) |
|
insert a face into the face set
void mpblocks::cuda_cert::CertSet::insert_vertex |
( |
float |
v[3] | ) |
|
insert a vertex into the vertex set
uint_t mpblocks::cuda_cert::CertSet::m_allocF |
size of the face set allocated
Definition at line 71 of file CertSet.h.
uint_t mpblocks::cuda_cert::CertSet::m_allocV |
size of the vertex set allocated
Definition at line 70 of file CertSet.h.
CertDef mpblocks::cuda_cert::CertSet::m_cert |
current cert being written
Definition at line 89 of file CertSet.h.
std::vector<CertDef> mpblocks::cuda_cert::CertSet::m_certs |
float* mpblocks::cuda_cert::CertSet::m_g_dbg |
float* mpblocks::cuda_cert::CertSet::m_g_inF |
kernel input buffer
Definition at line 80 of file CertSet.h.
float* mpblocks::cuda_cert::CertSet::m_g_inV |
kernel input buffer
Definition at line 79 of file CertSet.h.
int* mpblocks::cuda_cert::CertSet::m_g_out |
kernel output buffer
Definition at line 81 of file CertSet.h.
uint_t mpblocks::cuda_cert::CertSet::m_nF |
number of faces so far
Definition at line 74 of file CertSet.h.
uint_t mpblocks::cuda_cert::CertSet::m_nOut |
size of output buffer
Definition at line 82 of file CertSet.h.
uint_t mpblocks::cuda_cert::CertSet::m_nSM |
number of multiprocessors
Definition at line 87 of file CertSet.h.
uint_t mpblocks::cuda_cert::CertSet::m_nV |
number of vertices so far
Definition at line 73 of file CertSet.h.
uint_t mpblocks::cuda_cert::CertSet::m_pitchF |
row-pitch of buffers (in bytes)
Definition at line 77 of file CertSet.h.
uint_t mpblocks::cuda_cert::CertSet::m_pitchV |
row-pitch of buffers (in bytes)
Definition at line 76 of file CertSet.h.
uint_t mpblocks::cuda_cert::CertSet::m_threadsPerBlock |
maximum threads per block
Definition at line 86 of file CertSet.h.
The documentation for this class was generated from the following file: