ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
cuda_utils.h File Reference
#include <cmath>
Include dependency graph for cuda_utils.h:

Go to the source code of this file.

Namespaces

 cloudViewer
 Generic file read and write utility for python interface.
 
 cloudViewer::ml
 
 cloudViewer::ml::contrib
 

Macros

#define TOTAL_THREADS   1024
 
#define THREADS_PER_BLOCK   256
 
#define DIVUP(m, n)   ((m) / (n) + ((m) % (n) > 0))
 

Functions

int cloudViewer::ml::contrib::OptNumThreads (int work_size)
 
dim3 cloudViewer::ml::contrib::OptBlockConfig (int x, int y)
 

Macro Definition Documentation

◆ DIVUP

#define DIVUP (   m,
 
)    ((m) / (n) + ((m) % (n) > 0))

Definition at line 18 of file cuda_utils.h.

◆ THREADS_PER_BLOCK

#define THREADS_PER_BLOCK   256

Definition at line 17 of file cuda_utils.h.

◆ TOTAL_THREADS

#define TOTAL_THREADS   1024

Definition at line 16 of file cuda_utils.h.