BlosSOM
Interactive dimensionality reduction on large datasets (EmbedSOM and FLOWER combined)
Macros
embedsom_cuda.cpp File Reference
#include "embedsom_cuda.h"
#include "cuda_runtime.h"
Include dependency graph for embedsom_cuda.cpp:

Go to the source code of this file.

Macros

#define size_check(tgt, cur, buffer, type)
 

Macro Definition Documentation

◆ size_check

#define size_check (   tgt,
  cur,
  buffer,
  type 
)
Value:
if (tgt > cur) { \
if (buffer) \
cudaFree(buffer); \
CUCH(cudaMalloc(&buffer, tgt * sizeof(type))); \
cur = tgt; \
}