Skip to content

Commit

Permalink
Fix incorrectly sized gradient buffer (reduces memory footprint)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom94 committed Mar 1, 2022
1 parent 8ce250e commit 36278ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/testbed_nerf.cu
Original file line number Diff line number Diff line change
Expand Up @@ -2663,7 +2663,7 @@ void Testbed::train_nerf_step(uint32_t target_batch_size, uint32_t n_rays_per_ba
max_samples * floats_per_coord,
max_samples,
std::max(target_batch_size, max_samples) * padded_output_width,
std::max(target_batch_size, max_samples) * 4,
target_batch_size * padded_output_width,
target_batch_size * padded_output_width,
target_batch_size * floats_per_coord,
target_batch_size
Expand Down

0 comments on commit 36278ee

Please sign in to comment.