mxnet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] vdantu commented on issue #14002: error: ‘__cpuid’ was not declared in this scope
Date Fri, 01 Feb 2019 05:44:58 GMT
vdantu commented on issue #14002: error: ‘__cpuid’ was not declared in this scope
URL: https://github.com/apache/incubator-mxnet/issues/14002#issuecomment-459613578
 
 
   @azai91 @mseth10 : could you guys help?
   
   @mahmoodn : could you share you config.mk file? I tried to build on a CUDA 10 container
and it seems to be building beyond where you got an error. 
   
   ```
   [ 27%] Building CXX object src/CMakeFiles/mkldnn.dir/cpu/cpu_barrier.cpp.o
   cd /mxnet/3rdparty/mkldnn/build/src && /usr/bin/c++  -DMKLDNN_DLL -DMKLDNN_DLL_EXPORTS
-DMKLDNN_THR=MKLDNN_THR_OMP -DUSE_CBLAS -DUSE_MKL -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS
-Dmkldnn_EXPORTS -I/mxnet/3rdparty/mkldnn/build/install/include -I/mxnet/3rdparty/mkldnn/include
-I/mxnet/3rdparty/mkldnn/src -I/mxnet/3rdparty/mkldnn/src/common -I/mxnet/3rdparty/mkldnn/src/cpu/xbyak
 -fopenmp -std=c++11 -fvisibility-inlines-hidden  -Wall -Werror -Wno-unknown-pragmas -fvisibility=internal
-mtune=generic -fPIC -Wformat -Wformat-security -fstack-protector-strong  -Wmissing-field-initializers
 -Wno-strict-overflow  -O3 -DNDEBUG -D_FORTIFY_SOURCE=2 -fPIC   -std=gnu++11 -o CMakeFiles/mkldnn.dir/cpu/cpu_barrier.cpp.o
-c /mxnet/3rdparty/mkldnn/src/cpu/cpu_barrier.cpp
   [ 28%] Building CXX object src/CMakeFiles/mkldnn.dir/cpu/cpu_batch_normalization_utils.cpp.o
   cd /mxnet/3rdparty/mkldnn/build/src && /usr/bin/c++  -DMKLDNN_DLL -DMKLDNN_DLL_EXPORTS
-DMKLDNN_THR=MKLDNN_THR_OMP -DUSE_CBLAS -DUSE_MKL -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS
-Dmkldnn_EXPORTS -I/mxnet/3rdparty/mkldnn/build/install/include -I/mxnet/3rdparty/mkldnn/include
-I/mxnet/3rdparty/mkldnn/src -I/mxnet/3rdparty/mkldnn/src/common -I/mxnet/3rdparty/mkldnn/src/cpu/xbyak
 -fopenmp -std=c++11 -fvisibility-inlines-hidden  -Wall -Werror -Wno-unknown-pragmas -fvisibility=internal
-mtune=generic -fPIC -Wformat -Wformat-security -fstack-protector-strong  -Wmissing-field-initializers
 -Wno-strict-overflow  -O3 -DNDEBUG -D_FORTIFY_SOURCE=2 -fPIC   -std=gnu++11 -o CMakeFiles/mkldnn.dir/cpu/cpu_batch_normalization_utils.cpp.o
-c /mxnet/3rdparty/mkldnn/src/cpu/cpu_batch_normalization_utils.cpp
   [ 29%] Building CXX object src/CMakeFiles/mkldnn.dir/cpu/cpu_concat.cpp.o
   cd /mxnet/3rdparty/mkldnn/build/src && /usr/bin/c++  -DMKLDNN_DLL -DMKLDNN_DLL_EXPORTS
-DMKLDNN_THR=MKLDNN_THR_OMP -DUSE_CBLAS -DUSE_MKL -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS
-Dmkldnn_EXPORTS -I/mxnet/3rdparty/mkldnn/build/install/include -I/mxnet/3rdparty/mkldnn/include
-I/mxnet/3rdparty/mkldnn/src -I/mxnet/3rdparty/mkldnn/src/common -I/mxnet/3rdparty/mkldnn/src/cpu/xbyak
 -fopenmp -std=c++11 -fvisibility-inlines-hidden  -Wall -Werror -Wno-unknown-pragmas -fvisibility=internal
-mtune=generic -fPIC -Wformat -Wformat-security -fstack-protector-strong  -Wmissing-field-initializers
 -Wno-strict-overflow  -O3 -DNDEBUG -D_FORTIFY_SOURCE=2 -fPIC   -std=gnu++11 -o CMakeFiles/mkldnn.dir/cpu/cpu_concat.cpp.o
-c /mxnet/3rdparty/mkldnn/src/cpu/cpu_concat.cpp
   [ 30%] Building CXX object src/CMakeFiles/mkldnn.dir/cpu/cpu_engine.cpp.o
   ```
   
   lsb_release -a
   ```
   root@66c114dc82ec:/mxnet/3rdparty/mkldnn/build/src# lsb_release -a
   No LSB modules are available.
   Distributor ID:	Ubuntu
   Description:	Ubuntu 18.04.1 LTS
   Release:	18.04
   Codename:	bionic
   ```
   
   container name
   ```
   nvidia/cuda:10.0-cudnn7-runtime-ubuntu18.04
   ```
   
   cuda
   ```
   cat /usr/local/cuda/version.txt
   CUDA Version 10.0.130
   ```
   
   Feel free to correct me if I doing anything wrong.

----------------------------------------------------------------
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

Mime
View raw message