Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About hard coded const variables in kernel.h #90

Open
Acuno41 opened this issue May 26, 2023 · 0 comments
Open

About hard coded const variables in kernel.h #90

Acuno41 opened this issue May 26, 2023 · 0 comments

Comments

@Acuno41
Copy link

Acuno41 commented May 26, 2023

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant