MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / AllocatePMatrix

Function AllocatePMatrix

tensorflow/lite/experimental/ruy/trmul.cc:242–245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

240};
241
242void AllocatePMatrix(Allocator* allocator, PMatrix* packed) {
243 packed->data = allocator->AllocateBytes(DataSize(*packed));
244 packed->sums = allocator->AllocateBytes(SumsSize(*packed));
245}
246
247int GetThreadCount(Context* context, int rows, int cols, int depth) {
248 // Empirically determined rule for reasonable number of

Callers 1

TrMulFunction · 0.85

Calls 3

DataSizeFunction · 0.85
SumsSizeFunction · 0.85
AllocateBytesMethod · 0.45

Tested by

no test coverage detected