Skip to content

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.

2 participants