Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AnswerDotAI/gpu.cpp
/ TensorPool
Method
TensorPool
gpu.hpp:191–191 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
189
*/
190
struct TensorPool {
191
inline TensorPool(Context *ctx) : ctx(ctx), data() {};
192
Context *ctx;
193
std::unordered_map<WGPUBuffer, Tensor> data;
194
~TensorPool();
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected