|
Apollo
6.0
Open source self driving car software
|
#include <scatter_cuda.h>

Public Member Functions | |
| ScatterCuda (const int num_threads, const int grid_x_size, const int grid_y_size) | |
| Constructor. More... | |
| void | DoScatterCuda (const int pillar_count, int *x_coors, int *y_coors, float *pfe_output, float *scattered_feature) |
| Call scatter cuda kernel. More... | |
| apollo::perception::lidar::ScatterCuda::ScatterCuda | ( | const int | num_threads, |
| const int | grid_x_size, | ||
| const int | grid_y_size | ||
| ) |
Constructor.
| [in] | num_threads | The number of threads to launch cuda kernel |
| [in] | grid_x_size | Number of pillars in x-coordinate |
| [in] | grid_y_size | Number of pillars in y-coordinate |
Captital variables never change after the compile
| void apollo::perception::lidar::ScatterCuda::DoScatterCuda | ( | const int | pillar_count, |
| int * | x_coors, | ||
| int * | y_coors, | ||
| float * | pfe_output, | ||
| float * | scattered_feature | ||
| ) |
Call scatter cuda kernel.
| [in] | pillar_count | The valid number of pillars |
| [in] | x_coors | X-coordinate indexes for corresponding pillars |
| [in] | y_coors | Y-coordinate indexes for corresponding pillars |
| [in] | pfe_output | Output from Pillar Feature Extractor |
| [out] | scattered_feature | Gridmap representation for pillars' feature |
Allocate pillars in gridmap based on index(coordinates) information
1.8.13