tvm
Functions
tvm::topi::contrib Namespace Reference

Functions

Tensor cublas_matmul (const Tensor &lhs, const Tensor &rhs, bool transa, bool transb)
 Create an op that multiplies lhs and rhs with cuBLAS. More...
 
Tensor cublas_batch_matmul (const Tensor &lhs, const Tensor &rhs, bool transa, bool transb)
 Create an op that multiplies batch matrices lhs and rhs with cuBLAS. More...
 

Function Documentation

◆ cublas_batch_matmul()

Tensor tvm::topi::contrib::cublas_batch_matmul ( const Tensor lhs,
const Tensor rhs,
bool  transa,
bool  transb 
)
inline

Create an op that multiplies batch matrices lhs and rhs with cuBLAS.

Parameters
lhsThe left matrix operand
rhsThe right matrix operand
transaWhether to transpose lhs
transbWhether to transpose rhs
Returns
The output tensor

◆ cublas_matmul()

Tensor tvm::topi::contrib::cublas_matmul ( const Tensor lhs,
const Tensor rhs,
bool  transa,
bool  transb 
)
inline

Create an op that multiplies lhs and rhs with cuBLAS.

Parameters
lhsThe left matrix operand
rhsThe right matrix operand
transaWhether to transpose lhs
transbWhether to transpose rhs
Returns
The output tensor