Apollo  6.0
Open source self driving car software
Namespaces | Macros | Functions
common.h File Reference
#include <stdio.h>
#include <cuda_runtime_api.h>
Include dependency graph for common.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 apollo
 PlanningContext is the runtime context in planning. It is persistent across multiple frames.
 
 apollo::perception
 apollo::perception
 
 apollo::perception::lidar
 

Macros

#define NUM_3D_BOX_CORNERS_MACRO   8
 
#define NUM_2D_BOX_CORNERS_MACRO   4
 
#define NUM_THREADS_MACRO   64
 
#define DIVUP(m, n)   ((m) / (n) + ((m) % (n) > 0))
 
#define GPU_CHECK(ans)   { GPUAssert((ans), __FILE__, __LINE__); }
 

Functions

void apollo::perception::lidar::GPUAssert (cudaError_t code, const char *file, int line, bool abort=true)
 

Macro Definition Documentation

◆ DIVUP

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

◆ GPU_CHECK

#define GPU_CHECK (   ans)    { GPUAssert((ans), __FILE__, __LINE__); }

◆ NUM_2D_BOX_CORNERS_MACRO

#define NUM_2D_BOX_CORNERS_MACRO   4

◆ NUM_3D_BOX_CORNERS_MACRO

#define NUM_3D_BOX_CORNERS_MACRO   8

◆ NUM_THREADS_MACRO

#define NUM_THREADS_MACRO   64