NVIDIA-AI-IOT / CUDA-PointPillars

A project demonstrating how to use CUDA-PointPillars to deal with cloud points data from lidar.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About hard coded const variables in kernel.h

Acuno41 opened this issue · comments

Hello everyone,

Some of these const variables in kernel.h are saying that they depends on params.h but I don't clearly understand which one is equivalent of the one in params.h.

const int POINTS_PER_VOXEL = 32; // depands on "params.h"
const int WARP_SIZE = 32; // one warp(32 threads) for one pillar
const int WARPS_PER_BLOCK = 4; // four warp for one block
const int FEATURES_SIZE = 10; // features maps number depands on "params.h"
const int PILLARS_PER_BLOCK = 64; // one thread deals with one pillar and a block has PILLARS_PER_BLOCK threads
const int PILLAR_FEATURE_SIZE = 64; // feature count for one pillar depands on "params.h"

Does anyone have idea about it ?

shouldn't these variables be updated based on params.h ?