JittorMirror/extern/cuda/cublas/ops/cublas_matmul_op.h

25 lines
747 B
C++

// ***************************************************************
// Copyright (c) 2021 Jittor. All Rights Reserved.
// Maintainers:
// Guoye Yang <498731903@qq.com>
// Dun Liang <randonlang@gmail.com>.
//
// This file is subject to the terms and conditions defined in
// file 'LICENSE.txt', which is part of this source code package.
// ***************************************************************
#pragma once
#include "op.h"
namespace jittor {
struct CublasMatmulOp : Op {
Var* a, * b, * c;
bool trans_a, trans_b;
CublasMatmulOp(Var* a, Var* b, bool trans_a, bool trans_b);
const char* name() const override { return "cublas_matmul"; }
void infer_shape() override;
DECLARE_jit_run;
};
} // jittor