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

Some confusions might be bugs #33

Open
Erhushenshou opened this issue Feb 14, 2025 · 0 comments
Open

Some confusions might be bugs #33

Erhushenshou opened this issue Feb 14, 2025 · 0 comments

Comments

@Erhushenshou
Copy link

Erhushenshou commented Feb 14, 2025

First, I would like to express thanks for you to open source this wonderful work! I have some confusions reading the source code here:
void UTILS::ComputeRelocation(
int P,
float* opacity_old,
float* scale_old,
int* N,
float* binoms,
int n_max,
float* opacity_new,
float* scale_new)
{
int num_blocks = (P + 255) / 256;
dim3 block(256, 1, 1);
dim3 grid(num_blocks, 1, 1);
compute_relocation<<<grid, block>>>(P, opacity_old, scale_old, N, binoms, n_max, opacity_new, scale_new);
}

P should be the number of the gaussians, what does 256 represent here? what about tiles if you set blocks to 256? And why 256? is it related to the size of the projection images?

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