|
BlosSOM
Interactive dimensionality reduction on large datasets (EmbedSOM and FLOWER combined)
|
Data context wrapper for CUDA EmbedSOM. More...
#include <embedsom_cuda.h>

Public Member Functions | |
| EmbedSOMCUDAContext () | |
| ~EmbedSOMCUDAContext () | |
| void | run (size_t n, size_t g, size_t d, float boost, size_t k, float adjust, const float *hidim_points, const float *hidim_landmarks, const float *lodim_landmarks, float *lodim_points) |
| Run EmbedSOM on the given data. More... | |
Public Attributes | |
| size_t | ndata |
| size_t | nlm_hi |
| size_t | nlm_lo |
| size_t | npoints |
| size_t | nknns |
| float * | data |
| float * | lm_hi |
| float * | lm_lo |
| float * | points |
| knn_entry< float > * | knns |
Private Member Functions | |
| void | runKNNKernel (size_t d, size_t n, size_t g, size_t adjusted_k) |
| Execute the CUDA kNN within the context. More... | |
| void | runProjectionKernel (size_t d, size_t n, size_t g, size_t k, float boost, float adjust) |
| Execute the CUDA projection kernel atop the context. More... | |
Data context wrapper for CUDA EmbedSOM.
A compound "context" object for the EmbedSOM computation in CUDA, mainly holding some required preallocated memory buffers.
Definition at line 49 of file embedsom_cuda.h.
|
inline |
Definition at line 56 of file embedsom_cuda.h.
| EmbedSOMCUDAContext::~EmbedSOMCUDAContext | ( | ) |
Definition at line 106 of file embedsom_cuda.cpp.
| void EmbedSOMCUDAContext::run | ( | size_t | n, |
| size_t | g, | ||
| size_t | d, | ||
| float | boost, | ||
| size_t | k, | ||
| float | adjust, | ||
| const float * | hidim_points, | ||
| const float * | hidim_landmarks, | ||
| const float * | lodim_landmarks, | ||
| float * | lodim_points | ||
| ) |
Run EmbedSOM on the given data.
Definition at line 35 of file embedsom_cuda.cpp.

|
private |
Execute the CUDA kNN within the context.
Definition at line 246 of file embedsom_cuda_knn.cu.

|
private |
Execute the CUDA projection kernel atop the context.
Definition at line 728 of file embedsom_cuda_projection.cu.

| float* EmbedSOMCUDAContext::data |
Definition at line 53 of file embedsom_cuda.h.
| knn_entry<float>* EmbedSOMCUDAContext::knns |
Definition at line 54 of file embedsom_cuda.h.
| float * EmbedSOMCUDAContext::lm_hi |
Definition at line 53 of file embedsom_cuda.h.
| float * EmbedSOMCUDAContext::lm_lo |
Definition at line 53 of file embedsom_cuda.h.
| size_t EmbedSOMCUDAContext::ndata |
Definition at line 51 of file embedsom_cuda.h.
| size_t EmbedSOMCUDAContext::nknns |
Definition at line 51 of file embedsom_cuda.h.
| size_t EmbedSOMCUDAContext::nlm_hi |
Definition at line 51 of file embedsom_cuda.h.
| size_t EmbedSOMCUDAContext::nlm_lo |
Definition at line 51 of file embedsom_cuda.h.
| size_t EmbedSOMCUDAContext::npoints |
Definition at line 51 of file embedsom_cuda.h.
| float * EmbedSOMCUDAContext::points |
Definition at line 53 of file embedsom_cuda.h.