You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/04/17 07:24:32 UTC

[GitHub] hongtao12310 opened a new issue #10579: NNPACK can't be compiled at 1.1.0 1.2.0 and master branch

hongtao12310 opened a new issue #10579: NNPACK can't be compiled at 1.1.0 1.2.0 and master branch
URL: https://github.com/apache/incubator-mxnet/issues/10579
 
 
   I am trying to enable NNPACK to accelerate the cnn network. and I set USE_NNPACK=1 in config.mk and run make (before that I have compiled the nnpack repository and also set the CFLAGS and LDFLAGS)
   
   but there are some troubles when compile the nnpack_full_connected-ini.h. sounds like the FullyConnectedOp class was not implemented. below is the error log
   
   the FullyConnectedOp class was exists in the v1.0.0 branch. I am not sure if i miss something or there is some mistake when merge code to the new branch ?
   
   In file included from src/operator/nn/fully_connected.cc:25:
   In file included from src/operator/nn/./fully_connected-inl.h:37:
   In file included from src/operator/nn/../linalg.h:31:
   src/operator/nn/.././c_lapack_api.h:328:11: warning: Warning: lapack usage not enabled, linalg-operators will not be available. Ensure that
         lapack library is installed and build with USE_LAPACK=1 to get lapack functionalities. [-W#pragma-messages]
     #pragma message("Warning: lapack usage not enabled, linalg-operators will not be available." \
             ^
   In file included from src/operator/nn/fully_connected.cc:29:
   src/operator/nn/../nnpack/nnpack_fully_connected-inl.h:45:39: error: unknown template name 'FullyConnectedOp'
   class NNPACKFullyConnectedOp : public FullyConnectedOp<xpu, DType> {
                                         ^
   src/operator/nn/../nnpack/nnpack_fully_connected-inl.h:51:25: error: expected '(' or '{'
         : FullyConnectedOp<xpu, DType>(p) {
                           ^
   1 warning and 2 errors generated.
   make: *** [build/src/operator/nn/fully_connected.o] Error 1
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services