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

Method CreateBlasLtMatmulPlan

tensorflow/stream_executor/cuda/cuda_blas.cc:3539–3551  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3537#endif // CUDA_VERSION >= 11000
3538
3539port::StatusOr<std::unique_ptr<blas::IBlasLtMatmulPlan>>
3540CUDABlas::CreateBlasLtMatmulPlan(const blas::BlasLtMatmulPlanParams& p) {
3541#if CUDA_VERSION >= 11000
3542 auto cuda_plan = std::make_unique<CUDABlasLtMatmulPlan>();
3543 SE_RETURN_IF_ERROR(cuda_plan->init(p));
3544 return static_cast<std::unique_ptr<blas::IBlasLtMatmulPlan>>(
3545 std::move(cuda_plan));
3546#else
3547 return port::Status(
3548 port::error::UNIMPLEMENTED,
3549 "CreateBlasLtMatmulPlan is not supported with this version of CUDA");
3550#endif
3551}
3552
3553port::StatusOr<std::vector<std::unique_ptr<blas::IBlasLtMatmulAlgorithm>>>
3554CUDABlas::GetBlasLtMatmulAlgorithmsInternal(const blas::IBlasLtMatmulPlan* plan,

Callers 1

GetPlanAndAlgorithmsFunction · 0.45

Calls 2

StatusEnum · 0.50
initMethod · 0.45

Tested by

no test coverage detected