MCPcopy Create free account
hub / github.com/evilsocket/cake / release_output

Method release_output

cake-core/src/backends/vulkan/mod.rs:541–545  ·  view source on GitHub ↗
(&self, buf: MappedBuffer)

Source from the content-addressed store, hash-verified

539 }
540
541 fn release_output(&self, buf: MappedBuffer) {
542 let key = BufferPool::bucket(buf.size);
543 let mut pool = self.buffer_pool.lock().unwrap();
544 pool.free.entry(key).or_default().push(buf);
545 }
546
547 // ── Weight cache ─────────────────────────────────────────────────
548

Callers 3

init_vulkanMethod · 0.80
cache_activationMethod · 0.80
tensor_matmulMethod · 0.80

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected