Apollo  6.0
Open source self driving car software
Public Member Functions | List of all members
apollo::perception::lidar::ScatterCuda Class Reference

#include <scatter_cuda.h>

Collaboration diagram for apollo::perception::lidar::ScatterCuda:
Collaboration graph

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...
 

Constructor & Destructor Documentation

◆ ScatterCuda()

apollo::perception::lidar::ScatterCuda::ScatterCuda ( const int  num_threads,
const int  grid_x_size,
const int  grid_y_size 
)

Constructor.

Parameters
[in]num_threadsThe number of threads to launch cuda kernel
[in]grid_x_sizeNumber of pillars in x-coordinate
[in]grid_y_sizeNumber of pillars in y-coordinate

Captital variables never change after the compile

Member Function Documentation

◆ DoScatterCuda()

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.

Parameters
[in]pillar_countThe valid number of pillars
[in]x_coorsX-coordinate indexes for corresponding pillars
[in]y_coorsY-coordinate indexes for corresponding pillars
[in]pfe_outputOutput from Pillar Feature Extractor
[out]scattered_featureGridmap representation for pillars' feature

Allocate pillars in gridmap based on index(coordinates) information


The documentation for this class was generated from the following file: