Skip to content

Commit

Permalink
Enable bgemm for armv7
Browse files Browse the repository at this point in the history
  • Loading branch information
daquexian committed May 29, 2019
1 parent 5af2ec3 commit de3f85f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dabnn/layers/BinConv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ bool BinConv::direct_conv_compatible() const {
}

bool BinConv::gemm_compatible() const {
#ifdef __aarch64__
#ifdef __ARM_NEON
return weight_mat->h * weight_mat->w * weight_mat->c % 2 == 0;
#else
return false;
Expand Down

0 comments on commit de3f85f

Please sign in to comment.