Skip to content

Commit

Permalink
fix standalone mode (apache#148)
Browse files Browse the repository at this point in the history
  • Loading branch information
tqchen authored Jul 10, 2016
1 parent 0186f06 commit 46ead0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mshadow/dot_engine-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ struct BLASEngine<cpu, float> {
}
inline static void batched_gemm(Stream<cpu> *stream,
bool transa, bool transb,
int m, int n, int k, DType alpha,
int m, int n, int k, float alpha,
const float *A, int lda, const float *B, int ldb,
float beta, float *C, int ldc, int batch_count) {
for (int i = 0; i < batch_count; ++i) {
Expand Down Expand Up @@ -191,7 +191,7 @@ struct BLASEngine<cpu, double> {
}
inline static void batched_gemm(Stream<cpu> *stream,
bool transa, bool transb,
int m, int n, int k, DType alpha,
int m, int n, int k, double alpha,
const double *A, int lda, const double *B, int ldb,
double beta, double *C, int ldc, int batch_count) {
for (int i = 0; i < batch_count; ++i) {
Expand Down

0 comments on commit 46ead0c

Please sign in to comment.