| 34 | constexpr uint64_t SESSION_STATE_ALIGN = 256; |
| 35 | |
| 36 | uint64_t align_up(uint64_t n, uint64_t a) { return (n + a - 1) / a * a; } |
| 37 | |
| 38 | /// The floats one GDN layer's recurrent + conv state needs. `gdn_buffers_bytes` carves them for ONE layer and |
| 39 | /// `GdnBuffers::state`/`conv_state` point INTO that carve, so a session with 36 GDN layers has to give each one |
no outgoing calls
no test coverage detected