MagmaDNN  1.0
c++NeuralNetworkFramework
gemm_internal.h
Go to the documentation of this file.
1 
9 #pragma once
10 #include "cblas.h"
11 #include "tensor/tensor.h"
12 
13 #if defined(_HAS_CUDA_)
14 #include "magma.h"
15 #endif
16 
17 namespace magmadnn {
18 namespace internal {
19 
32 template <typename T>
33 bool gemm_check(Tensor<T> *A, Tensor<T> *B, Tensor<T> *C, unsigned int &M, unsigned int &N, unsigned int &K);
34 
43 template <typename T>
44 void gemm_full(T alpha, Tensor<T>* A, Tensor<T>* B, T beta, Tensor<T>* C);
45 
46 
47 } // namespace internal
48 } // namespace magmadnn
Definition: addop.cpp:11
bool gemm_check(Tensor< T > *A, Tensor< T > *B, Tensor< T > *C, unsigned int &M, unsigned int &N, unsigned int &K)
Definition: gemm_internal.cpp:15