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

Method AsBlas

tensorflow/stream_executor/stream_executor_pimpl.cc:479–487  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

477}
478
479blas::BlasSupport *StreamExecutor::AsBlas() {
480 absl::MutexLock lock(&mu_);
481 if (blas_ != nullptr) {
482 return blas_.get();
483 }
484
485 blas_.reset(implementation_->CreateBlas());
486 return blas_.get();
487}
488
489fft::FftSupport *StreamExecutor::AsFft() {
490 absl::MutexLock lock(&mu_);

Calls 3

getMethod · 0.45
resetMethod · 0.45
CreateBlasMethod · 0.45

Tested by

no test coverage detected