Skip to content

Commit

Permalink
Fix warning in clang (apache#175)
Browse files Browse the repository at this point in the history
  • Loading branch information
tqchen committed Nov 1, 2016
1 parent 933ed02 commit 1728adf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion make/mshadow.mk
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# Add MSHADOW_NVCCFLAGS to the nvcc compile flags
#----------------------------------------------------------------------------------------

MSHADOW_CFLAGS = -funroll-loops -Wno-unused-parameter -Wno-unknown-pragmas
MSHADOW_CFLAGS = -funroll-loops -Wno-unused-parameter -Wno-unknown-pragmas -Wno-unused-local-typedefs
MSHADOW_LDFLAGS = -lm
MSHADOW_NVCCFLAGS =
MKLROOT =
Expand Down
2 changes: 1 addition & 1 deletion mshadow/dot_engine-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -721,7 +721,7 @@ struct BLASEngine<gpu, double> {
};
#endif // MSHADOW_USE_CUDA
// helper function to decide which shape we are in
inline static Shape<2> GetShape(const Shape<2> &shape, bool transpose) {
inline Shape<2> GetShape(const Shape<2> &shape, bool transpose) {
return transpose ? Shape2(shape[1], shape[0]) : shape;
}
// dst = dot(lhs[.T], rhs[.T])
Expand Down

0 comments on commit 1728adf

Please sign in to comment.