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

Function GetLoopStructure

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

Source from the content-addressed store, hash-verified

253}
254
255LoopStructure GetLoopStructure(int thread_count, int rows, int cols, int depth,
256 int cache_friendly_traversal_threshold) {
257 if (thread_count == 1 &&
258 (rows + cols) * depth < cache_friendly_traversal_threshold) {
259 return LoopStructure::kSimple;
260 }
261 return LoopStructure::kGeneral;
262}
263
264} // namespace
265

Callers 1

TrMulFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected