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

fix cudaErrorIllegalAddress #43

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

gdhy9064
Copy link

Use cfg.n_rays_per_batch instead of default n_rays_per_batch 4096 in JNeRF/python/jnerf/models/position_encoders/hash_encoder/grid_encode.py which may cause cudaErrorIllegalAddress below when cfg.n_rays_per_batch much greater than 4096.

code=700( cudaErrorIllegalAddress ) cudaMemcpy(a.ptr, var->mem_ptr, var->size, cudaMemcpyDeviceToHost)

@Jittor
Copy link
Owner

Jittor commented Oct 27, 2022

Thanks!

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

Successfully merging this pull request may close these issues.

None yet

2 participants