diff --git a/pytorch3d/csrc/pulsar/include/renderer.render.device.h b/pytorch3d/csrc/pulsar/include/renderer.render.device.h index 66a62c31..d1fe23f4 100644 --- a/pytorch3d/csrc/pulsar/include/renderer.render.device.h +++ b/pytorch3d/csrc/pulsar/include/renderer.render.device.h @@ -99,7 +99,7 @@ GLOBAL void render( /** Whether loading of balls is completed. */ SHARED bool loading_done; /** The number of balls loaded overall (just for statistics). */ - SHARED int n_balls_loaded; + [[maybe_unused]] SHARED int n_balls_loaded; /** The area this thread block covers. */ SHARED IntersectInfo block_area; if (thread_block.thread_rank() == 0) {