Apollo 11.0
自动驾驶开放平台
common.h 文件参考

MACRO for CUDA codes 更多...

#include <stdio.h>
#include <cuda_runtime_api.h>
common.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

命名空间

namespace  apollo
 class register implement
 
namespace  apollo::perception
 apollo::perception
 
namespace  apollo::perception::lidar
 

宏定义

#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__); }
 

函数

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

详细描述

MACRO for CUDA codes

作者
Kosuke Murakami
日期
2019/02/26

在文件 common.h 中定义.

宏定义说明

◆ DIVUP

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

在文件 common.h 第 76 行定义.

◆ GPU_CHECK

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

在文件 common.h 第 78 行定义.

79 { GPUAssert((ans), __FILE__, __LINE__); }

◆ NUM_2D_BOX_CORNERS_MACRO

#define NUM_2D_BOX_CORNERS_MACRO   4

在文件 common.h 第 73 行定义.

◆ NUM_3D_BOX_CORNERS_MACRO

#define NUM_3D_BOX_CORNERS_MACRO   8

在文件 common.h 第 72 行定义.

◆ NUM_THREADS_MACRO

#define NUM_THREADS_MACRO   64

在文件 common.h 第 74 行定义.