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

Method Find

tensorflow/stream_executor/matmul_util.h:136–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134class BlasLtMatmulPlanMap {
135 public:
136 const blas::PlanAndAlgorithms* Find(
137 const BatchMatmulParameters& params) const {
138 absl::MutexLock lock(&mu_);
139 auto iter = params_plan_map_.find(params);
140 if (iter == params_plan_map_.end()) {
141 return nullptr;
142 }
143 return &iter->second;
144 }
145 const blas::PlanAndAlgorithms* Insert(const BatchMatmulParameters& params,
146 blas::PlanAndAlgorithms value) {
147 absl::MutexLock lock(&mu_);

Callers 1

GetPlanAndAlgorithmsFunction · 0.45

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected