git clone --no-checkout https://github.com/01org/mkl-dnn.git external/mkldnn/tmp Cloning into 'external/mkldnn/tmp'... PROTOC src/caffe/proto/caffe.proto CXX .build_release/src/caffe/proto/caffe.pb.cc rsync -a external/mkldnn/tmp/ external/mkldnn/src && rm -rf external/mkldnn/tmp cd external/mkldnn/src && git reset --hard `cat /home/tarun/downloads/caffe_intel/mkldnn.commit` HEAD is now at 00f2ee4 tests: convolution: fix no bias format cmake external/mkldnn/src -DCMAKE_INSTALL_PREFIX=/home/tarun/downloads/caffe_intel/external/mkldnn/install -B/home/tarun/downloads/caffe_intel/external/mkldnn/build -DCMAKE_CXX_COMPILER="g++" -DCMAKE_C_COMPILER="cc" -- The C compiler identification is GNU 4.8.4 -- The CXX compiler identification is GNU 4.8.4 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/g++ -- Check for working CXX compiler: /usr/bin/g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- CMAKE_BUILD_TYPE is unset, defaulting to Release CMake Warning at cmake/MKL.cmake:67 (message): Intel(R) MKL not found. Some performance features may not be available. Please run scripts/prepare_mkl.sh to download a minimal set of libraries or get a full version from https://software.intel.com/en-us/intel-mkl Call Stack (most recent call first): CMakeLists.txt:32 (include) -- Found Doxygen: /usr/bin/doxygen (found version "1.8.6") -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - found -- Found Threads: TRUE -- Configuring done -- Generating done -- Build files have been written to: /home/tarun/downloads/caffe_intel/external/mkldnn/build make -C /home/tarun/downloads/caffe_intel/external/mkldnn/build make[1]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. make[2]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' Scanning dependencies of target mkldnn make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 1%] Building CXX object src/CMakeFiles/mkldnn.dir/common/batch_normalization.cpp.o [ 2%] Building CXX object src/CMakeFiles/mkldnn.dir/common/convolution.cpp.o [ 2%] Building CXX object src/CMakeFiles/mkldnn.dir/common/convolution_relu.cpp.o [ 3%] Building CXX object src/CMakeFiles/mkldnn.dir/common/engine.cpp.o [ 4%] Building CXX object src/CMakeFiles/mkldnn.dir/common/inner_product.cpp.o [ 5%] Building CXX object src/CMakeFiles/mkldnn.dir/common/lrn.cpp.o [ 6%] Building CXX object src/CMakeFiles/mkldnn.dir/common/memory.cpp.o [ 7%] Building CXX object src/CMakeFiles/mkldnn.dir/common/memory_desc_wrapper.cpp.o [ 8%] Building CXX object src/CMakeFiles/mkldnn.dir/common/pooling.cpp.o [ 8%] Building CXX object src/CMakeFiles/mkldnn.dir/common/primitive.cpp.o [ 9%] Building CXX object src/CMakeFiles/mkldnn.dir/common/primitive_desc.cpp.o [ 10%] Building CXX object src/CMakeFiles/mkldnn.dir/common/primitive_iterator.cpp.o [ 11%] Building CXX object src/CMakeFiles/mkldnn.dir/common/query.cpp.o [ 12%] Building CXX object src/CMakeFiles/mkldnn.dir/common/relu.cpp.o [ 13%] Building CXX object src/CMakeFiles/mkldnn.dir/common/reorder.cpp.o [ 14%] Building CXX object src/CMakeFiles/mkldnn.dir/common/softmax.cpp.o [ 14%] Building CXX object src/CMakeFiles/mkldnn.dir/common/stream.cpp.o [ 15%] Building CXX object src/CMakeFiles/mkldnn.dir/cpu/cpu_engine.cpp.o [ 16%] Building CXX object src/CMakeFiles/mkldnn.dir/cpu/gemm_inner_product.cpp.o [ 17%] Building CXX object src/CMakeFiles/mkldnn.dir/cpu/jit_avx2_1x1_conv_kernel_f32.cpp.o [ 18%] Building CXX object src/CMakeFiles/mkldnn.dir/cpu/jit_avx2_1x1_convolution.cpp.o [ 19%] Building CXX object src/CMakeFiles/mkldnn.dir/cpu/jit_avx2_conv_kernel_f32.cpp.o [ 20%] Building CXX object src/CMakeFiles/mkldnn.dir/cpu/jit_avx2_convolution.cpp.o [ 21%] Building CXX object src/CMakeFiles/mkldnn.dir/cpu/jit_avx2_gemm_f32.cpp.o [ 21%] Building CXX object src/CMakeFiles/mkldnn.dir/cpu/jit_avx2_inner_product.cpp.o [ 22%] Building CXX object src/CMakeFiles/mkldnn.dir/cpu/jit_avx2_lrn.cpp.o [ 23%] Building CXX object src/CMakeFiles/mkldnn.dir/cpu/jit_avx2_relu.cpp.o [ 24%] Building CXX object src/CMakeFiles/mkldnn.dir/cpu/jit_avx2_relu_kernel_f32.cpp.o [ 25%] Building CXX object src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_mic_conv_kernel_f32.cpp.o [ 26%] Building CXX object src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_mic_convolution.cpp.o [ 27%] Building CXX object src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_mic_gemm_f32.cpp.o [ 27%] Building CXX object src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_mic_inner_product.cpp.o [ 28%] Building CXX object src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_mic_lrn.cpp.o [ 29%] Building CXX object src/CMakeFiles/mkldnn.dir/cpu/jit_gemm_convolution.cpp.o [ 30%] Building CXX object src/CMakeFiles/mkldnn.dir/cpu/jit_gemm_convolution_utils.cpp.o [ 31%] Building CXX object src/CMakeFiles/mkldnn.dir/cpu/jit_uni_batch_normalization.cpp.o [ 32%] Building CXX object src/CMakeFiles/mkldnn.dir/cpu/jit_uni_pool_kernel_f32.cpp.o [ 33%] Building CXX object src/CMakeFiles/mkldnn.dir/cpu/jit_uni_pooling.cpp.o [ 33%] Building CXX object src/CMakeFiles/mkldnn.dir/cpu/ref_batch_normalization.cpp.o [ 34%] Building CXX object src/CMakeFiles/mkldnn.dir/cpu/ref_convolution.cpp.o [ 35%] Building CXX object src/CMakeFiles/mkldnn.dir/cpu/ref_inner_product.cpp.o [ 36%] Building CXX object src/CMakeFiles/mkldnn.dir/cpu/ref_lrn.cpp.o [ 37%] Building CXX object src/CMakeFiles/mkldnn.dir/cpu/ref_pooling.cpp.o [ 38%] Building CXX object src/CMakeFiles/mkldnn.dir/cpu/ref_relu.cpp.o [ 39%] Building CXX object src/CMakeFiles/mkldnn.dir/cpu/ref_softmax.cpp.o [ 39%] Linking CXX shared library libmkldnn.so make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 39%] Built target mkldnn make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' Scanning dependencies of target simple-net-c make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 40%] Building C object examples/CMakeFiles/simple-net-c.dir/simple_net.c.o [ 41%] Linking C executable simple-net-c make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 41%] Built target simple-net-c make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' Scanning dependencies of target simple-training-net-c make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 42%] Building C object examples/CMakeFiles/simple-training-net-c.dir/simple_training_net.c.o [ 43%] Linking C executable simple-training-net-c make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 43%] Built target simple-training-net-c make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' Scanning dependencies of target simple-net-cpp make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 44%] Building CXX object examples/CMakeFiles/simple-net-cpp.dir/simple_net.cpp.o [ 45%] Linking CXX executable simple-net-cpp make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 45%] Built target simple-net-cpp make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' Scanning dependencies of target simple-training-net-cpp make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 46%] Building CXX object examples/CMakeFiles/simple-training-net-cpp.dir/simple_training_net.cpp.o [ 46%] Linking CXX executable simple-training-net-cpp make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 46%] Built target simple-training-net-cpp make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 47%] Generating test_c_symbols.c Scanning dependencies of target test_c_symbols-c make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 48%] Building C object tests/CMakeFiles/test_c_symbols-c.dir/test_c_symbols.c.o [ 49%] Linking C executable test_c_symbols-c make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 49%] Built target test_c_symbols-c make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' Scanning dependencies of target api-c make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 49%] Building C object tests/CMakeFiles/api-c.dir/api.c.o [ 50%] Linking C executable api-c make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 50%] Built target api-c make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' Scanning dependencies of target gtest make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 51%] Building CXX object tests/gtests/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o [ 52%] Linking CXX static library libgtest.a make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 52%] Built target gtest make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' Scanning dependencies of target test_batch_normalization make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 53%] Building CXX object tests/gtests/CMakeFiles/test_batch_normalization.dir/main.cpp.o [ 54%] Building CXX object tests/gtests/CMakeFiles/test_batch_normalization.dir/test_batch_normalization.cpp.o [ 55%] Linking CXX executable test_batch_normalization make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 55%] Built target test_batch_normalization make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' Scanning dependencies of target test_lrn_forward make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 56%] Building CXX object tests/gtests/CMakeFiles/test_lrn_forward.dir/main.cpp.o [ 57%] Building CXX object tests/gtests/CMakeFiles/test_lrn_forward.dir/test_lrn_forward.cpp.o [ 58%] Linking CXX executable test_lrn_forward make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 58%] Built target test_lrn_forward make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' Scanning dependencies of target test_sum make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 59%] Building CXX object tests/gtests/CMakeFiles/test_sum.dir/main.cpp.o [ 60%] Building CXX object tests/gtests/CMakeFiles/test_sum.dir/test_sum.cpp.o [ 61%] Linking CXX executable test_sum make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 61%] Built target test_sum make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' Scanning dependencies of target test_pooling_backward make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 62%] Building CXX object tests/gtests/CMakeFiles/test_pooling_backward.dir/main.cpp.o [ 63%] Building CXX object tests/gtests/CMakeFiles/test_pooling_backward.dir/test_pooling_backward.cpp.o [ 64%] Linking CXX executable test_pooling_backward make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 64%] Built target test_pooling_backward make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' Scanning dependencies of target test_relu make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 65%] Building CXX object tests/gtests/CMakeFiles/test_relu.dir/main.cpp.o [ 66%] Building CXX object tests/gtests/CMakeFiles/test_relu.dir/test_relu.cpp.o [ 67%] Linking CXX executable test_relu make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 67%] Built target test_relu make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' Scanning dependencies of target test_lrn_backward make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 68%] Building CXX object tests/gtests/CMakeFiles/test_lrn_backward.dir/main.cpp.o [ 69%] Building CXX object tests/gtests/CMakeFiles/test_lrn_backward.dir/test_lrn_backward.cpp.o [ 69%] Linking CXX executable test_lrn_backward make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 69%] Built target test_lrn_backward make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' Scanning dependencies of target test_softmax_forward make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 70%] Building CXX object tests/gtests/CMakeFiles/test_softmax_forward.dir/main.cpp.o [ 71%] Building CXX object tests/gtests/CMakeFiles/test_softmax_forward.dir/test_softmax_forward.cpp.o [ 72%] Linking CXX executable test_softmax_forward make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 72%] Built target test_softmax_forward make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' Scanning dependencies of target test_convolution_format_any make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 73%] Building CXX object tests/gtests/CMakeFiles/test_convolution_format_any.dir/main.cpp.o [ 74%] Building CXX object tests/gtests/CMakeFiles/test_convolution_format_any.dir/test_convolution_format_any.cpp.o [ 75%] Linking CXX executable test_convolution_format_any make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 75%] Built target test_convolution_format_any make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' Scanning dependencies of target test_reorder make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 76%] Building CXX object tests/gtests/CMakeFiles/test_reorder.dir/main.cpp.o [ 76%] Building CXX object tests/gtests/CMakeFiles/test_reorder.dir/test_reorder.cpp.o [ 77%] Linking CXX executable test_reorder make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 77%] Built target test_reorder make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' Scanning dependencies of target test_convolution_relu_forward make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 78%] Building CXX object tests/gtests/CMakeFiles/test_convolution_relu_forward.dir/main.cpp.o [ 79%] Building CXX object tests/gtests/CMakeFiles/test_convolution_relu_forward.dir/test_convolution_relu_forward.cpp.o [ 80%] Linking CXX executable test_convolution_relu_forward make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 80%] Built target test_convolution_relu_forward make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' Scanning dependencies of target test_inner_product_forward make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 81%] Building CXX object tests/gtests/CMakeFiles/test_inner_product_forward.dir/main.cpp.o [ 82%] Building CXX object tests/gtests/CMakeFiles/test_inner_product_forward.dir/test_inner_product_forward.cpp.o [ 83%] Linking CXX executable test_inner_product_forward make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 83%] Built target test_inner_product_forward make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' Scanning dependencies of target test_convolution_backward_weights make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 84%] Building CXX object tests/gtests/CMakeFiles/test_convolution_backward_weights.dir/main.cpp.o [ 84%] Building CXX object tests/gtests/CMakeFiles/test_convolution_backward_weights.dir/test_convolution_backward_weights.cpp.o [ 85%] Linking CXX executable test_convolution_backward_weights make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 85%] Built target test_convolution_backward_weights make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' Scanning dependencies of target test_pooling_forward make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 85%] Building CXX object tests/gtests/CMakeFiles/test_pooling_forward.dir/main.cpp.o [ 86%] Building CXX object tests/gtests/CMakeFiles/test_pooling_forward.dir/test_pooling_forward.cpp.o [ 87%] Linking CXX executable test_pooling_forward make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 87%] Built target test_pooling_forward make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' Scanning dependencies of target test_convolution_forward make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 88%] Building CXX object tests/gtests/CMakeFiles/test_convolution_forward.dir/main.cpp.o [ 89%] Building CXX object tests/gtests/CMakeFiles/test_convolution_forward.dir/test_convolution_forward.cpp.o [ 89%] Linking CXX executable test_convolution_forward make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 89%] Built target test_convolution_forward make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' Scanning dependencies of target test_inner_product_backward_data make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 90%] Building CXX object tests/gtests/CMakeFiles/test_inner_product_backward_data.dir/main.cpp.o [ 91%] Building CXX object tests/gtests/CMakeFiles/test_inner_product_backward_data.dir/test_inner_product_backward_data.cpp.o [ 92%] Linking CXX executable test_inner_product_backward_data make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 92%] Built target test_inner_product_backward_data make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' Scanning dependencies of target test_inner_product_backward_weights make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 93%] Building CXX object tests/gtests/CMakeFiles/test_inner_product_backward_weights.dir/main.cpp.o [ 93%] Building CXX object tests/gtests/CMakeFiles/test_inner_product_backward_weights.dir/test_inner_product_backward_weights.cpp.o [ 94%] Linking CXX executable test_inner_product_backward_weights make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 94%] Built target test_inner_product_backward_weights make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' Scanning dependencies of target test_concat make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 94%] Building CXX object tests/gtests/CMakeFiles/test_concat.dir/main.cpp.o [ 95%] Building CXX object tests/gtests/CMakeFiles/test_concat.dir/test_concat.cpp.o [ 96%] Linking CXX executable test_concat make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 96%] Built target test_concat make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' Scanning dependencies of target test_convolution_backward_data make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 97%] Building CXX object tests/gtests/CMakeFiles/test_convolution_backward_data.dir/main.cpp.o [ 98%] Building CXX object tests/gtests/CMakeFiles/test_convolution_backward_data.dir/test_convolution_backward_data.cpp.o [100%] Linking CXX executable test_convolution_backward_data make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [100%] Built target test_convolution_backward_data make[2]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' make[1]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' make -C /home/tarun/downloads/caffe_intel/external/mkldnn/build install make[1]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. make[2]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 39%] Built target mkldnn make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 41%] Built target simple-net-c make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 43%] Built target simple-training-net-c make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 45%] Built target simple-net-cpp make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 46%] Built target simple-training-net-cpp make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 49%] Built target test_c_symbols-c make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 50%] Built target api-c make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 52%] Built target gtest make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 55%] Built target test_batch_normalization make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 58%] Built target test_lrn_forward make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 61%] Built target test_sum make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 64%] Built target test_pooling_backward make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 67%] Built target test_relu make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 69%] Built target test_lrn_backward make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 72%] Built target test_softmax_forward make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 75%] Built target test_convolution_format_any make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 77%] Built target test_reorder make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 80%] Built target test_convolution_relu_forward make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 83%] Built target test_inner_product_forward make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 85%] Built target test_convolution_backward_weights make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 87%] Built target test_pooling_forward make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 89%] Built target test_convolution_forward make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 92%] Built target test_inner_product_backward_data make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 94%] Built target test_inner_product_backward_weights make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [ 96%] Built target test_concat make[3]: Entering directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' make[3]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' [100%] Built target test_convolution_backward_data make[2]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' Install the project... -- Install configuration: "Release" -- Installing: /home/tarun/downloads/caffe_intel/external/mkldnn/install/share/doc/mkldnn/LICENSE -- Installing: /home/tarun/downloads/caffe_intel/external/mkldnn/install/lib/libmkldnn.so -- Installing: /home/tarun/downloads/caffe_intel/external/mkldnn/install/include/mkldnn.h -- Installing: /home/tarun/downloads/caffe_intel/external/mkldnn/install/include/mkldnn_types.h -- Installing: /home/tarun/downloads/caffe_intel/external/mkldnn/install/include/mkldnn.hpp make[1]: Leaving directory `/home/tarun/downloads/caffe_intel/external/mkldnn/build' CXX src/caffe/data_transformer.cpp CXX src/caffe/serialization/ProtoSerialize.cpp CXX src/caffe/layer_factory.cpp CXX src/caffe/data_reader.cpp CXX src/caffe/mkldnn_memory.cpp CXX src/caffe/solver.cpp CXX src/caffe/mkl_memory.cpp CXX src/caffe/blob.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/mkl_memory.hpp:45, from src/caffe/mkl_memory.cpp:41: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from src/caffe/mkl_memory.cpp:41:0: ./include/caffe/mkl_memory.hpp: In destructor ‘caffe::MKLMemoryDescriptorBase::~MKLMemoryDescriptorBase()’: ./include/caffe/mkl_memory.hpp:63:9: error: ‘MLSL’ has not been declared MLSL::Free((void*)internal_ptr); ^ ./include/caffe/mkl_memory.hpp: In member function ‘void caffe::MKLMemoryDescriptorBase::allocate()’: ./include/caffe/mkl_memory.hpp:91:30: error: ‘MLSL’ has not been declared internal_ptr = (Dtype*)MLSL::Alloc(prv_size(), 64); ^ make: *** [.build_release/src/caffe/mkl_memory.o] Error 1 CXX src/caffe/mkldnn_base.cpp In file included from ./include/caffe/blob.hpp:47:0, from src/caffe/blob.cpp:41: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ make: *** [.build_release/src/caffe/blob.o] Error 1 CXX src/caffe/multinode/MlslSync.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/mkldnn_memory.hpp:45, from src/caffe/mkldnn_memory.cpp:39: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ make: *** [.build_release/src/caffe/mkldnn_memory.o] Error 1 CXX src/caffe/net.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/serialization/ProtoSerialize.hpp:44, from src/caffe/serialization/ProtoSerialize.cpp:41: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ make: *** [.build_release/src/caffe/serialization/ProtoSerialize.o] Error 1 CXX src/caffe/solvers/sgd_solver.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/mkldnn_base.hpp:45, from ./include/caffe/engine_parser.hpp:47, from src/caffe/layer_factory.cpp:45: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from src/caffe/layer_factory.cpp:46: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from src/caffe/layer_factory.cpp:46:0: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from src/caffe/layer_factory.cpp:46:0: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from src/caffe/layer_factory.cpp:46:0: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from src/caffe/layer_factory.cpp:46:0: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ In file included from ./include/caffe/layers/mkl_layers.hpp:52:0, from src/caffe/layer_factory.cpp:59: ./include/caffe/mkl_memory.hpp: In destructor ‘caffe::MKLMemoryDescriptorBase::~MKLMemoryDescriptorBase()’: ./include/caffe/mkl_memory.hpp:63:9: error: ‘MLSL’ has not been declared MLSL::Free((void*)internal_ptr); ^ ./include/caffe/mkl_memory.hpp: In member function ‘void caffe::MKLMemoryDescriptorBase::allocate()’: ./include/caffe/mkl_memory.hpp:91:30: error: ‘MLSL’ has not been declared internal_ptr = (Dtype*)MLSL::Alloc(prv_size(), 64); ^ In file included from src/caffe/layer_factory.cpp:59:0: ./include/caffe/layers/mkl_layers.hpp: At global scope: ./include/caffe/layers/mkl_layers.hpp:94:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:94:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:95:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:95:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:175:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:175:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:176:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:176:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:259:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:259:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:260:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:260:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:333:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:333:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:334:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:334:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:389:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:389:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:390:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:390:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ In file included from src/caffe/layer_factory.cpp:46:0: ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/base_conv_layer.hpp:55:7: required from ‘caffe::ConvolutionLayer::ConvolutionLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layer_factory.cpp:132:72: required from ‘boost::shared_ptr > caffe::GetConvolutionLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layer_factory.cpp:163:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/base_conv_layer.hpp:55:7: required from ‘caffe::ConvolutionLayer::ConvolutionLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layer_factory.cpp:132:72: required from ‘boost::shared_ptr > caffe::GetConvolutionLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layer_factory.cpp:163:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/inner_product_layer.hpp:59:27: required from ‘caffe::InnerProductLayer::InnerProductLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layer_factory.cpp:189:73: required from ‘boost::shared_ptr > caffe::GetInnerProductLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layer_factory.cpp:205:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/inner_product_layer.hpp:59:27: required from ‘caffe::InnerProductLayer::InnerProductLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layer_factory.cpp:189:73: required from ‘boost::shared_ptr > caffe::GetInnerProductLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layer_factory.cpp:205:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layer_factory.cpp:696:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layer_factory.cpp:696:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layer_factory.o] Error 1 CXX src/caffe/solvers/adadelta_solver.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layers/data_layer.hpp:43, from src/caffe/data_reader.cpp:45: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/data_layer.hpp:47, from src/caffe/data_reader.cpp:45: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/data_layer.hpp:47:0, from src/caffe/data_reader.cpp:45: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/data_layer.hpp:47:0, from src/caffe/data_reader.cpp:45: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/data_layer.hpp:47:0, from src/caffe/data_reader.cpp:45: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/data_layer.hpp:47:0, from src/caffe/data_reader.cpp:45: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ In file included from ./include/caffe/layers/data_layer.hpp:48:0, from src/caffe/data_reader.cpp:45: ./include/caffe/layers/base_data_layer.hpp: At global scope: ./include/caffe/layers/base_data_layer.hpp:80:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/base_data_layer.hpp:80:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/base_data_layer.hpp:81:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/base_data_layer.hpp:81:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ make: *** [.build_release/src/caffe/data_reader.o] Error 1 CXX src/caffe/solvers/rmsprop_solver.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/mkldnn_memory.hpp:45, from src/caffe/mkldnn_base.cpp:39: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ make: *** [.build_release/src/caffe/mkldnn_base.o] Error 1 CXX src/caffe/solvers/nesterov_solver.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/data_transformer.hpp:44, from src/caffe/data_transformer.cpp:46: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/caffe.hpp:47, from ./include/caffe/util/bbox_util.hpp:56, from src/caffe/data_transformer.cpp:47: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/caffe.hpp:47:0, from ./include/caffe/util/bbox_util.hpp:56, from src/caffe/data_transformer.cpp:47: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/caffe.hpp:47:0, from ./include/caffe/util/bbox_util.hpp:56, from src/caffe/data_transformer.cpp:47: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/caffe.hpp:47:0, from ./include/caffe/util/bbox_util.hpp:56, from src/caffe/data_transformer.cpp:47: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/caffe.hpp:47:0, from ./include/caffe/util/bbox_util.hpp:56, from src/caffe/data_transformer.cpp:47: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:4: note: suggested alternative: In file included from src/caffe/data_transformer.cpp:39:0: /usr/local/include/opencv2/core/core.hpp:996:30: note: ‘cv::DataType’ template class DataType ^ In file included from ./include/caffe/caffe.hpp:47:0, from ./include/caffe/util/bbox_util.hpp:56, from src/caffe/data_transformer.cpp:47: ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ make: *** [.build_release/src/caffe/data_transformer.o] Error 1 CXX src/caffe/solvers/adam_solver.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/net.hpp:47, from ./include/caffe/solver.hpp:44, from src/caffe/solver.cpp:49: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/net.hpp:49, from ./include/caffe/solver.hpp:44, from src/caffe/solver.cpp:49: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/net.hpp:49:0, from ./include/caffe/solver.hpp:44, from src/caffe/solver.cpp:49: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/net.hpp:49:0, from ./include/caffe/solver.hpp:44, from src/caffe/solver.cpp:49: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/net.hpp:49:0, from ./include/caffe/solver.hpp:44, from src/caffe/solver.cpp:49: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/net.hpp:49:0, from ./include/caffe/solver.hpp:44, from src/caffe/solver.cpp:49: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ src/caffe/solver.cpp: In member function ‘void caffe::Solver::TestClassification(int)’: src/caffe/solver.cpp:620:46: error: ‘MLSL’ has not been declared loss /= (param_.test_iter(test_net_id) * MLSL::GetNumNodes()); ^ src/caffe/solver.cpp:621:9: error: ‘MLSL’ has not been declared if (MLSL::GetNodeId() == 0) LOG(INFO) << "Test loss: " << loss; ^ src/caffe/solver.cpp:630:7: error: ‘MLSL’ has not been declared if (MLSL::GetNodeId() == 0) ^ src/caffe/solver.cpp:640:56: error: ‘MLSL’ has not been declared test_score[i] / (param_.test_iter(test_net_id) * MLSL::GetNumNodes()); ^ src/caffe/solver.cpp: In member function ‘void caffe::Solver::Snapshot()’: src/caffe/solver.cpp:776:7: error: ‘MLSL’ has not been declared if (MLSL::GetNodeId() != 0) return; ^ make: *** [.build_release/src/caffe/solver.o] Error 1 CXX src/caffe/solvers/adagrad_solver.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/net.hpp:47, from ./include/caffe/solver.hpp:44, from ./include/caffe/sgd_solvers.hpp:44, from src/caffe/solvers/sgd_solver.cpp:41: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/net.hpp:49, from ./include/caffe/solver.hpp:44, from ./include/caffe/sgd_solvers.hpp:44, from src/caffe/solvers/sgd_solver.cpp:41: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/net.hpp:49:0, from ./include/caffe/solver.hpp:44, from ./include/caffe/sgd_solvers.hpp:44, from src/caffe/solvers/sgd_solver.cpp:41: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/net.hpp:49:0, from ./include/caffe/solver.hpp:44, from ./include/caffe/sgd_solvers.hpp:44, from src/caffe/solvers/sgd_solver.cpp:41: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/net.hpp:49:0, from ./include/caffe/solver.hpp:44, from ./include/caffe/sgd_solvers.hpp:44, from src/caffe/solvers/sgd_solver.cpp:41: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/net.hpp:49:0, from ./include/caffe/solver.hpp:44, from ./include/caffe/sgd_solvers.hpp:44, from src/caffe/solvers/sgd_solver.cpp:41: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ src/caffe/solvers/sgd_solver.cpp: In member function ‘virtual void caffe::SGDSolver::Normalize(int)’: src/caffe/solvers/sgd_solver.cpp:222:43: error: ‘MLSL’ has not been declared if ((this->param_.iter_size() == 1) && (MLSL::GetNumNodes() == 1)) { return; } ^ src/caffe/solvers/sgd_solver.cpp:231:77: error: ‘MLSL’ has not been declared const Dtype accum_normalization = Dtype(1.) / (this->param_.iter_size() * MLSL::GetNumNodes()); ^ make: *** [.build_release/src/caffe/solvers/sgd_solver.o] Error 1 CXX src/caffe/syncedmem.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/net.hpp:47, from ./include/caffe/solver.hpp:44, from ./include/caffe/multinode/MlslSync.hpp:45, from src/caffe/multinode/MlslSync.cpp:40: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/net.hpp:49, from ./include/caffe/solver.hpp:44, from ./include/caffe/multinode/MlslSync.hpp:45, from src/caffe/multinode/MlslSync.cpp:40: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/net.hpp:49:0, from ./include/caffe/solver.hpp:44, from ./include/caffe/multinode/MlslSync.hpp:45, from src/caffe/multinode/MlslSync.cpp:40: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/net.hpp:49:0, from ./include/caffe/solver.hpp:44, from ./include/caffe/multinode/MlslSync.hpp:45, from src/caffe/multinode/MlslSync.cpp:40: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/net.hpp:49:0, from ./include/caffe/solver.hpp:44, from ./include/caffe/multinode/MlslSync.hpp:45, from src/caffe/multinode/MlslSync.cpp:40: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/net.hpp:49:0, from ./include/caffe/solver.hpp:44, from ./include/caffe/multinode/MlslSync.hpp:45, from src/caffe/multinode/MlslSync.cpp:40: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ In file included from src/caffe/multinode/MlslSync.cpp:40:0: ./include/caffe/multinode/MlslSync.hpp: At global scope: ./include/caffe/multinode/MlslSync.hpp:70:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/multinode/MlslSync.hpp:70:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/multinode/MlslSync.hpp: In member function ‘void caffe::MlslSync::synchronize_params()’: ./include/caffe/multinode/MlslSync.hpp:129:79: error: ‘MLSL’ has not been declared size_t size_to_alloc = net_params[idx]->count() * sizeof(Dtype) * MLSL::GetNumNodes(); ^ ./include/caffe/multinode/MlslSync.hpp:131:54: error: ‘MLSL’ has not been declared Dtype* buf = (is_root) ? (Dtype*)(Dtype*)MLSL::Alloc(size_to_alloc, 64) : NULL; ^ ./include/caffe/multinode/MlslSync.hpp:144:51: error: ‘MLSL’ has not been declared for (int node_idx = 0; node_idx < MLSL::GetNumNodes(); node_idx++) { ^ ./include/caffe/multinode/MlslSync.hpp:164:17: error: ‘MLSL’ has not been declared MLSL::Free(buf); ^ In file included from src/caffe/multinode/MlslSync.cpp:40:0: ./include/caffe/multinode/MlslSync.hpp: In member function ‘void caffe::MlslSync::on_forward_start(int)’: ./include/caffe/multinode/MlslSync.hpp:300:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap *fm = layer->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/multinode/MlslSync.hpp:300:23: error: ‘fm’ was not declared in this scope FeatureMap *fm = layer->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/multinode/MlslSync.hpp: In member function ‘void caffe::MlslSync::on_forward_finished(int)’: ./include/caffe/multinode/MlslSync.hpp:340:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap *fm = layer->layerOp->OutputFeatureMap(top_id); ^ ./include/caffe/multinode/MlslSync.hpp:340:23: error: ‘fm’ was not declared in this scope FeatureMap *fm = layer->layerOp->OutputFeatureMap(top_id); ^ ./include/caffe/multinode/MlslSync.hpp: In member function ‘void caffe::MlslSync::on_backward_start(int)’: ./include/caffe/multinode/MlslSync.hpp:379:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap *fm = layer->layerOp->OutputFeatureMap(top_id); ^ ./include/caffe/multinode/MlslSync.hpp:379:23: error: ‘fm’ was not declared in this scope FeatureMap *fm = layer->layerOp->OutputFeatureMap(top_id); ^ src/caffe/multinode/MlslSync.cpp: In constructor ‘caffe::MlslSync::MlslSync(boost::shared_ptr >)’: src/caffe/multinode/MlslSync.cpp:53:19: error: ‘MLSL’ has not been declared , is_root(MLSL::GetNodeId() == 0) ^ src/caffe/multinode/MlslSync.cpp:95:21: error: ‘FeatureMap’ was not declared in this scope FeatureMap *fm = layer->layerOp->InputFeatureMap(bottom_id); ^ src/caffe/multinode/MlslSync.cpp:95:33: error: ‘fm’ was not declared in this scope FeatureMap *fm = layer->layerOp->InputFeatureMap(bottom_id); ^ src/caffe/multinode/MlslSync.cpp:104:21: error: ‘FeatureMap’ was not declared in this scope FeatureMap *fm = layer->layerOp->OutputFeatureMap(top_id); ^ src/caffe/multinode/MlslSync.cpp:104:33: error: ‘fm’ was not declared in this scope FeatureMap *fm = layer->layerOp->OutputFeatureMap(top_id); ^ src/caffe/multinode/MlslSync.cpp: In instantiation of ‘caffe::MlslSync::MlslSync(boost::shared_ptr >) [with Dtype = float]’: src/caffe/multinode/MlslSync.cpp:150:3: required from here src/caffe/multinode/MlslSync.cpp:92:31: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (layer->layerOp->NumInputFeatureMaps()) ^ src/caffe/multinode/MlslSync.cpp:95:52: error: ‘class caffe::Layer’ has no member named ‘layerOp’ FeatureMap *fm = layer->layerOp->InputFeatureMap(bottom_id); ^ src/caffe/multinode/MlslSync.cpp:101:31: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (layer->layerOp->NumOutputFeatureMaps()) ^ src/caffe/multinode/MlslSync.cpp:104:52: error: ‘class caffe::Layer’ has no member named ‘layerOp’ FeatureMap *fm = layer->layerOp->OutputFeatureMap(top_id); ^ In file included from ./include/caffe/common.hpp:43:0, from ./include/caffe/blob.hpp:45, from ./include/caffe/net.hpp:47, from ./include/caffe/solver.hpp:44, from ./include/caffe/multinode/MlslSync.hpp:45, from src/caffe/multinode/MlslSync.cpp:40: ./include/caffe/multinode/MlslSync.hpp: In instantiation of ‘void caffe::MlslSync::apply_updates(int) [with Dtype = float]’: src/caffe/multinode/MlslSync.cpp:150:3: required from here ./include/caffe/layer.hpp:111:49: error: ‘class caffe::Layer’ has no member named ‘layerOp’ DCHECK_EQ(param_ids.size(), layer->layerOp->NumWeights()) \ ^ ./include/caffe/multinode/MlslSync.hpp:227:7: note: in expansion of macro ‘CHECK_NUM_WEIGHTS’ CHECK_NUM_WEIGHTS(layer, param_ids); ^ In file included from ./include/caffe/net.hpp:49:0, from ./include/caffe/solver.hpp:44, from ./include/caffe/multinode/MlslSync.hpp:45, from src/caffe/multinode/MlslSync.cpp:40: ./include/caffe/layer.hpp:114:45: error: ‘class caffe::Layer’ has no member named ‘layerOp’ << ", NumWeights " << layer->layerOp->NumWeights(); \ ^ ./include/caffe/multinode/MlslSync.hpp:227:7: note: in expansion of macro ‘CHECK_NUM_WEIGHTS’ CHECK_NUM_WEIGHTS(layer, param_ids); ^ In file included from src/caffe/multinode/MlslSync.cpp:40:0: ./include/caffe/multinode/MlslSync.hpp: In instantiation of ‘void caffe::MlslSync::on_forward_start(int) [with Dtype = float]’: src/caffe/multinode/MlslSync.cpp:150:3: required from here ./include/caffe/multinode/MlslSync.hpp:300:42: error: ‘class caffe::Layer’ has no member named ‘layerOp’ FeatureMap *fm = layer->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/multinode/MlslSync.hpp: In instantiation of ‘void caffe::MlslSync::on_forward_finished(int) [with Dtype = float]’: src/caffe/multinode/MlslSync.cpp:150:3: required from here ./include/caffe/multinode/MlslSync.hpp:340:42: error: ‘class caffe::Layer’ has no member named ‘layerOp’ FeatureMap *fm = layer->layerOp->OutputFeatureMap(top_id); ^ ./include/caffe/multinode/MlslSync.hpp: In instantiation of ‘void caffe::MlslSync::on_backward_start(int) [with Dtype = float]’: src/caffe/multinode/MlslSync.cpp:150:3: required from here ./include/caffe/multinode/MlslSync.hpp:379:42: error: ‘class caffe::Layer’ has no member named ‘layerOp’ FeatureMap *fm = layer->layerOp->OutputFeatureMap(top_id); ^ In file included from ./include/caffe/common.hpp:43:0, from ./include/caffe/blob.hpp:45, from ./include/caffe/net.hpp:47, from ./include/caffe/solver.hpp:44, from ./include/caffe/multinode/MlslSync.hpp:45, from src/caffe/multinode/MlslSync.cpp:40: ./include/caffe/multinode/MlslSync.hpp: In instantiation of ‘void caffe::MlslSync::on_iter_finished(int) [with Dtype = float]’: src/caffe/multinode/MlslSync.cpp:150:3: required from here ./include/caffe/layer.hpp:111:49: error: ‘class caffe::Layer’ has no member named ‘layerOp’ DCHECK_EQ(param_ids.size(), layer->layerOp->NumWeights()) \ ^ ./include/caffe/multinode/MlslSync.hpp:398:7: note: in expansion of macro ‘CHECK_NUM_WEIGHTS’ CHECK_NUM_WEIGHTS(layer, param_ids); ^ In file included from ./include/caffe/net.hpp:49:0, from ./include/caffe/solver.hpp:44, from ./include/caffe/multinode/MlslSync.hpp:45, from src/caffe/multinode/MlslSync.cpp:40: ./include/caffe/layer.hpp:114:45: error: ‘class caffe::Layer’ has no member named ‘layerOp’ << ", NumWeights " << layer->layerOp->NumWeights(); \ ^ ./include/caffe/multinode/MlslSync.hpp:398:7: note: in expansion of macro ‘CHECK_NUM_WEIGHTS’ CHECK_NUM_WEIGHTS(layer, param_ids); ^ In file included from src/caffe/multinode/MlslSync.cpp:40:0: ./include/caffe/multinode/MlslSync.hpp:406:29: error: ‘class caffe::Layer’ has no member named ‘layerOp’ layer->layerOp->GetWeights(i)->CommsStartDelWt((void*)net_params[param_ids[i]]->mutable_prv_diff()); ^ ./include/caffe/multinode/MlslSync.hpp:408:29: error: ‘class caffe::Layer’ has no member named ‘layerOp’ layer->layerOp->GetWeights(i)->CommsStartDelWt((void*)net_params[param_ids[i]]->mutable_cpu_diff()); ^ In file included from ./include/caffe/common.hpp:43:0, from ./include/caffe/blob.hpp:45, from ./include/caffe/net.hpp:47, from ./include/caffe/solver.hpp:44, from ./include/caffe/multinode/MlslSync.hpp:45, from src/caffe/multinode/MlslSync.cpp:40: ./include/caffe/multinode/MlslSync.hpp: In instantiation of ‘void caffe::MlslSync::on_delwt_wait(int) [with Dtype = float]’: src/caffe/multinode/MlslSync.cpp:150:3: required from here ./include/caffe/layer.hpp:111:49: error: ‘class caffe::Layer’ has no member named ‘layerOp’ DCHECK_EQ(param_ids.size(), layer->layerOp->NumWeights()) \ ^ ./include/caffe/multinode/MlslSync.hpp:421:7: note: in expansion of macro ‘CHECK_NUM_WEIGHTS’ CHECK_NUM_WEIGHTS(layer, param_ids); ^ In file included from ./include/caffe/net.hpp:49:0, from ./include/caffe/solver.hpp:44, from ./include/caffe/multinode/MlslSync.hpp:45, from src/caffe/multinode/MlslSync.cpp:40: ./include/caffe/layer.hpp:114:45: error: ‘class caffe::Layer’ has no member named ‘layerOp’ << ", NumWeights " << layer->layerOp->NumWeights(); \ ^ ./include/caffe/multinode/MlslSync.hpp:421:7: note: in expansion of macro ‘CHECK_NUM_WEIGHTS’ CHECK_NUM_WEIGHTS(layer, param_ids); ^ In file included from src/caffe/multinode/MlslSync.cpp:40:0: ./include/caffe/multinode/MlslSync.hpp:426:52: error: ‘class caffe::Layer’ has no member named ‘layerOp’ Dtype* delwt_buf = (Dtype*)layer->layerOp->GetWeights(i)->CommsWaitDelWt(); ^ src/caffe/multinode/MlslSync.cpp: In instantiation of ‘caffe::MlslSync::MlslSync(boost::shared_ptr >) [with Dtype = double]’: src/caffe/multinode/MlslSync.cpp:150:3: required from here src/caffe/multinode/MlslSync.cpp:92:31: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (layer->layerOp->NumInputFeatureMaps()) ^ src/caffe/multinode/MlslSync.cpp:95:52: error: ‘class caffe::Layer’ has no member named ‘layerOp’ FeatureMap *fm = layer->layerOp->InputFeatureMap(bottom_id); ^ src/caffe/multinode/MlslSync.cpp:101:31: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (layer->layerOp->NumOutputFeatureMaps()) ^ src/caffe/multinode/MlslSync.cpp:104:52: error: ‘class caffe::Layer’ has no member named ‘layerOp’ FeatureMap *fm = layer->layerOp->OutputFeatureMap(top_id); ^ In file included from ./include/caffe/common.hpp:43:0, from ./include/caffe/blob.hpp:45, from ./include/caffe/net.hpp:47, from ./include/caffe/solver.hpp:44, from ./include/caffe/multinode/MlslSync.hpp:45, from src/caffe/multinode/MlslSync.cpp:40: ./include/caffe/multinode/MlslSync.hpp: In instantiation of ‘void caffe::MlslSync::apply_updates(int) [with Dtype = double]’: src/caffe/multinode/MlslSync.cpp:150:3: required from here ./include/caffe/layer.hpp:111:49: error: ‘class caffe::Layer’ has no member named ‘layerOp’ DCHECK_EQ(param_ids.size(), layer->layerOp->NumWeights()) \ ^ ./include/caffe/multinode/MlslSync.hpp:227:7: note: in expansion of macro ‘CHECK_NUM_WEIGHTS’ CHECK_NUM_WEIGHTS(layer, param_ids); ^ In file included from ./include/caffe/net.hpp:49:0, from ./include/caffe/solver.hpp:44, from ./include/caffe/multinode/MlslSync.hpp:45, from src/caffe/multinode/MlslSync.cpp:40: ./include/caffe/layer.hpp:114:45: error: ‘class caffe::Layer’ has no member named ‘layerOp’ << ", NumWeights " << layer->layerOp->NumWeights(); \ ^ ./include/caffe/multinode/MlslSync.hpp:227:7: note: in expansion of macro ‘CHECK_NUM_WEIGHTS’ CHECK_NUM_WEIGHTS(layer, param_ids); ^ In file included from src/caffe/multinode/MlslSync.cpp:40:0: ./include/caffe/multinode/MlslSync.hpp: In instantiation of ‘void caffe::MlslSync::on_forward_start(int) [with Dtype = double]’: src/caffe/multinode/MlslSync.cpp:150:3: required from here ./include/caffe/multinode/MlslSync.hpp:300:42: error: ‘class caffe::Layer’ has no member named ‘layerOp’ FeatureMap *fm = layer->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/multinode/MlslSync.hpp: In instantiation of ‘void caffe::MlslSync::on_forward_finished(int) [with Dtype = double]’: src/caffe/multinode/MlslSync.cpp:150:3: required from here ./include/caffe/multinode/MlslSync.hpp:340:42: error: ‘class caffe::Layer’ has no member named ‘layerOp’ FeatureMap *fm = layer->layerOp->OutputFeatureMap(top_id); ^ ./include/caffe/multinode/MlslSync.hpp: In instantiation of ‘void caffe::MlslSync::on_backward_start(int) [with Dtype = double]’: src/caffe/multinode/MlslSync.cpp:150:3: required from here ./include/caffe/multinode/MlslSync.hpp:379:42: error: ‘class caffe::Layer’ has no member named ‘layerOp’ FeatureMap *fm = layer->layerOp->OutputFeatureMap(top_id); ^ In file included from ./include/caffe/common.hpp:43:0, from ./include/caffe/blob.hpp:45, from ./include/caffe/net.hpp:47, from ./include/caffe/solver.hpp:44, from ./include/caffe/multinode/MlslSync.hpp:45, from src/caffe/multinode/MlslSync.cpp:40: ./include/caffe/multinode/MlslSync.hpp: In instantiation of ‘void caffe::MlslSync::on_iter_finished(int) [with Dtype = double]’: src/caffe/multinode/MlslSync.cpp:150:3: required from here ./include/caffe/layer.hpp:111:49: error: ‘class caffe::Layer’ has no member named ‘layerOp’ DCHECK_EQ(param_ids.size(), layer->layerOp->NumWeights()) \ ^ ./include/caffe/multinode/MlslSync.hpp:398:7: note: in expansion of macro ‘CHECK_NUM_WEIGHTS’ CHECK_NUM_WEIGHTS(layer, param_ids); ^ In file included from ./include/caffe/net.hpp:49:0, from ./include/caffe/solver.hpp:44, from ./include/caffe/multinode/MlslSync.hpp:45, from src/caffe/multinode/MlslSync.cpp:40: ./include/caffe/layer.hpp:114:45: error: ‘class caffe::Layer’ has no member named ‘layerOp’ << ", NumWeights " << layer->layerOp->NumWeights(); \ ^ ./include/caffe/multinode/MlslSync.hpp:398:7: note: in expansion of macro ‘CHECK_NUM_WEIGHTS’ CHECK_NUM_WEIGHTS(layer, param_ids); ^ In file included from src/caffe/multinode/MlslSync.cpp:40:0: ./include/caffe/multinode/MlslSync.hpp:406:29: error: ‘class caffe::Layer’ has no member named ‘layerOp’ layer->layerOp->GetWeights(i)->CommsStartDelWt((void*)net_params[param_ids[i]]->mutable_prv_diff()); ^ ./include/caffe/multinode/MlslSync.hpp:408:29: error: ‘class caffe::Layer’ has no member named ‘layerOp’ layer->layerOp->GetWeights(i)->CommsStartDelWt((void*)net_params[param_ids[i]]->mutable_cpu_diff()); ^ In file included from ./include/caffe/common.hpp:43:0, from ./include/caffe/blob.hpp:45, from ./include/caffe/net.hpp:47, from ./include/caffe/solver.hpp:44, from ./include/caffe/multinode/MlslSync.hpp:45, from src/caffe/multinode/MlslSync.cpp:40: ./include/caffe/multinode/MlslSync.hpp: In instantiation of ‘void caffe::MlslSync::on_delwt_wait(int) [with Dtype = double]’: src/caffe/multinode/MlslSync.cpp:150:3: required from here ./include/caffe/layer.hpp:111:49: error: ‘class caffe::Layer’ has no member named ‘layerOp’ DCHECK_EQ(param_ids.size(), layer->layerOp->NumWeights()) \ ^ ./include/caffe/multinode/MlslSync.hpp:421:7: note: in expansion of macro ‘CHECK_NUM_WEIGHTS’ CHECK_NUM_WEIGHTS(layer, param_ids); ^ In file included from ./include/caffe/net.hpp:49:0, from ./include/caffe/solver.hpp:44, from ./include/caffe/multinode/MlslSync.hpp:45, from src/caffe/multinode/MlslSync.cpp:40: ./include/caffe/layer.hpp:114:45: error: ‘class caffe::Layer’ has no member named ‘layerOp’ << ", NumWeights " << layer->layerOp->NumWeights(); \ ^ ./include/caffe/multinode/MlslSync.hpp:421:7: note: in expansion of macro ‘CHECK_NUM_WEIGHTS’ CHECK_NUM_WEIGHTS(layer, param_ids); ^ In file included from src/caffe/multinode/MlslSync.cpp:40:0: ./include/caffe/multinode/MlslSync.hpp:426:52: error: ‘class caffe::Layer’ has no member named ‘layerOp’ Dtype* delwt_buf = (Dtype*)layer->layerOp->GetWeights(i)->CommsWaitDelWt(); ^ make: *** [.build_release/src/caffe/multinode/MlslSync.o] Error 1 CXX src/caffe/parallel.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/net.hpp:47, from ./include/caffe/solver.hpp:44, from ./include/caffe/sgd_solvers.hpp:44, from src/caffe/solvers/adadelta_solver.cpp:40: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/net.hpp:49, from ./include/caffe/solver.hpp:44, from ./include/caffe/sgd_solvers.hpp:44, from src/caffe/solvers/adadelta_solver.cpp:40: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/net.hpp:49:0, from ./include/caffe/solver.hpp:44, from ./include/caffe/sgd_solvers.hpp:44, from src/caffe/solvers/adadelta_solver.cpp:40: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/net.hpp:49:0, from ./include/caffe/solver.hpp:44, from ./include/caffe/sgd_solvers.hpp:44, from src/caffe/solvers/adadelta_solver.cpp:40: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/net.hpp:49:0, from ./include/caffe/solver.hpp:44, from ./include/caffe/sgd_solvers.hpp:44, from src/caffe/solvers/adadelta_solver.cpp:40: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/net.hpp:49:0, from ./include/caffe/solver.hpp:44, from ./include/caffe/sgd_solvers.hpp:44, from src/caffe/solvers/adadelta_solver.cpp:40: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ make: *** [.build_release/src/caffe/solvers/adadelta_solver.o] Error 1 CXX src/caffe/layer.cpp In file included from src/caffe/syncedmem.cpp:39:0: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ make: *** [.build_release/src/caffe/syncedmem.o] Error 1 CXX src/caffe/MlslSolver.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layer.hpp:45, from src/caffe/net.cpp:48: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from src/caffe/net.cpp:48: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from src/caffe/net.cpp:48:0: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from src/caffe/net.cpp:48:0: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from src/caffe/net.cpp:48:0: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from src/caffe/net.cpp:48:0: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ src/caffe/net.cpp: At global scope: src/caffe/net.cpp:67:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ src/caffe/net.cpp:67:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ src/caffe/net.cpp: In member function ‘void caffe::Net::Init(const caffe::NetParameter&)’: src/caffe/net.cpp:266:55: error: there are no arguments to ‘GetNumNodes’ that depend on a template parameter, so a declaration of ‘GetNumNodes’ must be available [-fpermissive] SetMinibatchSize(batch_size * GetNumNodes()); ^ src/caffe/net.cpp:266:55: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) src/caffe/net.cpp: In instantiation of ‘void caffe::Net::Init(const caffe::NetParameter&) [with Dtype = float]’: src/caffe/net.cpp:1504:1: required from here src/caffe/net.cpp:266:55: error: ‘GetNumNodes’ was not declared in this scope src/caffe/net.cpp:266:56: error: ‘SetMinibatchSize’ was not declared in this scope SetMinibatchSize(batch_size * GetNumNodes()); ^ src/caffe/net.cpp:435:15: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (!layers_[layer_id]->layerOp) { ^ src/caffe/net.cpp:456:58: error: ‘class caffe::Layer’ has no member named ‘layerOp’ layers_[next_layer_id]->layerOp->SetPrev(layers_[layer_id]->layerOp, bottom_id, top_id); ^ src/caffe/net.cpp:456:27: error: ‘class caffe::Layer’ has no member named ‘layerOp’ layers_[next_layer_id]->layerOp->SetPrev(layers_[layer_id]->layerOp, bottom_id, top_id); ^ src/caffe/net.cpp:480:29: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (layer->layerOp->HasWeights()) { ^ In file included from ./include/caffe/common.hpp:43:0, from src/caffe/net.cpp:47: ./include/caffe/layer.hpp:111:49: error: ‘class caffe::Layer’ has no member named ‘layerOp’ DCHECK_EQ(param_ids.size(), layer->layerOp->NumWeights()) \ ^ src/caffe/net.cpp:482:15: note: in expansion of macro ‘CHECK_NUM_WEIGHTS’ CHECK_NUM_WEIGHTS(layer, param_ids); ^ In file included from src/caffe/net.cpp:48:0: ./include/caffe/layer.hpp:114:45: error: ‘class caffe::Layer’ has no member named ‘layerOp’ << ", NumWeights " << layer->layerOp->NumWeights(); \ ^ src/caffe/net.cpp:482:15: note: in expansion of macro ‘CHECK_NUM_WEIGHTS’ CHECK_NUM_WEIGHTS(layer, param_ids); ^ src/caffe/net.cpp:485:57: error: ‘class caffe::Layer’ has no member named ‘layerOp’ * layer->layerOp->GetWeights(i)->WTSize() ^ src/caffe/net.cpp:484:56: error: ‘class caffe::Layer’ has no member named ‘layerOp’ int mlsl_weight_size = layer->layerOp->GetWeights(i)->LocalLen() ^ src/caffe/net.cpp: In instantiation of ‘static void caffe::Net::CompilationRuleTwo(const caffe::NetParameter&, caffe::NetParameter*) [with Dtype = float]’: src/caffe/net.cpp:1504:1: required from here src/caffe/net.cpp:650:65: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] && param.engine().find(":DLA", 6) == string::npos)) || ^ src/caffe/net.cpp:669:65: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] && param.engine().find(":DLA", 6) == string::npos)) || ^ src/caffe/net.cpp: In instantiation of ‘void caffe::Net::Init(const caffe::NetParameter&) [with Dtype = double]’: src/caffe/net.cpp:1504:1: required from here src/caffe/net.cpp:266:55: error: ‘GetNumNodes’ was not declared in this scope SetMinibatchSize(batch_size * GetNumNodes()); ^ src/caffe/net.cpp:266:56: error: ‘SetMinibatchSize’ was not declared in this scope SetMinibatchSize(batch_size * GetNumNodes()); ^ src/caffe/net.cpp:435:15: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (!layers_[layer_id]->layerOp) { ^ src/caffe/net.cpp:456:58: error: ‘class caffe::Layer’ has no member named ‘layerOp’ layers_[next_layer_id]->layerOp->SetPrev(layers_[layer_id]->layerOp, bottom_id, top_id); ^ src/caffe/net.cpp:456:27: error: ‘class caffe::Layer’ has no member named ‘layerOp’ layers_[next_layer_id]->layerOp->SetPrev(layers_[layer_id]->layerOp, bottom_id, top_id); ^ src/caffe/net.cpp:480:29: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (layer->layerOp->HasWeights()) { ^ In file included from ./include/caffe/common.hpp:43:0, from src/caffe/net.cpp:47: ./include/caffe/layer.hpp:111:49: error: ‘class caffe::Layer’ has no member named ‘layerOp’ DCHECK_EQ(param_ids.size(), layer->layerOp->NumWeights()) \ ^ src/caffe/net.cpp:482:15: note: in expansion of macro ‘CHECK_NUM_WEIGHTS’ CHECK_NUM_WEIGHTS(layer, param_ids); ^ In file included from src/caffe/net.cpp:48:0: ./include/caffe/layer.hpp:114:45: error: ‘class caffe::Layer’ has no member named ‘layerOp’ << ", NumWeights " << layer->layerOp->NumWeights(); \ ^ src/caffe/net.cpp:482:15: note: in expansion of macro ‘CHECK_NUM_WEIGHTS’ CHECK_NUM_WEIGHTS(layer, param_ids); ^ src/caffe/net.cpp:485:57: error: ‘class caffe::Layer’ has no member named ‘layerOp’ * layer->layerOp->GetWeights(i)->WTSize() ^ src/caffe/net.cpp:484:56: error: ‘class caffe::Layer’ has no member named ‘layerOp’ int mlsl_weight_size = layer->layerOp->GetWeights(i)->LocalLen() ^ src/caffe/net.cpp: In instantiation of ‘static void caffe::Net::CompilationRuleTwo(const caffe::NetParameter&, caffe::NetParameter*) [with Dtype = double]’: src/caffe/net.cpp:1504:1: required from here src/caffe/net.cpp:650:65: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] && param.engine().find(":DLA", 6) == string::npos)) || ^ src/caffe/net.cpp:669:65: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] && param.engine().find(":DLA", 6) == string::npos)) || ^ In file included from src/caffe/net.cpp:48:0: ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: /usr/include/boost/checked_delete.hpp:34:5: required from ‘void boost::checked_delete(T*) [with T = caffe::Layer]’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:134:38: required from ‘boost::detail::shared_count::shared_count(Y*) [with Y = caffe::Layer]’ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:47: required from ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, boost::detail::shared_count&) [with T = caffe::Layer; Y = caffe::Layer]’ /usr/include/boost/smart_ptr/shared_ptr.hpp:354:58: required from ‘boost::shared_ptr::shared_ptr(Y*) [with Y = caffe::Layer; T = caffe::Layer]’ /usr/include/boost/smart_ptr/shared_ptr.hpp:625:9: required from ‘void boost::shared_ptr::reset(Y*) [with Y = caffe::Layer; T = caffe::Layer]’ src/caffe/net.cpp:1498:5: required from ‘const boost::shared_ptr > caffe::Net::layer_by_name(const string&) const [with Dtype = float; std::string = std::basic_string]’ src/caffe/net.cpp:1504:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: /usr/include/boost/checked_delete.hpp:34:5: required from ‘void boost::checked_delete(T*) [with T = caffe::Layer]’ /usr/include/boost/smart_ptr/detail/shared_count.hpp:134:38: required from ‘boost::detail::shared_count::shared_count(Y*) [with Y = caffe::Layer]’ /usr/include/boost/smart_ptr/shared_ptr.hpp:276:47: required from ‘void boost::detail::sp_pointer_construct(boost::shared_ptr*, Y*, boost::detail::shared_count&) [with T = caffe::Layer; Y = caffe::Layer]’ /usr/include/boost/smart_ptr/shared_ptr.hpp:354:58: required from ‘boost::shared_ptr::shared_ptr(Y*) [with Y = caffe::Layer; T = caffe::Layer]’ /usr/include/boost/smart_ptr/shared_ptr.hpp:625:9: required from ‘void boost::shared_ptr::reset(Y*) [with Y = caffe::Layer; T = caffe::Layer]’ src/caffe/net.cpp:1498:5: required from ‘const boost::shared_ptr > caffe::Net::layer_by_name(const string&) const [with Dtype = double; std::string = std::basic_string]’ src/caffe/net.cpp:1504:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/net.cpp:1506:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/net.cpp:1506:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/net.o] Error 1 CXX src/caffe/internal_thread.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/net.hpp:47, from ./include/caffe/solver.hpp:44, from ./include/caffe/sgd_solvers.hpp:44, from src/caffe/solvers/rmsprop_solver.cpp:40: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/net.hpp:49, from ./include/caffe/solver.hpp:44, from ./include/caffe/sgd_solvers.hpp:44, from src/caffe/solvers/rmsprop_solver.cpp:40: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/net.hpp:49:0, from ./include/caffe/solver.hpp:44, from ./include/caffe/sgd_solvers.hpp:44, from src/caffe/solvers/rmsprop_solver.cpp:40: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/net.hpp:49:0, from ./include/caffe/solver.hpp:44, from ./include/caffe/sgd_solvers.hpp:44, from src/caffe/solvers/rmsprop_solver.cpp:40: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/net.hpp:49:0, from ./include/caffe/solver.hpp:44, from ./include/caffe/sgd_solvers.hpp:44, from src/caffe/solvers/rmsprop_solver.cpp:40: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/net.hpp:49:0, from ./include/caffe/solver.hpp:44, from ./include/caffe/sgd_solvers.hpp:44, from src/caffe/solvers/rmsprop_solver.cpp:40: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ make: *** [.build_release/src/caffe/solvers/rmsprop_solver.o] Error 1 CXX src/caffe/common.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/net.hpp:47, from ./include/caffe/solver.hpp:44, from ./include/caffe/sgd_solvers.hpp:44, from src/caffe/solvers/nesterov_solver.cpp:40: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/net.hpp:49, from ./include/caffe/solver.hpp:44, from ./include/caffe/sgd_solvers.hpp:44, from src/caffe/solvers/nesterov_solver.cpp:40: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/net.hpp:49:0, from ./include/caffe/solver.hpp:44, from ./include/caffe/sgd_solvers.hpp:44, from src/caffe/solvers/nesterov_solver.cpp:40: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/net.hpp:49:0, from ./include/caffe/solver.hpp:44, from ./include/caffe/sgd_solvers.hpp:44, from src/caffe/solvers/nesterov_solver.cpp:40: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/net.hpp:49:0, from ./include/caffe/solver.hpp:44, from ./include/caffe/sgd_solvers.hpp:44, from src/caffe/solvers/nesterov_solver.cpp:40: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/net.hpp:49:0, from ./include/caffe/solver.hpp:44, from ./include/caffe/sgd_solvers.hpp:44, from src/caffe/solvers/nesterov_solver.cpp:40: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ make: *** [.build_release/src/caffe/solvers/nesterov_solver.o] Error 1 CXX src/caffe/util/insert_splits.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/net.hpp:47, from ./include/caffe/solver.hpp:44, from ./include/caffe/sgd_solvers.hpp:44, from src/caffe/solvers/adam_solver.cpp:40: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/net.hpp:49, from ./include/caffe/solver.hpp:44, from ./include/caffe/sgd_solvers.hpp:44, from src/caffe/solvers/adam_solver.cpp:40: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/net.hpp:49:0, from ./include/caffe/solver.hpp:44, from ./include/caffe/sgd_solvers.hpp:44, from src/caffe/solvers/adam_solver.cpp:40: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/net.hpp:49:0, from ./include/caffe/solver.hpp:44, from ./include/caffe/sgd_solvers.hpp:44, from src/caffe/solvers/adam_solver.cpp:40: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/net.hpp:49:0, from ./include/caffe/solver.hpp:44, from ./include/caffe/sgd_solvers.hpp:44, from src/caffe/solvers/adam_solver.cpp:40: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/net.hpp:49:0, from ./include/caffe/solver.hpp:44, from ./include/caffe/sgd_solvers.hpp:44, from src/caffe/solvers/adam_solver.cpp:40: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ make: *** [.build_release/src/caffe/solvers/adam_solver.o] Error 1 CXX src/caffe/util/sampler.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/net.hpp:47, from ./include/caffe/solver.hpp:44, from ./include/caffe/sgd_solvers.hpp:44, from src/caffe/solvers/adagrad_solver.cpp:40: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/net.hpp:49, from ./include/caffe/solver.hpp:44, from ./include/caffe/sgd_solvers.hpp:44, from src/caffe/solvers/adagrad_solver.cpp:40: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/net.hpp:49:0, from ./include/caffe/solver.hpp:44, from ./include/caffe/sgd_solvers.hpp:44, from src/caffe/solvers/adagrad_solver.cpp:40: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/net.hpp:49:0, from ./include/caffe/solver.hpp:44, from ./include/caffe/sgd_solvers.hpp:44, from src/caffe/solvers/adagrad_solver.cpp:40: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/net.hpp:49:0, from ./include/caffe/solver.hpp:44, from ./include/caffe/sgd_solvers.hpp:44, from src/caffe/solvers/adagrad_solver.cpp:40: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/net.hpp:49:0, from ./include/caffe/solver.hpp:44, from ./include/caffe/sgd_solvers.hpp:44, from src/caffe/solvers/adagrad_solver.cpp:40: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ make: *** [.build_release/src/caffe/solvers/adagrad_solver.o] Error 1 CXX src/caffe/util/im_transforms.cpp CXX src/caffe/util/insert_bias_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layer.hpp:45, from src/caffe/layer.cpp:39: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from src/caffe/layer.cpp:39: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from src/caffe/layer.cpp:39:0: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from src/caffe/layer.cpp:39:0: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from src/caffe/layer.cpp:39:0: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from src/caffe/layer.cpp:39:0: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ In file included from src/caffe/layer.cpp:39:0: ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::on_delinp_ready(const std::vector&) [with Dtype = float]’: src/caffe/layer.cpp:62:1: required from here ./include/caffe/layer.hpp:157:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (!this->layerOp->NumInputFeatureMaps()) { ^ ./include/caffe/layer.hpp:172:41: error: ‘class caffe::Layer’ has no member named ‘layerOp’ FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetPrevLayer(int, caffe::Layer*) [with Dtype = float]’: src/caffe/layer.cpp:62:1: required from here ./include/caffe/layer.hpp:225:33: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->prevLayerOps[index] = prevLayer->layerOp; ^ ./include/caffe/layer.hpp:225:25: error: subscripted value is neither array nor pointer this->prevLayerOps[index] = prevLayer->layerOp; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::ConfigureMLSL() [with Dtype = float]’: src/caffe/layer.cpp:62:1: required from here ./include/caffe/layer.hpp:231:20: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->Finalize(); ^ ./include/caffe/layer.hpp:232:20: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->AllocCommsBufs(); ^ ./include/caffe/layer.hpp:233:7: error: request for member ‘size’ in ‘((caffe::Layer*)this)->caffe::Layer::prevLayerOps’, which is of non-class type ‘int’ this->bottom_sizes.resize(this->prevLayerOps.size()); ^ ./include/caffe/layer.hpp:235:25: error: request for member ‘size’ in ‘((caffe::Layer*)this)->caffe::Layer::prevLayerOps’, which is of non-class type ‘int’ for (int i = 0; i < this->prevLayerOps.size(); i++) ^ ./include/caffe/layer.hpp:237:119: error: ‘class caffe::Layer’ has no member named ‘layerOp’ in_size = this->layerOp->InputFeatureMap(i)->LocalLen() * this->layerOp->LocalMinibatchLen() * this->layerOp->InputFeatureMap(i)->FMSize() * sizeof(Dtype); ^ ./include/caffe/layer.hpp:237:82: error: ‘class caffe::Layer’ has no member named ‘layerOp’ in_size = this->layerOp->InputFeatureMap(i)->LocalLen() * this->layerOp->LocalMinibatchLen() * this->layerOp->InputFeatureMap(i)->FMSize() * sizeof(Dtype); ^ ./include/caffe/layer.hpp:237:34: error: ‘class caffe::Layer’ has no member named ‘layerOp’ in_size = this->layerOp->InputFeatureMap(i)->LocalLen() * this->layerOp->LocalMinibatchLen() * this->layerOp->InputFeatureMap(i)->FMSize() * sizeof(Dtype); ^ In file included from src/caffe/layer.cpp:39:0: ./include/caffe/layer.hpp:244:46: error: ‘class caffe::Layer’ has no member named ‘layerOp’ << ", ifm fmsize " << this->layerOp->InputFeatureMap(i)->FMSize() ^ ./include/caffe/layer.hpp:243:47: error: ‘class caffe::Layer’ has no member named ‘layerOp’ << ", local mblen " << this->layerOp->LocalMinibatchLen() ^ ./include/caffe/layer.hpp:242:42: error: ‘class caffe::Layer’ has no member named ‘layerOp’ << ", ifm ll " << this->layerOp->InputFeatureMap(i)->LocalLen() ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: src/caffe/layer.cpp:62:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: src/caffe/layer.cpp:62:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUp(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layer.cpp:62:1: required from here ./include/caffe/layer.hpp:311:5: error: request for member ‘resize’ in ‘((caffe::Layer*)this)->caffe::Layer::prevLayerOps’, which is of non-class type ‘int’ this->prevLayerOps.resize(bottom.size()); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layer.cpp:62:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ In file included from src/caffe/layer.cpp:39:0: ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::on_delinp_ready(const std::vector&) [with Dtype = double]’: src/caffe/layer.cpp:62:1: required from here ./include/caffe/layer.hpp:157:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (!this->layerOp->NumInputFeatureMaps()) { ^ ./include/caffe/layer.hpp:172:41: error: ‘class caffe::Layer’ has no member named ‘layerOp’ FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetPrevLayer(int, caffe::Layer*) [with Dtype = double]’: src/caffe/layer.cpp:62:1: required from here ./include/caffe/layer.hpp:225:33: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->prevLayerOps[index] = prevLayer->layerOp; ^ ./include/caffe/layer.hpp:225:25: error: subscripted value is neither array nor pointer this->prevLayerOps[index] = prevLayer->layerOp; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::ConfigureMLSL() [with Dtype = double]’: src/caffe/layer.cpp:62:1: required from here ./include/caffe/layer.hpp:231:20: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->Finalize(); ^ ./include/caffe/layer.hpp:232:20: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->AllocCommsBufs(); ^ ./include/caffe/layer.hpp:233:7: error: request for member ‘size’ in ‘((caffe::Layer*)this)->caffe::Layer::prevLayerOps’, which is of non-class type ‘int’ this->bottom_sizes.resize(this->prevLayerOps.size()); ^ ./include/caffe/layer.hpp:235:25: error: request for member ‘size’ in ‘((caffe::Layer*)this)->caffe::Layer::prevLayerOps’, which is of non-class type ‘int’ for (int i = 0; i < this->prevLayerOps.size(); i++) ^ ./include/caffe/layer.hpp:237:119: error: ‘class caffe::Layer’ has no member named ‘layerOp’ in_size = this->layerOp->InputFeatureMap(i)->LocalLen() * this->layerOp->LocalMinibatchLen() * this->layerOp->InputFeatureMap(i)->FMSize() * sizeof(Dtype); ^ ./include/caffe/layer.hpp:237:82: error: ‘class caffe::Layer’ has no member named ‘layerOp’ in_size = this->layerOp->InputFeatureMap(i)->LocalLen() * this->layerOp->LocalMinibatchLen() * this->layerOp->InputFeatureMap(i)->FMSize() * sizeof(Dtype); ^ ./include/caffe/layer.hpp:237:34: error: ‘class caffe::Layer’ has no member named ‘layerOp’ in_size = this->layerOp->InputFeatureMap(i)->LocalLen() * this->layerOp->LocalMinibatchLen() * this->layerOp->InputFeatureMap(i)->FMSize() * sizeof(Dtype); ^ In file included from src/caffe/layer.cpp:39:0: ./include/caffe/layer.hpp:244:46: error: ‘class caffe::Layer’ has no member named ‘layerOp’ << ", ifm fmsize " << this->layerOp->InputFeatureMap(i)->FMSize() ^ ./include/caffe/layer.hpp:243:47: error: ‘class caffe::Layer’ has no member named ‘layerOp’ << ", local mblen " << this->layerOp->LocalMinibatchLen() ^ ./include/caffe/layer.hpp:242:42: error: ‘class caffe::Layer’ has no member named ‘layerOp’ << ", ifm ll " << this->layerOp->InputFeatureMap(i)->LocalLen() ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: src/caffe/layer.cpp:62:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: src/caffe/layer.cpp:62:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUp(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layer.cpp:62:1: required from here ./include/caffe/layer.hpp:311:5: error: request for member ‘resize’ in ‘((caffe::Layer*)this)->caffe::Layer::prevLayerOps’, which is of non-class type ‘int’ this->prevLayerOps.resize(bottom.size()); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layer.cpp:62:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ make: *** [.build_release/src/caffe/layer.o] Error 1 CXX src/caffe/util/bbox_util.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/net.hpp:47, from ./include/caffe/MlslSolver.hpp:48, from src/caffe/MlslSolver.cpp:43: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/net.hpp:49, from ./include/caffe/MlslSolver.hpp:48, from src/caffe/MlslSolver.cpp:43: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/net.hpp:49:0, from ./include/caffe/MlslSolver.hpp:48, from src/caffe/MlslSolver.cpp:43: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/net.hpp:49:0, from ./include/caffe/MlslSolver.hpp:48, from src/caffe/MlslSolver.cpp:43: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/net.hpp:49:0, from ./include/caffe/MlslSolver.hpp:48, from src/caffe/MlslSolver.cpp:43: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/net.hpp:49:0, from ./include/caffe/MlslSolver.hpp:48, from src/caffe/MlslSolver.cpp:43: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ src/caffe/MlslSolver.cpp: In constructor ‘caffe::MlslSolver::MlslSolver(boost::shared_ptr >)’: src/caffe/MlslSolver.cpp:51:16: error: ‘MLSL’ has not been declared , multi_node(MLSL::GetNumNodes() > 1) { ^ src/caffe/MlslSolver.cpp: In instantiation of ‘Dtype caffe::MlslSolver::ForwardBackwardImpl(bool, bool) [with Dtype = float]’: src/caffe/MlslSolver.cpp:254:1: required from here src/caffe/MlslSolver.cpp:91:41: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (multi_node && layers[i]->layerOp->NumInputFeatureMaps()) { ^ src/caffe/MlslSolver.cpp:119:41: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (multi_node && layers[i]->layerOp->NumOutputFeatureMaps()) { ^ src/caffe/MlslSolver.cpp:143:41: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (multi_node && layers[i]->layerOp->NumOutputFeatureMaps()) { ^ src/caffe/MlslSolver.cpp:161:78: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (multi_node && !layers[i]->layerOp->HasWeights() && layers[i]->layerOp->NumInputFeatureMaps()) // otherwise start delinp here ^ src/caffe/MlslSolver.cpp:161:42: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (multi_node && !layers[i]->layerOp->HasWeights() && layers[i]->layerOp->NumInputFeatureMaps()) // otherwise start delinp here ^ src/caffe/MlslSolver.cpp:164:49: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (multi_node && last && layers[i]->layerOp->HasWeights()) { ^ src/caffe/MlslSolver.cpp:184:57: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (!layer_need_backward[i] || !layers[i]->layerOp->HasWeights()) { ^ src/caffe/MlslSolver.cpp: In instantiation of ‘Dtype caffe::MlslSolver::ForwardBackwardImpl(bool, bool) [with Dtype = double]’: src/caffe/MlslSolver.cpp:254:1: required from here src/caffe/MlslSolver.cpp:91:41: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (multi_node && layers[i]->layerOp->NumInputFeatureMaps()) { ^ src/caffe/MlslSolver.cpp:119:41: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (multi_node && layers[i]->layerOp->NumOutputFeatureMaps()) { ^ src/caffe/MlslSolver.cpp:143:41: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (multi_node && layers[i]->layerOp->NumOutputFeatureMaps()) { ^ src/caffe/MlslSolver.cpp:161:78: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (multi_node && !layers[i]->layerOp->HasWeights() && layers[i]->layerOp->NumInputFeatureMaps()) // otherwise start delinp here ^ src/caffe/MlslSolver.cpp:161:42: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (multi_node && !layers[i]->layerOp->HasWeights() && layers[i]->layerOp->NumInputFeatureMaps()) // otherwise start delinp here ^ src/caffe/MlslSolver.cpp:164:49: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (multi_node && last && layers[i]->layerOp->HasWeights()) { ^ src/caffe/MlslSolver.cpp:184:57: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (!layer_need_backward[i] || !layers[i]->layerOp->HasWeights()) { ^ make: *** [.build_release/src/caffe/MlslSolver.o] Error 1 CXX src/caffe/util/upgrade_proto.cpp CXX src/caffe/util/cudnn.cpp CXX src/caffe/util/math_functions.cpp CXX src/caffe/util/blocking_queue.cpp CXX src/caffe/util/io.cpp CXX src/caffe/util/db.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/caffe.hpp:44, from src/caffe/parallel.cpp:49: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/caffe.hpp:47, from src/caffe/parallel.cpp:49: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/caffe.hpp:47:0, from src/caffe/parallel.cpp:49: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/caffe.hpp:47:0, from src/caffe/parallel.cpp:49: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/caffe.hpp:47:0, from src/caffe/parallel.cpp:49: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/caffe.hpp:47:0, from src/caffe/parallel.cpp:49: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ make: *** [.build_release/src/caffe/parallel.o] Error 1 CXX src/caffe/util/cpu_info.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/caffe.hpp:44, from ./include/caffe/util/bbox_util.hpp:56, from src/caffe/util/sampler.cpp:41: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/caffe.hpp:47, from ./include/caffe/util/bbox_util.hpp:56, from src/caffe/util/sampler.cpp:41: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/caffe.hpp:47:0, from ./include/caffe/util/bbox_util.hpp:56, from src/caffe/util/sampler.cpp:41: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/caffe.hpp:47:0, from ./include/caffe/util/bbox_util.hpp:56, from src/caffe/util/sampler.cpp:41: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/caffe.hpp:47:0, from ./include/caffe/util/bbox_util.hpp:56, from src/caffe/util/sampler.cpp:41: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/caffe.hpp:47:0, from ./include/caffe/util/bbox_util.hpp:56, from src/caffe/util/sampler.cpp:41: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:4: note: suggested alternative: In file included from ./include/caffe/util/bbox_util.hpp:39:0, from src/caffe/util/sampler.cpp:41: /usr/local/include/opencv2/core/core.hpp:996:30: note: ‘cv::DataType’ template class DataType ^ In file included from ./include/caffe/caffe.hpp:47:0, from ./include/caffe/util/bbox_util.hpp:56, from src/caffe/util/sampler.cpp:41: ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ make: *** [.build_release/src/caffe/util/sampler.o] Error 1 CXX src/caffe/util/benchmark.cpp CXX src/caffe/util/hdf5.cpp src/caffe/util/upgrade_proto.cpp: In function ‘std::string caffe::getNodeId()’: src/caffe/util/upgrade_proto.cpp:1116:25: error: ‘MLSL’ has not been declared return std::to_string(MLSL::GetNodeId()); ^ src/caffe/util/upgrade_proto.cpp: In function ‘std::string caffe::getNumNodes()’: src/caffe/util/upgrade_proto.cpp:1120:25: error: ‘MLSL’ has not been declared return std::to_string(MLSL::GetNumNodes()); ^ src/caffe/util/upgrade_proto.cpp: In function ‘std::string caffe::getNodeId()’: src/caffe/util/upgrade_proto.cpp:1117:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ src/caffe/util/upgrade_proto.cpp: In function ‘std::string caffe::getNumNodes()’: src/caffe/util/upgrade_proto.cpp:1121:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ make: *** [.build_release/src/caffe/util/upgrade_proto.o] Error 1 CXX src/caffe/util/db_leveldb.cpp CXX src/caffe/util/signal_handler.cpp CXX src/caffe/util/db_lmdb.cpp CXX src/caffe/util/im2col.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/util/hdf5.hpp:46, from src/caffe/util/hdf5.cpp:38: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ make: *** [.build_release/src/caffe/util/hdf5.o] Error 1 CXX src/caffe/internode/mlsl_util.cpp In file included from src/caffe/internode/mlsl_util.cpp:45:0: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ src/caffe/internode/mlsl_util.cpp:50:1: error: ‘MLSL’ does not name a type MLSL::Distribution *data_parallelism; ^ src/caffe/internode/mlsl_util.cpp:51:1: error: ‘MLSL’ does not name a type MLSL::Distribution *model_parallelism; ^ src/caffe/internode/mlsl_util.cpp: In function ‘void caffe::internode::mlsl_init(int, char**)’: src/caffe/internode/mlsl_util.cpp:66:3: error: ‘MLSL’ has not been declared MLSL::Init(&argc, &argv); ^ src/caffe/internode/mlsl_util.cpp: In function ‘void caffe::internode::mlsl_finalize()’: src/caffe/internode/mlsl_util.cpp:72:14: error: ‘data_parallelism’ was not declared in this scope delete data_parallelism; ^ src/caffe/internode/mlsl_util.cpp:73:14: error: ‘model_parallelism’ was not declared in this scope delete model_parallelism; ^ src/caffe/internode/mlsl_util.cpp:77:3: error: ‘MLSL’ has not been declared MLSL::Finalize(); ^ src/caffe/internode/mlsl_util.cpp: In function ‘void caffe::internode::mlsl_init_distributions()’: src/caffe/internode/mlsl_util.cpp:84:9: error: ‘data_parallelism’ was not declared in this scope data_parallelism = new MLSL::Distribution(MLSL::GetNumNodes(), 1); ^ src/caffe/internode/mlsl_util.cpp:84:32: error: expected type-specifier before ‘MLSL’ data_parallelism = new MLSL::Distribution(MLSL::GetNumNodes(), 1); ^ src/caffe/internode/mlsl_util.cpp:84:32: error: expected ‘;’ before ‘MLSL’ src/caffe/internode/mlsl_util.cpp:85:9: error: ‘model_parallelism’ was not declared in this scope model_parallelism = new MLSL::Distribution(1, MLSL::GetNumNodes()); ^ src/caffe/internode/mlsl_util.cpp:85:33: error: expected type-specifier before ‘MLSL’ model_parallelism = new MLSL::Distribution(1, MLSL::GetNumNodes()); ^ src/caffe/internode/mlsl_util.cpp:85:33: error: expected ‘;’ before ‘MLSL’ make: *** [.build_release/src/caffe/internode/mlsl_util.o] Error 1 CXX src/caffe/layers/mkldnn_relu_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/caffe.hpp:44, from ./include/caffe/util/bbox_util.hpp:56, from src/caffe/util/bbox_util.cpp:50: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/caffe.hpp:47, from ./include/caffe/util/bbox_util.hpp:56, from src/caffe/util/bbox_util.cpp:50: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/caffe.hpp:47:0, from ./include/caffe/util/bbox_util.hpp:56, from src/caffe/util/bbox_util.cpp:50: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/caffe.hpp:47:0, from ./include/caffe/util/bbox_util.hpp:56, from src/caffe/util/bbox_util.cpp:50: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/caffe.hpp:47:0, from ./include/caffe/util/bbox_util.hpp:56, from src/caffe/util/bbox_util.cpp:50: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/caffe.hpp:47:0, from ./include/caffe/util/bbox_util.hpp:56, from src/caffe/util/bbox_util.cpp:50: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:4: note: suggested alternative: In file included from ./include/caffe/util/bbox_util.hpp:39:0, from src/caffe/util/bbox_util.cpp:50: /usr/local/include/opencv2/core/core.hpp:996:30: note: ‘cv::DataType’ template class DataType ^ In file included from ./include/caffe/caffe.hpp:47:0, from ./include/caffe/util/bbox_util.hpp:56, from src/caffe/util/bbox_util.cpp:50: ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ make: *** [.build_release/src/caffe/util/bbox_util.o] Error 1 CXX src/caffe/layers/contrastive_loss_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layers/base_data_layer.hpp:43, from src/caffe/util/blocking_queue.cpp:42: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/base_data_layer.hpp:46, from src/caffe/util/blocking_queue.cpp:42: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/base_data_layer.hpp:46:0, from src/caffe/util/blocking_queue.cpp:42: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/base_data_layer.hpp:46:0, from src/caffe/util/blocking_queue.cpp:42: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/base_data_layer.hpp:46:0, from src/caffe/util/blocking_queue.cpp:42: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/base_data_layer.hpp:46:0, from src/caffe/util/blocking_queue.cpp:42: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ In file included from src/caffe/util/blocking_queue.cpp:42:0: ./include/caffe/layers/base_data_layer.hpp: At global scope: ./include/caffe/layers/base_data_layer.hpp:80:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/base_data_layer.hpp:80:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/base_data_layer.hpp:81:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/base_data_layer.hpp:81:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ make: *** [.build_release/src/caffe/util/blocking_queue.o] Error 1 CXX src/caffe/layers/annotated_data_layer.cpp CXX src/caffe/layers/smooth_L1_loss_layer.cpp CXX src/caffe/layers/embed_layer.cpp CXX src/caffe/layers/conv_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/net.hpp:47, from ./include/caffe/solver.hpp:44, from ./include/caffe/util/signal_handler.h:42, from src/caffe/util/signal_handler.cpp:44: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/net.hpp:49, from ./include/caffe/solver.hpp:44, from ./include/caffe/util/signal_handler.h:42, from src/caffe/util/signal_handler.cpp:44: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/net.hpp:49:0, from ./include/caffe/solver.hpp:44, from ./include/caffe/util/signal_handler.h:42, from src/caffe/util/signal_handler.cpp:44: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/net.hpp:49:0, from ./include/caffe/solver.hpp:44, from ./include/caffe/util/signal_handler.h:42, from src/caffe/util/signal_handler.cpp:44: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/net.hpp:49:0, from ./include/caffe/solver.hpp:44, from ./include/caffe/util/signal_handler.h:42, from src/caffe/util/signal_handler.cpp:44: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/net.hpp:49:0, from ./include/caffe/solver.hpp:44, from ./include/caffe/util/signal_handler.h:42, from src/caffe/util/signal_handler.cpp:44: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ make: *** [.build_release/src/caffe/util/signal_handler.o] Error 1 CXX src/caffe/layers/input_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layers/mkldnn_layers.hpp:45, from src/caffe/layers/mkldnn_relu_layer.cpp:42: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/base_conv_layer.hpp:44, from ./include/caffe/layers/mkldnn_layers.hpp:48, from src/caffe/layers/mkldnn_relu_layer.cpp:42: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/base_conv_layer.hpp:44:0, from ./include/caffe/layers/mkldnn_layers.hpp:48, from src/caffe/layers/mkldnn_relu_layer.cpp:42: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/base_conv_layer.hpp:44:0, from ./include/caffe/layers/mkldnn_layers.hpp:48, from src/caffe/layers/mkldnn_relu_layer.cpp:42: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/base_conv_layer.hpp:44:0, from ./include/caffe/layers/mkldnn_layers.hpp:48, from src/caffe/layers/mkldnn_relu_layer.cpp:42: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/base_conv_layer.hpp:44:0, from ./include/caffe/layers/mkldnn_layers.hpp:48, from src/caffe/layers/mkldnn_relu_layer.cpp:42: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/neuron_layer.hpp:56:7: required from ‘caffe::MKLDNNReLULayer::MKLDNNReLULayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/mkldnn_relu_layer.cpp:265:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/neuron_layer.hpp:56:7: required from ‘caffe::MKLDNNReLULayer::MKLDNNReLULayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/mkldnn_relu_layer.cpp:265:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/neuron_layer.hpp:59:26: required from ‘caffe::NeuronLayer::NeuronLayer(const caffe::LayerParameter&) [with Dtype = float]’ ./include/caffe/layers/mkldnn_layers.hpp:305:50: required from ‘caffe::MKLDNNReLULayer::MKLDNNReLULayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/mkldnn_relu_layer.cpp:265:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/neuron_layer.hpp:59:26: required from ‘caffe::NeuronLayer::NeuronLayer(const caffe::LayerParameter&) [with Dtype = double]’ ./include/caffe/layers/mkldnn_layers.hpp:305:50: required from ‘caffe::MKLDNNReLULayer::MKLDNNReLULayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/mkldnn_relu_layer.cpp:265:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/mkldnn_relu_layer.cpp:266:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/mkldnn_relu_layer.cpp:266:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ In file included from ./include/caffe/layers/mkldnn_layers.hpp:47:0, from src/caffe/layers/mkldnn_relu_layer.cpp:42: ./include/caffe/engine_parser.hpp: In member function ‘mkldnn::engine& caffe::EngineParser::getMKLDNNSubEngine(unsigned int) const’: ./include/caffe/engine_parser.hpp:88:3: warning: control reaches end of non-void function [-Wreturn-type] } ^ make: *** [.build_release/src/caffe/layers/mkldnn_relu_layer.o] Error 1 CXX src/caffe/layers/elu_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layers/contrastive_loss_layer.hpp:43, from src/caffe/layers/contrastive_loss_layer.cpp:41: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/contrastive_loss_layer.hpp:44, from src/caffe/layers/contrastive_loss_layer.cpp:41: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/contrastive_loss_layer.hpp:44:0, from src/caffe/layers/contrastive_loss_layer.cpp:41: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/contrastive_loss_layer.hpp:44:0, from src/caffe/layers/contrastive_loss_layer.cpp:41: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/contrastive_loss_layer.hpp:44:0, from src/caffe/layers/contrastive_loss_layer.cpp:41: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/contrastive_loss_layer.hpp:44:0, from src/caffe/layers/contrastive_loss_layer.cpp:41: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/loss_layer.hpp:60:7: required from ‘caffe::ContrastiveLossLayer::ContrastiveLossLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/contrastive_loss_layer.cpp:154:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/loss_layer.hpp:60:7: required from ‘caffe::ContrastiveLossLayer::ContrastiveLossLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/contrastive_loss_layer.cpp:154:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/loss_layer.hpp:63:26: required from ‘caffe::LossLayer::LossLayer(const caffe::LayerParameter&) [with Dtype = float]’ ./include/caffe/layers/contrastive_loss_layer.hpp:79:40: required from ‘caffe::ContrastiveLossLayer::ContrastiveLossLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/contrastive_loss_layer.cpp:154:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/loss_layer.hpp:63:26: required from ‘caffe::LossLayer::LossLayer(const caffe::LayerParameter&) [with Dtype = double]’ ./include/caffe/layers/contrastive_loss_layer.hpp:79:40: required from ‘caffe::ContrastiveLossLayer::ContrastiveLossLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/contrastive_loss_layer.cpp:154:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/contrastive_loss_layer.cpp:157:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/contrastive_loss_layer.cpp:157:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/contrastive_loss_layer.o] Error 1 CXX src/caffe/layers/hdf5_data_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layers/smooth_L1_loss_layer.hpp:51, from src/caffe/layers/smooth_L1_loss_layer.cpp:48: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/smooth_L1_loss_layer.hpp:52, from src/caffe/layers/smooth_L1_loss_layer.cpp:48: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/smooth_L1_loss_layer.hpp:52:0, from src/caffe/layers/smooth_L1_loss_layer.cpp:48: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/smooth_L1_loss_layer.hpp:52:0, from src/caffe/layers/smooth_L1_loss_layer.cpp:48: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/smooth_L1_loss_layer.hpp:52:0, from src/caffe/layers/smooth_L1_loss_layer.cpp:48: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/smooth_L1_loss_layer.hpp:52:0, from src/caffe/layers/smooth_L1_loss_layer.cpp:48: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/loss_layer.hpp:60:7: required from ‘caffe::SmoothL1LossLayer::SmoothL1LossLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/smooth_L1_loss_layer.cpp:142:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/loss_layer.hpp:60:7: required from ‘caffe::SmoothL1LossLayer::SmoothL1LossLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/smooth_L1_loss_layer.cpp:142:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/loss_layer.hpp:63:26: required from ‘caffe::LossLayer::LossLayer(const caffe::LayerParameter&) [with Dtype = float]’ ./include/caffe/layers/smooth_L1_loss_layer.hpp:67:40: required from ‘caffe::SmoothL1LossLayer::SmoothL1LossLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/smooth_L1_loss_layer.cpp:142:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/loss_layer.hpp:63:26: required from ‘caffe::LossLayer::LossLayer(const caffe::LayerParameter&) [with Dtype = double]’ ./include/caffe/layers/smooth_L1_loss_layer.hpp:67:40: required from ‘caffe::SmoothL1LossLayer::SmoothL1LossLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/smooth_L1_loss_layer.cpp:142:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/smooth_L1_loss_layer.cpp:145:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/smooth_L1_loss_layer.cpp:145:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/smooth_L1_loss_layer.o] Error 1 CXX src/caffe/layers/batch_norm_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layers/conv_layer.hpp:43, from src/caffe/layers/conv_layer.cpp:44: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/conv_layer.hpp:44, from src/caffe/layers/conv_layer.cpp:44: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/conv_layer.hpp:44:0, from src/caffe/layers/conv_layer.cpp:44: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/conv_layer.hpp:44:0, from src/caffe/layers/conv_layer.cpp:44: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/conv_layer.hpp:44:0, from src/caffe/layers/conv_layer.cpp:44: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/conv_layer.hpp:44:0, from src/caffe/layers/conv_layer.cpp:44: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/base_conv_layer.hpp:55:7: required from ‘caffe::ConvolutionLayer::ConvolutionLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/conv_layer.cpp:155:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ In file included from ./include/caffe/layers/conv_layer.hpp:44:0, from src/caffe/layers/conv_layer.cpp:44: ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::on_delinp_ready(const std::vector&) [with Dtype = float]’: src/caffe/layers/conv_layer.cpp:146:3: required from ‘void caffe::ConvolutionLayer::Backward_cpu(const std::vector*>&, const std::vector&, const std::vector*>&) [with Dtype = float]’ src/caffe/layers/conv_layer.cpp:155:1: required from here ./include/caffe/layer.hpp:157:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (!this->layerOp->NumInputFeatureMaps()) { ^ ./include/caffe/layer.hpp:172:41: error: ‘class caffe::Layer’ has no member named ‘layerOp’ FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ In file included from ./include/caffe/layers/conv_layer.hpp:44:0, from src/caffe/layers/conv_layer.cpp:44: ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/base_conv_layer.hpp:55:7: required from ‘caffe::ConvolutionLayer::ConvolutionLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/conv_layer.cpp:155:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ In file included from ./include/caffe/layers/conv_layer.hpp:44:0, from src/caffe/layers/conv_layer.cpp:44: ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::on_delinp_ready(const std::vector&) [with Dtype = double]’: src/caffe/layers/conv_layer.cpp:146:3: required from ‘void caffe::ConvolutionLayer::Backward_cpu(const std::vector*>&, const std::vector&, const std::vector*>&) [with Dtype = double]’ src/caffe/layers/conv_layer.cpp:155:1: required from here ./include/caffe/layer.hpp:157:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (!this->layerOp->NumInputFeatureMaps()) { ^ ./include/caffe/layer.hpp:172:41: error: ‘class caffe::Layer’ has no member named ‘layerOp’ FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ In file included from ./include/caffe/layers/conv_layer.hpp:44:0, from src/caffe/layers/conv_layer.cpp:44: ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/base_conv_layer.hpp:58:27: required from ‘caffe::BaseConvolutionLayer::BaseConvolutionLayer(const caffe::LayerParameter&) [with Dtype = float]’ ./include/caffe/layers/conv_layer.hpp:102:42: required from ‘caffe::ConvolutionLayer::ConvolutionLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/conv_layer.cpp:155:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/base_conv_layer.hpp:58:27: required from ‘caffe::BaseConvolutionLayer::BaseConvolutionLayer(const caffe::LayerParameter&) [with Dtype = double]’ ./include/caffe/layers/conv_layer.hpp:102:42: required from ‘caffe::ConvolutionLayer::ConvolutionLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/conv_layer.cpp:155:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/conv_layer.cpp:157:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/conv_layer.cpp:157:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/conv_layer.o] Error 1 CXX src/caffe/layers/permute_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layers/input_layer.hpp:43, from src/caffe/layers/input_layer.cpp:40: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/input_layer.hpp:44, from src/caffe/layers/input_layer.cpp:40: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/input_layer.hpp:44:0, from src/caffe/layers/input_layer.cpp:40: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/input_layer.hpp:44:0, from src/caffe/layers/input_layer.cpp:40: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/input_layer.hpp:44:0, from src/caffe/layers/input_layer.cpp:40: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/input_layer.hpp:44:0, from src/caffe/layers/input_layer.cpp:40: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/input_layer.hpp:59:27: required from ‘caffe::InputLayer::InputLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/input_layer.cpp:61:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/input_layer.hpp:59:27: required from ‘caffe::InputLayer::InputLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/input_layer.cpp:61:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/input_layer.hpp:59:27: required from ‘caffe::InputLayer::InputLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/input_layer.cpp:61:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/input_layer.hpp:59:27: required from ‘caffe::InputLayer::InputLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/input_layer.cpp:61:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/input_layer.cpp:64:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/input_layer.cpp:64:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/input_layer.o] Error 1 CXX src/caffe/layers/eltwise_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/filler.hpp:48, from src/caffe/layers/embed_layer.cpp:40: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/embed_layer.hpp:44, from src/caffe/layers/embed_layer.cpp:41: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/embed_layer.hpp:44:0, from src/caffe/layers/embed_layer.cpp:41: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/embed_layer.hpp:44:0, from src/caffe/layers/embed_layer.cpp:41: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/embed_layer.hpp:44:0, from src/caffe/layers/embed_layer.cpp:41: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/embed_layer.hpp:44:0, from src/caffe/layers/embed_layer.cpp:41: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/embed_layer.hpp:60:27: required from ‘caffe::EmbedLayer::EmbedLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/embed_layer.cpp:153:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/embed_layer.hpp:60:27: required from ‘caffe::EmbedLayer::EmbedLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/embed_layer.cpp:153:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/embed_layer.hpp:60:27: required from ‘caffe::EmbedLayer::EmbedLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/embed_layer.cpp:153:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/embed_layer.hpp:60:27: required from ‘caffe::EmbedLayer::EmbedLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/embed_layer.cpp:153:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/embed_layer.cpp:156:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/embed_layer.cpp:156:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/embed_layer.o] Error 1 CXX src/caffe/layers/accuracy_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layers/elu_layer.hpp:43, from src/caffe/layers/elu_layer.cpp:41: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/elu_layer.hpp:44, from src/caffe/layers/elu_layer.cpp:41: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/elu_layer.hpp:44:0, from src/caffe/layers/elu_layer.cpp:41: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/elu_layer.hpp:44:0, from src/caffe/layers/elu_layer.cpp:41: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/elu_layer.hpp:44:0, from src/caffe/layers/elu_layer.cpp:41: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/elu_layer.hpp:44:0, from src/caffe/layers/elu_layer.cpp:41: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/neuron_layer.hpp:56:7: required from ‘caffe::ELULayer::ELULayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/elu_layer.cpp:87:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/neuron_layer.hpp:56:7: required from ‘caffe::ELULayer::ELULayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/elu_layer.cpp:87:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/neuron_layer.hpp:59:26: required from ‘caffe::NeuronLayer::NeuronLayer(const caffe::LayerParameter&) [with Dtype = float]’ ./include/caffe/layers/elu_layer.hpp:70:33: required from ‘caffe::ELULayer::ELULayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/elu_layer.cpp:87:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/neuron_layer.hpp:59:26: required from ‘caffe::NeuronLayer::NeuronLayer(const caffe::LayerParameter&) [with Dtype = double]’ ./include/caffe/layers/elu_layer.hpp:70:33: required from ‘caffe::ELULayer::ELULayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/elu_layer.cpp:87:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/elu_layer.cpp:90:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/elu_layer.cpp:90:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/elu_layer.o] Error 1 CXX src/caffe/layers/lstm_unit_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layers/hdf5_data_layer.hpp:46, from src/caffe/layers/hdf5_data_layer.cpp:54: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/hdf5_data_layer.hpp:47, from src/caffe/layers/hdf5_data_layer.cpp:54: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/hdf5_data_layer.hpp:47:0, from src/caffe/layers/hdf5_data_layer.cpp:54: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/hdf5_data_layer.hpp:47:0, from src/caffe/layers/hdf5_data_layer.cpp:54: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/hdf5_data_layer.hpp:47:0, from src/caffe/layers/hdf5_data_layer.cpp:54: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/hdf5_data_layer.hpp:47:0, from src/caffe/layers/hdf5_data_layer.cpp:54: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ In file included from ./include/caffe/layers/hdf5_data_layer.hpp:50:0, from src/caffe/layers/hdf5_data_layer.cpp:54: ./include/caffe/layers/base_data_layer.hpp: At global scope: ./include/caffe/layers/base_data_layer.hpp:80:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/base_data_layer.hpp:80:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/base_data_layer.hpp:81:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/base_data_layer.hpp:81:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ In file included from ./include/caffe/layers/hdf5_data_layer.hpp:47:0, from src/caffe/layers/hdf5_data_layer.cpp:54: ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/hdf5_data_layer.hpp:63:27: required from ‘caffe::HDF5DataLayer::HDF5DataLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/hdf5_data_layer.cpp:200:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/hdf5_data_layer.hpp:63:27: required from ‘caffe::HDF5DataLayer::HDF5DataLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/hdf5_data_layer.cpp:200:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/hdf5_data_layer.hpp:63:27: required from ‘caffe::HDF5DataLayer::HDF5DataLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/hdf5_data_layer.cpp:200:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/hdf5_data_layer.hpp:63:27: required from ‘caffe::HDF5DataLayer::HDF5DataLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/hdf5_data_layer.cpp:200:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/hdf5_data_layer.cpp:203:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/hdf5_data_layer.cpp:203:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/hdf5_data_layer.o] Error 1 CXX src/caffe/layers/lrn_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layers/batch_norm_layer.hpp:43, from src/caffe/layers/batch_norm_layer.cpp:46: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/batch_norm_layer.hpp:44, from src/caffe/layers/batch_norm_layer.cpp:46: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/batch_norm_layer.hpp:44:0, from src/caffe/layers/batch_norm_layer.cpp:46: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/batch_norm_layer.hpp:44:0, from src/caffe/layers/batch_norm_layer.cpp:46: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/batch_norm_layer.hpp:44:0, from src/caffe/layers/batch_norm_layer.cpp:46: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/batch_norm_layer.hpp:44:0, from src/caffe/layers/batch_norm_layer.cpp:46: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ src/caffe/layers/batch_norm_layer.cpp: In member function ‘virtual void caffe::BatchNormLayer::LayerSetUp(const std::vector*>&, const std::vector*>&)’: src/caffe/layers/batch_norm_layer.cpp:92:5: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ src/caffe/layers/batch_norm_layer.cpp:92:14: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ src/caffe/layers/batch_norm_layer.cpp:93:5: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ src/caffe/layers/batch_norm_layer.cpp:93:23: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ src/caffe/layers/batch_norm_layer.cpp:94:21: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(COMP_OP_TYPE_ACT); ^ src/caffe/layers/batch_norm_layer.cpp:94:21: error: expected ‘;’ before ‘ComputeOpRegInfo’ src/caffe/layers/batch_norm_layer.cpp:96:46: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ src/caffe/layers/batch_norm_layer.cpp:105:25: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ src/caffe/layers/batch_norm_layer.cpp:105:25: error: expected ‘;’ before ‘ComputeOp’ src/caffe/layers/batch_norm_layer.cpp: In instantiation of ‘void caffe::BatchNormLayer::LayerSetUp(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/batch_norm_layer.cpp:351:1: required from here src/caffe/layers/batch_norm_layer.cpp:82:7: error: ‘class caffe::BatchNormLayer’ has no member named ‘layerOp’ if (!this->layerOp) { ^ src/caffe/layers/batch_norm_layer.cpp:105:19: error: ‘class caffe::BatchNormLayer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ src/caffe/layers/batch_norm_layer.cpp: In instantiation of ‘void caffe::BatchNormLayer::LayerSetUp(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/batch_norm_layer.cpp:351:1: required from here src/caffe/layers/batch_norm_layer.cpp:82:7: error: ‘class caffe::BatchNormLayer’ has no member named ‘layerOp’ if (!this->layerOp) { ^ src/caffe/layers/batch_norm_layer.cpp:105:19: error: ‘class caffe::BatchNormLayer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ In file included from ./include/caffe/layers/batch_norm_layer.hpp:44:0, from src/caffe/layers/batch_norm_layer.cpp:46: ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/batch_norm_layer.hpp:83:27: required from ‘caffe::BatchNormLayer::BatchNormLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/batch_norm_layer.cpp:351:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/batch_norm_layer.hpp:83:27: required from ‘caffe::BatchNormLayer::BatchNormLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/batch_norm_layer.cpp:351:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/batch_norm_layer.hpp:83:27: required from ‘caffe::BatchNormLayer::BatchNormLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/batch_norm_layer.cpp:351:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/batch_norm_layer.hpp:83:27: required from ‘caffe::BatchNormLayer::BatchNormLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/batch_norm_layer.cpp:351:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/batch_norm_layer.cpp:352:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/batch_norm_layer.cpp:352:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/batch_norm_layer.o] Error 1 CXX src/caffe/layers/rnn_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layers/permute_layer.hpp:43, from src/caffe/layers/permute_layer.cpp:40: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/permute_layer.hpp:44, from src/caffe/layers/permute_layer.cpp:40: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/permute_layer.hpp:44:0, from src/caffe/layers/permute_layer.cpp:40: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/permute_layer.hpp:44:0, from src/caffe/layers/permute_layer.cpp:40: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/permute_layer.hpp:44:0, from src/caffe/layers/permute_layer.cpp:40: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/permute_layer.hpp:44:0, from src/caffe/layers/permute_layer.cpp:40: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/permute_layer.hpp:65:27: required from ‘caffe::PermuteLayer::PermuteLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/permute_layer.cpp:177:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/permute_layer.hpp:65:27: required from ‘caffe::PermuteLayer::PermuteLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/permute_layer.cpp:177:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/permute_layer.hpp:65:27: required from ‘caffe::PermuteLayer::PermuteLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/permute_layer.cpp:177:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/permute_layer.hpp:65:27: required from ‘caffe::PermuteLayer::PermuteLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/permute_layer.cpp:177:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/permute_layer.cpp:180:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/permute_layer.cpp:180:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/permute_layer.o] Error 1 CXX src/caffe/layers/mkldnn_lrn_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/data_transformer.hpp:44, from src/caffe/layers/annotated_data_layer.cpp:49: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/annotated_data_layer.hpp:48, from src/caffe/layers/annotated_data_layer.cpp:50: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/annotated_data_layer.hpp:48:0, from src/caffe/layers/annotated_data_layer.cpp:50: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/annotated_data_layer.hpp:48:0, from src/caffe/layers/annotated_data_layer.cpp:50: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/annotated_data_layer.hpp:48:0, from src/caffe/layers/annotated_data_layer.cpp:50: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: note: suggested alternative: In file included from /usr/include/boost/container/vector.hpp:20:0, from src/caffe/layers/annotated_data_layer.cpp:47: /usr/include/boost/container/container_fwd.hpp:31:32: note: ‘boost::container::container_detail::bi’ namespace bi = boost::intrusive; ^ In file included from ./include/caffe/layers/annotated_data_layer.hpp:48:0, from src/caffe/layers/annotated_data_layer.cpp:50: ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: note: suggested alternative: In file included from /usr/include/boost/container/vector.hpp:20:0, from src/caffe/layers/annotated_data_layer.cpp:47: /usr/include/boost/container/container_fwd.hpp:31:32: note: ‘boost::container::container_detail::bi’ namespace bi = boost::intrusive; ^ In file included from ./include/caffe/layers/annotated_data_layer.hpp:48:0, from src/caffe/layers/annotated_data_layer.cpp:50: ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/annotated_data_layer.hpp:48:0, from src/caffe/layers/annotated_data_layer.cpp:50: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:4: note: suggested alternative: In file included from src/caffe/layers/annotated_data_layer.cpp:39:0: /usr/local/include/opencv2/core/core.hpp:996:30: note: ‘cv::DataType’ template class DataType ^ In file included from ./include/caffe/layers/annotated_data_layer.hpp:48:0, from src/caffe/layers/annotated_data_layer.cpp:50: ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ In file included from ./include/caffe/layers/annotated_data_layer.hpp:49:0, from src/caffe/layers/annotated_data_layer.cpp:50: ./include/caffe/layers/base_data_layer.hpp: At global scope: ./include/caffe/layers/base_data_layer.hpp:80:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/base_data_layer.hpp:80:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/base_data_layer.hpp:81:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/base_data_layer.hpp:81:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ In file included from ./include/caffe/layers/annotated_data_layer.hpp:48:0, from src/caffe/layers/annotated_data_layer.cpp:50: ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/base_data_layer.hpp:58:7: required from ‘caffe::AnnotatedDataLayer::AnnotatedDataLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/annotated_data_layer.cpp:585:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/base_data_layer.hpp:58:7: required from ‘caffe::AnnotatedDataLayer::AnnotatedDataLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/annotated_data_layer.cpp:585:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/annotated_data_layer.cpp:588:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/annotated_data_layer.cpp:588:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/annotated_data_layer.o] Error 1 CXX src/caffe/layers/window_data_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layers/eltwise_layer.hpp:43, from src/caffe/layers/eltwise_layer.cpp:41: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/eltwise_layer.hpp:44, from src/caffe/layers/eltwise_layer.cpp:41: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/eltwise_layer.hpp:44:0, from src/caffe/layers/eltwise_layer.cpp:41: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/eltwise_layer.hpp:44:0, from src/caffe/layers/eltwise_layer.cpp:41: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/eltwise_layer.hpp:44:0, from src/caffe/layers/eltwise_layer.cpp:41: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/eltwise_layer.hpp:44:0, from src/caffe/layers/eltwise_layer.cpp:41: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ src/caffe/layers/eltwise_layer.cpp: In member function ‘virtual void caffe::EltwiseLayer::LayerSetUp(const std::vector*>&, const std::vector*>&)’: src/caffe/layers/eltwise_layer.cpp:68:3: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ src/caffe/layers/eltwise_layer.cpp:68:12: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ src/caffe/layers/eltwise_layer.cpp:69:3: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ src/caffe/layers/eltwise_layer.cpp:69:21: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ src/caffe/layers/eltwise_layer.cpp:70:19: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(COMP_OP_TYPE_CONCAT); ^ src/caffe/layers/eltwise_layer.cpp:70:19: error: expected ‘;’ before ‘ComputeOpRegInfo’ src/caffe/layers/eltwise_layer.cpp:77:46: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ src/caffe/layers/eltwise_layer.cpp:84:47: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ src/caffe/layers/eltwise_layer.cpp:88:23: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ src/caffe/layers/eltwise_layer.cpp:88:23: error: expected ‘;’ before ‘ComputeOp’ src/caffe/layers/eltwise_layer.cpp: In instantiation of ‘void caffe::EltwiseLayer::LayerSetUp(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/eltwise_layer.cpp:221:1: required from here src/caffe/layers/eltwise_layer.cpp:88:17: error: ‘class caffe::EltwiseLayer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ src/caffe/layers/eltwise_layer.cpp: In instantiation of ‘void caffe::EltwiseLayer::LayerSetUp(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/eltwise_layer.cpp:221:1: required from here src/caffe/layers/eltwise_layer.cpp:88:17: error: ‘class caffe::EltwiseLayer’ has no member named ‘layerOp’ In file included from ./include/caffe/layers/eltwise_layer.hpp:44:0, from src/caffe/layers/eltwise_layer.cpp:41: ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/eltwise_layer.hpp:59:27: required from ‘caffe::EltwiseLayer::EltwiseLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/eltwise_layer.cpp:221:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/eltwise_layer.hpp:59:27: required from ‘caffe::EltwiseLayer::EltwiseLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/eltwise_layer.cpp:221:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/eltwise_layer.hpp:59:27: required from ‘caffe::EltwiseLayer::EltwiseLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/eltwise_layer.cpp:221:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/eltwise_layer.hpp:59:27: required from ‘caffe::EltwiseLayer::EltwiseLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/eltwise_layer.cpp:221:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/eltwise_layer.cpp:223:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/eltwise_layer.cpp:223:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/eltwise_layer.o] Error 1 CXX src/caffe/layers/loss_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layers/accuracy_layer.hpp:43, from src/caffe/layers/accuracy_layer.cpp:42: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/accuracy_layer.hpp:44, from src/caffe/layers/accuracy_layer.cpp:42: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/accuracy_layer.hpp:44:0, from src/caffe/layers/accuracy_layer.cpp:42: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/accuracy_layer.hpp:44:0, from src/caffe/layers/accuracy_layer.cpp:42: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/accuracy_layer.hpp:44:0, from src/caffe/layers/accuracy_layer.cpp:42: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/accuracy_layer.hpp:44:0, from src/caffe/layers/accuracy_layer.cpp:42: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ src/caffe/layers/accuracy_layer.cpp: At global scope: src/caffe/layers/accuracy_layer.cpp:46:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ src/caffe/layers/accuracy_layer.cpp:46:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ src/caffe/layers/accuracy_layer.cpp: In member function ‘virtual void caffe::AccuracyLayer::LayerSetUp(const std::vector*>&, const std::vector*>&)’: src/caffe/layers/accuracy_layer.cpp:67:3: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ src/caffe/layers/accuracy_layer.cpp:67:12: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ src/caffe/layers/accuracy_layer.cpp:68:3: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ src/caffe/layers/accuracy_layer.cpp:68:21: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ src/caffe/layers/accuracy_layer.cpp:69:19: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(COMP_OP_TYPE_EVAL); ^ src/caffe/layers/accuracy_layer.cpp:69:19: error: expected ‘;’ before ‘ComputeOpRegInfo’ src/caffe/layers/accuracy_layer.cpp:71:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ src/caffe/layers/accuracy_layer.cpp:75:23: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ src/caffe/layers/accuracy_layer.cpp:75:23: error: expected ‘;’ before ‘ComputeOp’ src/caffe/layers/accuracy_layer.cpp: In instantiation of ‘void caffe::AccuracyLayer::LayerSetUp(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/accuracy_layer.cpp:164:1: required from here src/caffe/layers/accuracy_layer.cpp:75:17: error: ‘class caffe::AccuracyLayer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ src/caffe/layers/accuracy_layer.cpp: In instantiation of ‘void caffe::AccuracyLayer::LayerSetUp(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/accuracy_layer.cpp:164:1: required from here src/caffe/layers/accuracy_layer.cpp:75:17: error: ‘class caffe::AccuracyLayer’ has no member named ‘layerOp’ In file included from ./include/caffe/layers/accuracy_layer.hpp:44:0, from src/caffe/layers/accuracy_layer.cpp:42: ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/accuracy_layer.hpp:67:27: required from ‘caffe::AccuracyLayer::AccuracyLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/accuracy_layer.cpp:164:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/accuracy_layer.hpp:67:27: required from ‘caffe::AccuracyLayer::AccuracyLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/accuracy_layer.cpp:164:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/accuracy_layer.hpp:67:27: required from ‘caffe::AccuracyLayer::AccuracyLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/accuracy_layer.cpp:164:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/accuracy_layer.hpp:67:27: required from ‘caffe::AccuracyLayer::AccuracyLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/accuracy_layer.cpp:164:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/accuracy_layer.cpp:167:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/accuracy_layer.cpp:167:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/accuracy_layer.o] Error 1 CXX src/caffe/layers/mkl_eltwise_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layer.hpp:45, from src/caffe/layers/lstm_unit_layer.cpp:42: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from src/caffe/layers/lstm_unit_layer.cpp:42: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from src/caffe/layers/lstm_unit_layer.cpp:42:0: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from src/caffe/layers/lstm_unit_layer.cpp:42:0: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from src/caffe/layers/lstm_unit_layer.cpp:42:0: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from src/caffe/layers/lstm_unit_layer.cpp:42:0: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/lstm_layer.hpp:109:27: required from ‘caffe::LSTMUnitLayer::LSTMUnitLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/lstm_unit_layer.cpp:165:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/lstm_layer.hpp:109:27: required from ‘caffe::LSTMUnitLayer::LSTMUnitLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/lstm_unit_layer.cpp:165:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/lstm_layer.hpp:109:27: required from ‘caffe::LSTMUnitLayer::LSTMUnitLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/lstm_unit_layer.cpp:165:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/lstm_layer.hpp:109:27: required from ‘caffe::LSTMUnitLayer::LSTMUnitLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/lstm_unit_layer.cpp:165:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/lstm_unit_layer.cpp:168:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/lstm_unit_layer.cpp:168:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/lstm_unit_layer.o] Error 1 CXX src/caffe/layers/threshold_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from src/caffe/layers/rnn_layer.cpp:41: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from src/caffe/layers/rnn_layer.cpp:44: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from src/caffe/layers/rnn_layer.cpp:44:0: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from src/caffe/layers/rnn_layer.cpp:44:0: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from src/caffe/layers/rnn_layer.cpp:44:0: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from src/caffe/layers/rnn_layer.cpp:44:0: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/recurrent_layer.hpp:63:7: required from ‘caffe::RNNLayer::RNNLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/rnn_layer.cpp:270:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/recurrent_layer.hpp:63:7: required from ‘caffe::RNNLayer::RNNLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/rnn_layer.cpp:270:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/recurrent_layer.hpp:66:27: required from ‘caffe::RecurrentLayer::RecurrentLayer(const caffe::LayerParameter&) [with Dtype = float]’ ./include/caffe/layers/rnn_layer.hpp:70:36: required from ‘caffe::RNNLayer::RNNLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/rnn_layer.cpp:270:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/recurrent_layer.hpp:66:27: required from ‘caffe::RecurrentLayer::RecurrentLayer(const caffe::LayerParameter&) [with Dtype = double]’ ./include/caffe/layers/rnn_layer.hpp:70:36: required from ‘caffe::RNNLayer::RNNLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/rnn_layer.cpp:270:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/rnn_layer.cpp:273:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/rnn_layer.cpp:273:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/rnn_layer.o] Error 1 CXX src/caffe/layers/tanh_layer.cpp CXX src/caffe/layers/absval_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layers/loss_layer.hpp:43, from src/caffe/layers/loss_layer.cpp:41: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/loss_layer.hpp:44, from src/caffe/layers/loss_layer.cpp:41: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/loss_layer.hpp:44:0, from src/caffe/layers/loss_layer.cpp:41: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/loss_layer.hpp:44:0, from src/caffe/layers/loss_layer.cpp:41: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/loss_layer.hpp:44:0, from src/caffe/layers/loss_layer.cpp:41: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/loss_layer.hpp:44:0, from src/caffe/layers/loss_layer.cpp:41: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/loss_layer.hpp:63:26: required from ‘caffe::LossLayer::LossLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/loss_layer.cpp:94:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/loss_layer.hpp:63:26: required from ‘caffe::LossLayer::LossLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/loss_layer.cpp:94:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/loss_layer.hpp:63:26: required from ‘caffe::LossLayer::LossLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/loss_layer.cpp:94:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/loss_layer.hpp:63:26: required from ‘caffe::LossLayer::LossLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/loss_layer.cpp:94:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/loss_layer.cpp:96:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/loss_layer.cpp:96:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/loss_layer.o] Error 1 CXX src/caffe/layers/filter_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layers/lrn_layer.hpp:43, from src/caffe/layers/lrn_layer.cpp:40: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/lrn_layer.hpp:44, from src/caffe/layers/lrn_layer.cpp:40: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/lrn_layer.hpp:44:0, from src/caffe/layers/lrn_layer.cpp:40: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/lrn_layer.hpp:44:0, from src/caffe/layers/lrn_layer.cpp:40: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/lrn_layer.hpp:44:0, from src/caffe/layers/lrn_layer.cpp:40: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/lrn_layer.hpp:44:0, from src/caffe/layers/lrn_layer.cpp:40: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ src/caffe/layers/lrn_layer.cpp: In member function ‘virtual void caffe::LRNLayer::LayerSetUp(const std::vector*>&, const std::vector*>&)’: src/caffe/layers/lrn_layer.cpp:115:3: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ src/caffe/layers/lrn_layer.cpp:115:12: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ src/caffe/layers/lrn_layer.cpp:116:2: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ src/caffe/layers/lrn_layer.cpp:116:20: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ src/caffe/layers/lrn_layer.cpp:117:18: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(COMP_OP_TYPE_POOL); ^ src/caffe/layers/lrn_layer.cpp:117:18: error: expected ‘;’ before ‘ComputeOpRegInfo’ src/caffe/layers/lrn_layer.cpp:119:43: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ src/caffe/layers/lrn_layer.cpp:123:22: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ src/caffe/layers/lrn_layer.cpp:123:22: error: expected ‘;’ before ‘ComputeOp’ src/caffe/layers/lrn_layer.cpp: In instantiation of ‘void caffe::LRNLayer::LayerSetUp(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/lrn_layer.cpp:326:1: required from here src/caffe/layers/lrn_layer.cpp:123:16: error: ‘class caffe::LRNLayer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ src/caffe/layers/lrn_layer.cpp: In instantiation of ‘void caffe::LRNLayer::LayerSetUp(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/lrn_layer.cpp:326:1: required from here src/caffe/layers/lrn_layer.cpp:123:16: error: ‘class caffe::LRNLayer’ has no member named ‘layerOp’ In file included from ./include/caffe/layers/lrn_layer.hpp:44:0, from src/caffe/layers/lrn_layer.cpp:40: ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/lrn_layer.hpp:63:27: required from ‘caffe::LRNLayer::LRNLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/lrn_layer.cpp:326:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/lrn_layer.hpp:63:27: required from ‘caffe::LRNLayer::LRNLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/lrn_layer.cpp:326:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUp(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/lrn_layer.cpp:65:5: required from ‘void caffe::LRNLayer::LayerSetUp(const std::vector*>&, const std::vector*>&) [with Dtype = float]’ src/caffe/layers/lrn_layer.cpp:326:1: required from here ./include/caffe/layer.hpp:311:5: error: request for member ‘resize’ in ‘((caffe::Layer*)this)->caffe::Layer::prevLayerOps’, which is of non-class type ‘int’ this->prevLayerOps.resize(bottom.size()); ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/lrn_layer.hpp:63:27: required from ‘caffe::LRNLayer::LRNLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/lrn_layer.cpp:326:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/lrn_layer.hpp:63:27: required from ‘caffe::LRNLayer::LRNLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/lrn_layer.cpp:326:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUp(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/lrn_layer.cpp:65:5: required from ‘void caffe::LRNLayer::LayerSetUp(const std::vector*>&, const std::vector*>&) [with Dtype = double]’ src/caffe/layers/lrn_layer.cpp:326:1: required from here ./include/caffe/layer.hpp:311:5: error: request for member ‘resize’ in ‘((caffe::Layer*)this)->caffe::Layer::prevLayerOps’, which is of non-class type ‘int’ this->prevLayerOps.resize(bottom.size()); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/lrn_layer.cpp:328:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/lrn_layer.cpp:328:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/lrn_layer.o] Error 1 CXX src/caffe/layers/hdf5_output_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layer.hpp:45, from src/caffe/layers/mkldnn_lrn_layer.cpp:41: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from src/caffe/layers/mkldnn_lrn_layer.cpp:41: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from src/caffe/layers/mkldnn_lrn_layer.cpp:41:0: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from src/caffe/layers/mkldnn_lrn_layer.cpp:41:0: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from src/caffe/layers/mkldnn_lrn_layer.cpp:41:0: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from src/caffe/layers/mkldnn_lrn_layer.cpp:41:0: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ In file included from src/caffe/layers/mkldnn_lrn_layer.cpp:42:0: src/caffe/layers/mkldnn_lrn_layer.cpp: In instantiation of ‘caffe::MKLDNNLRNLayer::MKLDNNLRNLayer(const caffe::LayerParameter&) [with Dtype = float]’: src/caffe/layers/mkldnn_lrn_layer.cpp:340:1: required from here ./include/caffe/layers/mkldnn_layers.hpp:216:50: warning: ‘caffe::MKLDNNLRNLayer::fwd_bottom_data’ will be initialized after [-Wreorder] shared_ptr > fwd_top_data, fwd_bottom_data; ^ ./include/caffe/layers/mkldnn_layers.hpp:216:36: warning: ‘boost::shared_ptr > caffe::MKLDNNLRNLayer::fwd_top_data’ [-Wreorder] shared_ptr > fwd_top_data, fwd_bottom_data; ^ src/caffe/layers/mkldnn_lrn_layer.cpp:48:1: warning: when initialized here [-Wreorder] MKLDNNLRNLayer::MKLDNNLRNLayer(const LayerParameter& param) ^ In file included from src/caffe/layers/mkldnn_lrn_layer.cpp:42:0: ./include/caffe/layers/mkldnn_layers.hpp:217:50: warning: ‘caffe::MKLDNNLRNLayer::bwd_bottom_diff’ will be initialized after [-Wreorder] shared_ptr > bwd_top_diff, bwd_bottom_diff; ^ ./include/caffe/layers/mkldnn_layers.hpp:217:36: warning: ‘boost::shared_ptr > caffe::MKLDNNLRNLayer::bwd_top_diff’ [-Wreorder] shared_ptr > bwd_top_diff, bwd_bottom_diff; ^ src/caffe/layers/mkldnn_lrn_layer.cpp:48:1: warning: when initialized here [-Wreorder] MKLDNNLRNLayer::MKLDNNLRNLayer(const LayerParameter& param) ^ src/caffe/layers/mkldnn_lrn_layer.cpp: In instantiation of ‘void caffe::MKLDNNLRNLayer::InitLRNFwd(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/mkldnn_lrn_layer.cpp:340:1: required from here src/caffe/layers/mkldnn_lrn_layer.cpp:181:20: warning: unused variable ‘scratch_mfmt’ [-Wunused-variable] memory::format scratch_mfmt = memory::format::nchw; ^ src/caffe/layers/mkldnn_lrn_layer.cpp: In instantiation of ‘void caffe::MKLDNNLRNLayer::InitLRNBwd(const std::vector*>&, const std::vector&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/mkldnn_lrn_layer.cpp:340:1: required from here src/caffe/layers/mkldnn_lrn_layer.cpp:291:20: warning: unused variable ‘scratch_mfmt’ [-Wunused-variable] memory::format scratch_mfmt = memory::format::nchw; ^ In file included from src/caffe/layers/mkldnn_lrn_layer.cpp:42:0: src/caffe/layers/mkldnn_lrn_layer.cpp: In instantiation of ‘caffe::MKLDNNLRNLayer::MKLDNNLRNLayer(const caffe::LayerParameter&) [with Dtype = double]’: src/caffe/layers/mkldnn_lrn_layer.cpp:340:1: required from here ./include/caffe/layers/mkldnn_layers.hpp:216:50: warning: ‘caffe::MKLDNNLRNLayer::fwd_bottom_data’ will be initialized after [-Wreorder] shared_ptr > fwd_top_data, fwd_bottom_data; ^ ./include/caffe/layers/mkldnn_layers.hpp:216:36: warning: ‘boost::shared_ptr > caffe::MKLDNNLRNLayer::fwd_top_data’ [-Wreorder] shared_ptr > fwd_top_data, fwd_bottom_data; ^ src/caffe/layers/mkldnn_lrn_layer.cpp:48:1: warning: when initialized here [-Wreorder] MKLDNNLRNLayer::MKLDNNLRNLayer(const LayerParameter& param) ^ In file included from src/caffe/layers/mkldnn_lrn_layer.cpp:42:0: ./include/caffe/layers/mkldnn_layers.hpp:217:50: warning: ‘caffe::MKLDNNLRNLayer::bwd_bottom_diff’ will be initialized after [-Wreorder] shared_ptr > bwd_top_diff, bwd_bottom_diff; ^ ./include/caffe/layers/mkldnn_layers.hpp:217:36: warning: ‘boost::shared_ptr > caffe::MKLDNNLRNLayer::bwd_top_diff’ [-Wreorder] shared_ptr > bwd_top_diff, bwd_bottom_diff; ^ src/caffe/layers/mkldnn_lrn_layer.cpp:48:1: warning: when initialized here [-Wreorder] MKLDNNLRNLayer::MKLDNNLRNLayer(const LayerParameter& param) ^ src/caffe/layers/mkldnn_lrn_layer.cpp: In instantiation of ‘void caffe::MKLDNNLRNLayer::InitLRNFwd(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/mkldnn_lrn_layer.cpp:340:1: required from here src/caffe/layers/mkldnn_lrn_layer.cpp:181:20: warning: unused variable ‘scratch_mfmt’ [-Wunused-variable] memory::format scratch_mfmt = memory::format::nchw; ^ src/caffe/layers/mkldnn_lrn_layer.cpp: In instantiation of ‘void caffe::MKLDNNLRNLayer::InitLRNBwd(const std::vector*>&, const std::vector&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/mkldnn_lrn_layer.cpp:340:1: required from here src/caffe/layers/mkldnn_lrn_layer.cpp:291:20: warning: unused variable ‘scratch_mfmt’ [-Wunused-variable] memory::format scratch_mfmt = memory::format::nchw; ^ In file included from src/caffe/layers/mkldnn_lrn_layer.cpp:41:0: ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: src/caffe/layers/mkldnn_lrn_layer.cpp:57:58: required from ‘caffe::MKLDNNLRNLayer::MKLDNNLRNLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/mkldnn_lrn_layer.cpp:340:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: src/caffe/layers/mkldnn_lrn_layer.cpp:57:58: required from ‘caffe::MKLDNNLRNLayer::MKLDNNLRNLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/mkldnn_lrn_layer.cpp:340:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: src/caffe/layers/mkldnn_lrn_layer.cpp:57:58: required from ‘caffe::MKLDNNLRNLayer::MKLDNNLRNLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/mkldnn_lrn_layer.cpp:340:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: src/caffe/layers/mkldnn_lrn_layer.cpp:57:58: required from ‘caffe::MKLDNNLRNLayer::MKLDNNLRNLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/mkldnn_lrn_layer.cpp:340:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/mkldnn_lrn_layer.cpp:341:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/mkldnn_lrn_layer.cpp:341:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ In file included from ./include/caffe/layers/mkldnn_layers.hpp:47:0, from src/caffe/layers/mkldnn_lrn_layer.cpp:42: ./include/caffe/engine_parser.hpp: In member function ‘mkldnn::engine& caffe::EngineParser::getMKLDNNSubEngine(unsigned int) const’: ./include/caffe/engine_parser.hpp:88:3: warning: control reaches end of non-void function [-Wreturn-type] } ^ make: *** [.build_release/src/caffe/layers/mkldnn_lrn_layer.o] Error 1 CXX src/caffe/layers/image_data_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layers/mkl_layers.hpp:45, from src/caffe/layers/mkl_eltwise_layer.cpp:42: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/base_conv_layer.hpp:44, from ./include/caffe/layers/mkl_layers.hpp:47, from src/caffe/layers/mkl_eltwise_layer.cpp:42: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/base_conv_layer.hpp:44:0, from ./include/caffe/layers/mkl_layers.hpp:47, from src/caffe/layers/mkl_eltwise_layer.cpp:42: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/base_conv_layer.hpp:44:0, from ./include/caffe/layers/mkl_layers.hpp:47, from src/caffe/layers/mkl_eltwise_layer.cpp:42: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/base_conv_layer.hpp:44:0, from ./include/caffe/layers/mkl_layers.hpp:47, from src/caffe/layers/mkl_eltwise_layer.cpp:42: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/base_conv_layer.hpp:44:0, from ./include/caffe/layers/mkl_layers.hpp:47, from src/caffe/layers/mkl_eltwise_layer.cpp:42: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ In file included from ./include/caffe/layers/mkl_layers.hpp:52:0, from src/caffe/layers/mkl_eltwise_layer.cpp:42: ./include/caffe/mkl_memory.hpp: In destructor ‘caffe::MKLMemoryDescriptorBase::~MKLMemoryDescriptorBase()’: ./include/caffe/mkl_memory.hpp:63:9: error: ‘MLSL’ has not been declared MLSL::Free((void*)internal_ptr); ^ ./include/caffe/mkl_memory.hpp: In member function ‘void caffe::MKLMemoryDescriptorBase::allocate()’: ./include/caffe/mkl_memory.hpp:91:30: error: ‘MLSL’ has not been declared internal_ptr = (Dtype*)MLSL::Alloc(prv_size(), 64); ^ In file included from src/caffe/layers/mkl_eltwise_layer.cpp:42:0: ./include/caffe/layers/mkl_layers.hpp: At global scope: ./include/caffe/layers/mkl_layers.hpp:94:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:94:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:95:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:95:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:175:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:175:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:176:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:176:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:259:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:259:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:260:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:260:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:333:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:333:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:334:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:334:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:389:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:389:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:390:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:390:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ src/caffe/layers/mkl_eltwise_layer.cpp: In member function ‘void caffe::MKLEltwiseLayer::Init(const std::vector*>&, const std::vector*>&)’: src/caffe/layers/mkl_eltwise_layer.cpp:101:3: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ src/caffe/layers/mkl_eltwise_layer.cpp:101:12: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ src/caffe/layers/mkl_eltwise_layer.cpp:102:3: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ src/caffe/layers/mkl_eltwise_layer.cpp:102:21: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ src/caffe/layers/mkl_eltwise_layer.cpp:103:19: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(COMP_OP_TYPE_CONCAT); ^ src/caffe/layers/mkl_eltwise_layer.cpp:103:19: error: expected ‘;’ before ‘ComputeOpRegInfo’ src/caffe/layers/mkl_eltwise_layer.cpp:110:48: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ src/caffe/layers/mkl_eltwise_layer.cpp:118:49: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ src/caffe/layers/mkl_eltwise_layer.cpp:122:23: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ src/caffe/layers/mkl_eltwise_layer.cpp:122:23: error: expected ‘;’ before ‘ComputeOp’ src/caffe/layers/mkl_eltwise_layer.cpp: In instantiation of ‘void caffe::MKLEltwiseLayer::Init(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/mkl_eltwise_layer.cpp:312:1: required from here src/caffe/layers/mkl_eltwise_layer.cpp:122:17: error: ‘class caffe::MKLEltwiseLayer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ src/caffe/layers/mkl_eltwise_layer.cpp: In instantiation of ‘void caffe::MKLEltwiseLayer::Init(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/mkl_eltwise_layer.cpp:312:1: required from here src/caffe/layers/mkl_eltwise_layer.cpp:122:17: error: ‘class caffe::MKLEltwiseLayer’ has no member named ‘layerOp’ In file included from ./include/caffe/layers/base_conv_layer.hpp:44:0, from ./include/caffe/layers/mkl_layers.hpp:47, from src/caffe/layers/mkl_eltwise_layer.cpp:42: ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/mkl_layers.hpp:552:55: required from ‘caffe::MKLEltwiseLayer::MKLEltwiseLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/mkl_eltwise_layer.cpp:312:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/mkl_layers.hpp:552:55: required from ‘caffe::MKLEltwiseLayer::MKLEltwiseLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/mkl_eltwise_layer.cpp:312:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/mkl_layers.hpp:552:55: required from ‘caffe::MKLEltwiseLayer::MKLEltwiseLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/mkl_eltwise_layer.cpp:312:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/mkl_layers.hpp:552:55: required from ‘caffe::MKLEltwiseLayer::MKLEltwiseLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/mkl_eltwise_layer.cpp:312:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/mkl_eltwise_layer.cpp:313:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/mkl_eltwise_layer.cpp:313:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/mkl_eltwise_layer.o] Error 1 CXX src/caffe/layers/im2col_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layers/threshold_layer.hpp:43, from src/caffe/layers/threshold_layer.cpp:40: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/threshold_layer.hpp:44, from src/caffe/layers/threshold_layer.cpp:40: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/threshold_layer.hpp:44:0, from src/caffe/layers/threshold_layer.cpp:40: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/threshold_layer.hpp:44:0, from src/caffe/layers/threshold_layer.cpp:40: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/threshold_layer.hpp:44:0, from src/caffe/layers/threshold_layer.cpp:40: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/threshold_layer.hpp:44:0, from src/caffe/layers/threshold_layer.cpp:40: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/neuron_layer.hpp:56:7: required from ‘caffe::ThresholdLayer::ThresholdLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/threshold_layer.cpp:66:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/neuron_layer.hpp:56:7: required from ‘caffe::ThresholdLayer::ThresholdLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/threshold_layer.cpp:66:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/neuron_layer.hpp:59:26: required from ‘caffe::NeuronLayer::NeuronLayer(const caffe::LayerParameter&) [with Dtype = float]’ ./include/caffe/layers/threshold_layer.hpp:65:33: required from ‘caffe::ThresholdLayer::ThresholdLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/threshold_layer.cpp:66:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/neuron_layer.hpp:59:26: required from ‘caffe::NeuronLayer::NeuronLayer(const caffe::LayerParameter&) [with Dtype = double]’ ./include/caffe/layers/threshold_layer.hpp:65:33: required from ‘caffe::ThresholdLayer::ThresholdLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/threshold_layer.cpp:66:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/threshold_layer.cpp:69:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/threshold_layer.cpp:69:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/threshold_layer.o] Error 1 CXX src/caffe/layers/lstm_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layers/tanh_layer.hpp:43, from src/caffe/layers/tanh_layer.cpp:43: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/tanh_layer.hpp:44, from src/caffe/layers/tanh_layer.cpp:43: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/tanh_layer.hpp:44:0, from src/caffe/layers/tanh_layer.cpp:43: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/tanh_layer.hpp:44:0, from src/caffe/layers/tanh_layer.cpp:43: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/tanh_layer.hpp:44:0, from src/caffe/layers/tanh_layer.cpp:43: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/tanh_layer.hpp:44:0, from src/caffe/layers/tanh_layer.cpp:43: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/neuron_layer.hpp:56:7: required from ‘caffe::TanHLayer::TanHLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/tanh_layer.cpp:79:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/neuron_layer.hpp:56:7: required from ‘caffe::TanHLayer::TanHLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/tanh_layer.cpp:79:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/neuron_layer.hpp:59:26: required from ‘caffe::NeuronLayer::NeuronLayer(const caffe::LayerParameter&) [with Dtype = float]’ ./include/caffe/layers/tanh_layer.hpp:63:33: required from ‘caffe::TanHLayer::TanHLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/tanh_layer.cpp:79:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/neuron_layer.hpp:59:26: required from ‘caffe::NeuronLayer::NeuronLayer(const caffe::LayerParameter&) [with Dtype = double]’ ./include/caffe/layers/tanh_layer.hpp:63:33: required from ‘caffe::TanHLayer::TanHLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/tanh_layer.cpp:79:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/tanh_layer.cpp:81:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/tanh_layer.cpp:81:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/tanh_layer.o] Error 1 CXX src/caffe/layers/reduction_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layers/filter_layer.hpp:43, from src/caffe/layers/filter_layer.cpp:40: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/filter_layer.hpp:44, from src/caffe/layers/filter_layer.cpp:40: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/filter_layer.hpp:44:0, from src/caffe/layers/filter_layer.cpp:40: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/filter_layer.hpp:44:0, from src/caffe/layers/filter_layer.cpp:40: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/filter_layer.hpp:44:0, from src/caffe/layers/filter_layer.cpp:40: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/filter_layer.hpp:44:0, from src/caffe/layers/filter_layer.cpp:40: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/filter_layer.hpp:59:27: required from ‘caffe::FilterLayer::FilterLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/filter_layer.cpp:159:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/filter_layer.hpp:59:27: required from ‘caffe::FilterLayer::FilterLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/filter_layer.cpp:159:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/filter_layer.hpp:59:27: required from ‘caffe::FilterLayer::FilterLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/filter_layer.cpp:159:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/filter_layer.hpp:59:27: required from ‘caffe::FilterLayer::FilterLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/filter_layer.cpp:159:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/filter_layer.cpp:162:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/filter_layer.cpp:162:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/filter_layer.o] Error 1 CXX src/caffe/layers/cudnn_relu_layer.cpp CXX src/caffe/layers/detection_output_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/data_transformer.hpp:44, from src/caffe/layers/window_data_layer.cpp:52: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/base_data_layer.hpp:46, from src/caffe/layers/window_data_layer.cpp:54: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/base_data_layer.hpp:46:0, from src/caffe/layers/window_data_layer.cpp:54: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/base_data_layer.hpp:46:0, from src/caffe/layers/window_data_layer.cpp:54: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/base_data_layer.hpp:46:0, from src/caffe/layers/window_data_layer.cpp:54: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/base_data_layer.hpp:46:0, from src/caffe/layers/window_data_layer.cpp:54: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:4: note: suggested alternative: In file included from src/caffe/layers/window_data_layer.cpp:48:0: /usr/local/include/opencv2/core/core.hpp:996:30: note: ‘cv::DataType’ template class DataType ^ In file included from ./include/caffe/layers/base_data_layer.hpp:46:0, from src/caffe/layers/window_data_layer.cpp:54: ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ In file included from src/caffe/layers/window_data_layer.cpp:54:0: ./include/caffe/layers/base_data_layer.hpp: At global scope: ./include/caffe/layers/base_data_layer.hpp:80:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/base_data_layer.hpp:80:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/base_data_layer.hpp:81:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/base_data_layer.hpp:81:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ In file included from ./include/caffe/layers/base_data_layer.hpp:46:0, from src/caffe/layers/window_data_layer.cpp:54: ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/base_data_layer.hpp:58:7: required from ‘caffe::WindowDataLayer::WindowDataLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/window_data_layer.cpp:509:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/base_data_layer.hpp:58:7: required from ‘caffe::WindowDataLayer::WindowDataLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/window_data_layer.cpp:509:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/window_data_layer.cpp:512:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/window_data_layer.cpp:512:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/window_data_layer.o] Error 1 CXX src/caffe/layers/cudnn_conv_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layers/hdf5_output_layer.hpp:46, from src/caffe/layers/hdf5_output_layer.cpp:43: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/hdf5_output_layer.hpp:47, from src/caffe/layers/hdf5_output_layer.cpp:43: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/hdf5_output_layer.hpp:47:0, from src/caffe/layers/hdf5_output_layer.cpp:43: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/hdf5_output_layer.hpp:47:0, from src/caffe/layers/hdf5_output_layer.cpp:43: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/hdf5_output_layer.hpp:47:0, from src/caffe/layers/hdf5_output_layer.cpp:43: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/hdf5_output_layer.hpp:47:0, from src/caffe/layers/hdf5_output_layer.cpp:43: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/hdf5_output_layer.hpp:64:48: required from ‘caffe::HDF5OutputLayer::HDF5OutputLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/hdf5_output_layer.cpp:108:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/hdf5_output_layer.hpp:64:48: required from ‘caffe::HDF5OutputLayer::HDF5OutputLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/hdf5_output_layer.cpp:108:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/hdf5_output_layer.hpp:64:48: required from ‘caffe::HDF5OutputLayer::HDF5OutputLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/hdf5_output_layer.cpp:108:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/hdf5_output_layer.hpp:64:48: required from ‘caffe::HDF5OutputLayer::HDF5OutputLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/hdf5_output_layer.cpp:108:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/hdf5_output_layer.cpp:111:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/hdf5_output_layer.cpp:111:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/hdf5_output_layer.o] Error 1 CXX src/caffe/layers/silence_layer.cpp CXX src/caffe/layers/crop_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layers/absval_layer.hpp:43, from src/caffe/layers/absval_layer.cpp:40: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/absval_layer.hpp:44, from src/caffe/layers/absval_layer.cpp:40: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/absval_layer.hpp:44:0, from src/caffe/layers/absval_layer.cpp:40: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/absval_layer.hpp:44:0, from src/caffe/layers/absval_layer.cpp:40: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/absval_layer.hpp:44:0, from src/caffe/layers/absval_layer.cpp:40: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/absval_layer.hpp:44:0, from src/caffe/layers/absval_layer.cpp:40: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/neuron_layer.hpp:56:7: required from ‘caffe::AbsValLayer::AbsValLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/absval_layer.cpp:78:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/neuron_layer.hpp:56:7: required from ‘caffe::AbsValLayer::AbsValLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/absval_layer.cpp:78:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/neuron_layer.hpp:59:26: required from ‘caffe::NeuronLayer::NeuronLayer(const caffe::LayerParameter&) [with Dtype = float]’ ./include/caffe/layers/absval_layer.hpp:65:33: required from ‘caffe::AbsValLayer::AbsValLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/absval_layer.cpp:78:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/neuron_layer.hpp:59:26: required from ‘caffe::NeuronLayer::NeuronLayer(const caffe::LayerParameter&) [with Dtype = double]’ ./include/caffe/layers/absval_layer.hpp:65:33: required from ‘caffe::AbsValLayer::AbsValLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/absval_layer.cpp:78:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/absval_layer.cpp:81:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/absval_layer.cpp:81:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/absval_layer.o] Error 1 CXX src/caffe/layers/mkl_relu_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layers/im2col_layer.hpp:43, from src/caffe/layers/im2col_layer.cpp:40: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/im2col_layer.hpp:44, from src/caffe/layers/im2col_layer.cpp:40: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/im2col_layer.hpp:44:0, from src/caffe/layers/im2col_layer.cpp:40: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/im2col_layer.hpp:44:0, from src/caffe/layers/im2col_layer.cpp:40: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/im2col_layer.hpp:44:0, from src/caffe/layers/im2col_layer.cpp:40: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/im2col_layer.hpp:44:0, from src/caffe/layers/im2col_layer.cpp:40: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/im2col_layer.hpp:60:27: required from ‘caffe::Im2colLayer::Im2colLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/im2col_layer.cpp:227:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/im2col_layer.hpp:60:27: required from ‘caffe::Im2colLayer::Im2colLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/im2col_layer.cpp:227:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/im2col_layer.hpp:60:27: required from ‘caffe::Im2colLayer::Im2colLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/im2col_layer.cpp:227:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/im2col_layer.hpp:60:27: required from ‘caffe::Im2colLayer::Im2colLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/im2col_layer.cpp:227:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/im2col_layer.cpp:230:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/im2col_layer.cpp:230:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/im2col_layer.o] Error 1 CXX src/caffe/layers/multibox_loss_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from src/caffe/layers/lstm_layer.cpp:41: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from src/caffe/layers/lstm_layer.cpp:44: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from src/caffe/layers/lstm_layer.cpp:44:0: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from src/caffe/layers/lstm_layer.cpp:44:0: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from src/caffe/layers/lstm_layer.cpp:44:0: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from src/caffe/layers/lstm_layer.cpp:44:0: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/recurrent_layer.hpp:63:7: required from ‘caffe::LSTMLayer::LSTMLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/lstm_layer.cpp:278:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/recurrent_layer.hpp:63:7: required from ‘caffe::LSTMLayer::LSTMLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/lstm_layer.cpp:278:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/recurrent_layer.hpp:66:27: required from ‘caffe::RecurrentLayer::RecurrentLayer(const caffe::LayerParameter&) [with Dtype = float]’ ./include/caffe/layers/lstm_layer.hpp:88:36: required from ‘caffe::LSTMLayer::LSTMLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/lstm_layer.cpp:278:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/recurrent_layer.hpp:66:27: required from ‘caffe::RecurrentLayer::RecurrentLayer(const caffe::LayerParameter&) [with Dtype = double]’ ./include/caffe/layers/lstm_layer.hpp:88:36: required from ‘caffe::LSTMLayer::LSTMLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/lstm_layer.cpp:278:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/lstm_layer.cpp:281:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/lstm_layer.cpp:281:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/lstm_layer.o] Error 1 CXX src/caffe/layers/mkldnn_batch_norm_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layers/reduction_layer.hpp:43, from src/caffe/layers/reduction_layer.cpp:40: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/reduction_layer.hpp:44, from src/caffe/layers/reduction_layer.cpp:40: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/reduction_layer.hpp:44:0, from src/caffe/layers/reduction_layer.cpp:40: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/reduction_layer.hpp:44:0, from src/caffe/layers/reduction_layer.cpp:40: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/reduction_layer.hpp:44:0, from src/caffe/layers/reduction_layer.cpp:40: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/reduction_layer.hpp:44:0, from src/caffe/layers/reduction_layer.cpp:40: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/reduction_layer.hpp:60:27: required from ‘caffe::ReductionLayer::ReductionLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/reduction_layer.cpp:163:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/reduction_layer.hpp:60:27: required from ‘caffe::ReductionLayer::ReductionLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/reduction_layer.cpp:163:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/reduction_layer.hpp:60:27: required from ‘caffe::ReductionLayer::ReductionLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/reduction_layer.cpp:163:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/reduction_layer.hpp:60:27: required from ‘caffe::ReductionLayer::ReductionLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/reduction_layer.cpp:163:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/reduction_layer.cpp:166:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/reduction_layer.cpp:166:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/reduction_layer.o] Error 1 CXX src/caffe/layers/reshape_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/data_transformer.hpp:44, from src/caffe/layers/image_data_layer.cpp:47: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/base_data_layer.hpp:46, from src/caffe/layers/image_data_layer.cpp:48: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/base_data_layer.hpp:46:0, from src/caffe/layers/image_data_layer.cpp:48: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/base_data_layer.hpp:46:0, from src/caffe/layers/image_data_layer.cpp:48: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/base_data_layer.hpp:46:0, from src/caffe/layers/image_data_layer.cpp:48: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/base_data_layer.hpp:46:0, from src/caffe/layers/image_data_layer.cpp:48: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:4: note: suggested alternative: In file included from src/caffe/layers/image_data_layer.cpp:39:0: /usr/local/include/opencv2/core/core.hpp:996:30: note: ‘cv::DataType’ template class DataType ^ In file included from ./include/caffe/layers/base_data_layer.hpp:46:0, from src/caffe/layers/image_data_layer.cpp:48: ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ In file included from src/caffe/layers/image_data_layer.cpp:48:0: ./include/caffe/layers/base_data_layer.hpp: At global scope: ./include/caffe/layers/base_data_layer.hpp:80:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/base_data_layer.hpp:80:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/base_data_layer.hpp:81:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/base_data_layer.hpp:81:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ In file included from ./include/caffe/layers/base_data_layer.hpp:46:0, from src/caffe/layers/image_data_layer.cpp:48: ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/base_data_layer.hpp:58:7: required from ‘caffe::ImageDataLayer::ImageDataLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/image_data_layer.cpp:239:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/base_data_layer.hpp:58:7: required from ‘caffe::ImageDataLayer::ImageDataLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/image_data_layer.cpp:239:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/image_data_layer.cpp:242:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/image_data_layer.cpp:242:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/image_data_layer.o] Error 1 CXX src/caffe/layers/split_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layers/silence_layer.hpp:43, from src/caffe/layers/silence_layer.cpp:40: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/silence_layer.hpp:44, from src/caffe/layers/silence_layer.cpp:40: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/silence_layer.hpp:44:0, from src/caffe/layers/silence_layer.cpp:40: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/silence_layer.hpp:44:0, from src/caffe/layers/silence_layer.cpp:40: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/silence_layer.hpp:44:0, from src/caffe/layers/silence_layer.cpp:40: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/silence_layer.hpp:44:0, from src/caffe/layers/silence_layer.cpp:40: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/silence_layer.hpp:57:27: required from ‘caffe::SilenceLayer::SilenceLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/silence_layer.cpp:60:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/silence_layer.hpp:57:27: required from ‘caffe::SilenceLayer::SilenceLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/silence_layer.cpp:60:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/silence_layer.hpp:57:27: required from ‘caffe::SilenceLayer::SilenceLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/silence_layer.cpp:60:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/silence_layer.hpp:57:27: required from ‘caffe::SilenceLayer::SilenceLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/silence_layer.cpp:60:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/silence_layer.cpp:63:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/silence_layer.cpp:63:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/silence_layer.o] Error 1 CXX src/caffe/layers/mkldnn_pooling_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layer.hpp:45, from src/caffe/layers/crop_layer.cpp:45: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from src/caffe/layers/crop_layer.cpp:45: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from src/caffe/layers/crop_layer.cpp:45:0: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from src/caffe/layers/crop_layer.cpp:45:0: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from src/caffe/layers/crop_layer.cpp:45:0: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from src/caffe/layers/crop_layer.cpp:45:0: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/crop_layer.hpp:61:27: required from ‘caffe::CropLayer::CropLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/crop_layer.cpp:173:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/crop_layer.hpp:61:27: required from ‘caffe::CropLayer::CropLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/crop_layer.cpp:173:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/crop_layer.hpp:61:27: required from ‘caffe::CropLayer::CropLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/crop_layer.cpp:173:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/crop_layer.hpp:61:27: required from ‘caffe::CropLayer::CropLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/crop_layer.cpp:173:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/crop_layer.cpp:176:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/crop_layer.cpp:176:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/crop_layer.o] Error 1 CXX src/caffe/layers/flatten_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layers/mkl_layers.hpp:45, from src/caffe/layers/mkl_relu_layer.cpp:42: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/base_conv_layer.hpp:44, from ./include/caffe/layers/mkl_layers.hpp:47, from src/caffe/layers/mkl_relu_layer.cpp:42: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/base_conv_layer.hpp:44:0, from ./include/caffe/layers/mkl_layers.hpp:47, from src/caffe/layers/mkl_relu_layer.cpp:42: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/base_conv_layer.hpp:44:0, from ./include/caffe/layers/mkl_layers.hpp:47, from src/caffe/layers/mkl_relu_layer.cpp:42: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/base_conv_layer.hpp:44:0, from ./include/caffe/layers/mkl_layers.hpp:47, from src/caffe/layers/mkl_relu_layer.cpp:42: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/base_conv_layer.hpp:44:0, from ./include/caffe/layers/mkl_layers.hpp:47, from src/caffe/layers/mkl_relu_layer.cpp:42: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ In file included from ./include/caffe/layers/mkl_layers.hpp:52:0, from src/caffe/layers/mkl_relu_layer.cpp:42: ./include/caffe/mkl_memory.hpp: In destructor ‘caffe::MKLMemoryDescriptorBase::~MKLMemoryDescriptorBase()’: ./include/caffe/mkl_memory.hpp:63:9: error: ‘MLSL’ has not been declared MLSL::Free((void*)internal_ptr); ^ ./include/caffe/mkl_memory.hpp: In member function ‘void caffe::MKLMemoryDescriptorBase::allocate()’: ./include/caffe/mkl_memory.hpp:91:30: error: ‘MLSL’ has not been declared internal_ptr = (Dtype*)MLSL::Alloc(prv_size(), 64); ^ In file included from src/caffe/layers/mkl_relu_layer.cpp:42:0: ./include/caffe/layers/mkl_layers.hpp: At global scope: ./include/caffe/layers/mkl_layers.hpp:94:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:94:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:95:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:95:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:175:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:175:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:176:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:176:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:259:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:259:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:260:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:260:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:333:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:333:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:334:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:334:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:389:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:389:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:390:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:390:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ src/caffe/layers/mkl_relu_layer.cpp:46:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ src/caffe/layers/mkl_relu_layer.cpp:46:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ src/caffe/layers/mkl_relu_layer.cpp: In member function ‘void caffe::MKLReLULayer::Init(const std::vector*>&, const std::vector*>&)’: src/caffe/layers/mkl_relu_layer.cpp:103:3: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ src/caffe/layers/mkl_relu_layer.cpp:103:12: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ src/caffe/layers/mkl_relu_layer.cpp:104:3: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ src/caffe/layers/mkl_relu_layer.cpp:104:21: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ src/caffe/layers/mkl_relu_layer.cpp:105:19: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(COMP_OP_TYPE_ACT); ^ src/caffe/layers/mkl_relu_layer.cpp:105:19: error: expected ‘;’ before ‘ComputeOpRegInfo’ src/caffe/layers/mkl_relu_layer.cpp:107:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ src/caffe/layers/mkl_relu_layer.cpp:111:23: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ src/caffe/layers/mkl_relu_layer.cpp:111:23: error: expected ‘;’ before ‘ComputeOp’ src/caffe/layers/mkl_relu_layer.cpp: At global scope: src/caffe/layers/mkl_relu_layer.cpp:121:39: error: variable or field ‘pack_buffer’ declared void void MKLReLULayer::pack_buffer(FeatureMap *fm, Dtype *to, const Dtype *from) { ^ src/caffe/layers/mkl_relu_layer.cpp:121:39: error: ‘FeatureMap’ was not declared in this scope src/caffe/layers/mkl_relu_layer.cpp:121:51: error: ‘fm’ was not declared in this scope void MKLReLULayer::pack_buffer(FeatureMap *fm, Dtype *to, const Dtype *from) { ^ src/caffe/layers/mkl_relu_layer.cpp:121:61: error: expected primary-expression before ‘*’ token void MKLReLULayer::pack_buffer(FeatureMap *fm, Dtype *to, const Dtype *from) { ^ src/caffe/layers/mkl_relu_layer.cpp:121:62: error: ‘to’ was not declared in this scope void MKLReLULayer::pack_buffer(FeatureMap *fm, Dtype *to, const Dtype *from) { ^ src/caffe/layers/mkl_relu_layer.cpp:121:66: error: expected primary-expression before ‘const’ void MKLReLULayer::pack_buffer(FeatureMap *fm, Dtype *to, const Dtype *from) { ^ src/caffe/layers/mkl_relu_layer.cpp:142:41: error: variable or field ‘unpack_buffer’ declared void void MKLReLULayer::unpack_buffer(FeatureMap *fm, const Dtype *from, Dtype *to) { ^ src/caffe/layers/mkl_relu_layer.cpp:142:41: error: ‘FeatureMap’ was not declared in this scope src/caffe/layers/mkl_relu_layer.cpp:142:53: error: ‘fm’ was not declared in this scope void MKLReLULayer::unpack_buffer(FeatureMap *fm, const Dtype *from, Dtype *to) { ^ src/caffe/layers/mkl_relu_layer.cpp:142:57: error: expected primary-expression before ‘const’ void MKLReLULayer::unpack_buffer(FeatureMap *fm, const Dtype *from, Dtype *to) { ^ src/caffe/layers/mkl_relu_layer.cpp:142:82: error: expected primary-expression before ‘*’ token void MKLReLULayer::unpack_buffer(FeatureMap *fm, const Dtype *from, Dtype *to) { ^ src/caffe/layers/mkl_relu_layer.cpp:142:83: error: ‘to’ was not declared in this scope void MKLReLULayer::unpack_buffer(FeatureMap *fm, const Dtype *from, Dtype *to) { ^ src/caffe/layers/mkl_relu_layer.cpp: In instantiation of ‘void caffe::MKLReLULayer::Init(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/mkl_relu_layer.cpp:337:1: required from here src/caffe/layers/mkl_relu_layer.cpp:111:17: error: ‘class caffe::MKLReLULayer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ src/caffe/layers/mkl_relu_layer.cpp: In instantiation of ‘void caffe::MKLReLULayer::Init(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/mkl_relu_layer.cpp:337:1: required from here src/caffe/layers/mkl_relu_layer.cpp:111:17: error: ‘class caffe::MKLReLULayer’ has no member named ‘layerOp’ In file included from ./include/caffe/layers/base_conv_layer.hpp:44:0, from ./include/caffe/layers/mkl_layers.hpp:47, from src/caffe/layers/mkl_relu_layer.cpp:42: ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/neuron_layer.hpp:56:7: required from ‘caffe::MKLReLULayer::MKLReLULayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/mkl_relu_layer.cpp:337:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/neuron_layer.hpp:56:7: required from ‘caffe::MKLReLULayer::MKLReLULayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/mkl_relu_layer.cpp:337:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/neuron_layer.hpp:59:26: required from ‘caffe::NeuronLayer::NeuronLayer(const caffe::LayerParameter&) [with Dtype = float]’ ./include/caffe/layers/mkl_layers.hpp:314:20: required from ‘caffe::MKLReLULayer::MKLReLULayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/mkl_relu_layer.cpp:337:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/neuron_layer.hpp:59:26: required from ‘caffe::NeuronLayer::NeuronLayer(const caffe::LayerParameter&) [with Dtype = double]’ ./include/caffe/layers/mkl_layers.hpp:314:20: required from ‘caffe::MKLReLULayer::MKLReLULayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/mkl_relu_layer.cpp:337:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/mkl_relu_layer.cpp:338:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/mkl_relu_layer.cpp:338:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/mkl_relu_layer.o] Error 1 CXX src/caffe/layers/neuron_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/filler.hpp:48, from src/caffe/layers/mkldnn_batch_norm_layer.cpp:41: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/base_conv_layer.hpp:44, from ./include/caffe/layers/mkldnn_layers.hpp:48, from src/caffe/layers/mkldnn_batch_norm_layer.cpp:43: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/base_conv_layer.hpp:44:0, from ./include/caffe/layers/mkldnn_layers.hpp:48, from src/caffe/layers/mkldnn_batch_norm_layer.cpp:43: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/base_conv_layer.hpp:44:0, from ./include/caffe/layers/mkldnn_layers.hpp:48, from src/caffe/layers/mkldnn_batch_norm_layer.cpp:43: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/base_conv_layer.hpp:44:0, from ./include/caffe/layers/mkldnn_layers.hpp:48, from src/caffe/layers/mkldnn_batch_norm_layer.cpp:43: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/base_conv_layer.hpp:44:0, from ./include/caffe/layers/mkldnn_layers.hpp:48, from src/caffe/layers/mkldnn_batch_norm_layer.cpp:43: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/mkldnn_layers.hpp:72:53: required from ‘caffe::MKLDNNBatchNormLayer::MKLDNNBatchNormLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/mkldnn_batch_norm_layer.cpp:432:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/mkldnn_layers.hpp:72:53: required from ‘caffe::MKLDNNBatchNormLayer::MKLDNNBatchNormLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/mkldnn_batch_norm_layer.cpp:432:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/mkldnn_layers.hpp:72:53: required from ‘caffe::MKLDNNBatchNormLayer::MKLDNNBatchNormLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/mkldnn_batch_norm_layer.cpp:432:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/mkldnn_layers.hpp:72:53: required from ‘caffe::MKLDNNBatchNormLayer::MKLDNNBatchNormLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/mkldnn_batch_norm_layer.cpp:432:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/mkldnn_batch_norm_layer.cpp:433:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/mkldnn_batch_norm_layer.cpp:433:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ In file included from ./include/caffe/layers/mkldnn_layers.hpp:47:0, from src/caffe/layers/mkldnn_batch_norm_layer.cpp:43: ./include/caffe/engine_parser.hpp: In member function ‘mkldnn::engine& caffe::EngineParser::getMKLDNNSubEngine(unsigned int) const’: ./include/caffe/engine_parser.hpp:88:3: warning: control reaches end of non-void function [-Wreturn-type] } ^ make: *** [.build_release/src/caffe/layers/mkldnn_batch_norm_layer.o] Error 1 CXX src/caffe/layers/mkl_convolution_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layers/reshape_layer.hpp:43, from src/caffe/layers/reshape_layer.cpp:40: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/reshape_layer.hpp:44, from src/caffe/layers/reshape_layer.cpp:40: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/reshape_layer.hpp:44:0, from src/caffe/layers/reshape_layer.cpp:40: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/reshape_layer.hpp:44:0, from src/caffe/layers/reshape_layer.cpp:40: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/reshape_layer.hpp:44:0, from src/caffe/layers/reshape_layer.cpp:40: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/reshape_layer.hpp:44:0, from src/caffe/layers/reshape_layer.cpp:40: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/reshape_layer.hpp:59:27: required from ‘caffe::ReshapeLayer::ReshapeLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/reshape_layer.cpp:130:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/reshape_layer.hpp:59:27: required from ‘caffe::ReshapeLayer::ReshapeLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/reshape_layer.cpp:130:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/reshape_layer.hpp:59:27: required from ‘caffe::ReshapeLayer::ReshapeLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/reshape_layer.cpp:130:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/reshape_layer.hpp:59:27: required from ‘caffe::ReshapeLayer::ReshapeLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/reshape_layer.cpp:130:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/reshape_layer.cpp:133:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/reshape_layer.cpp:133:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/reshape_layer.o] Error 1 CXX src/caffe/layers/infogain_loss_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layers/split_layer.hpp:43, from src/caffe/layers/split_layer.cpp:40: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/split_layer.hpp:44, from src/caffe/layers/split_layer.cpp:40: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/split_layer.hpp:44:0, from src/caffe/layers/split_layer.cpp:40: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/split_layer.hpp:44:0, from src/caffe/layers/split_layer.cpp:40: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/split_layer.hpp:44:0, from src/caffe/layers/split_layer.cpp:40: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/split_layer.hpp:44:0, from src/caffe/layers/split_layer.cpp:40: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ src/caffe/layers/split_layer.cpp: At global scope: src/caffe/layers/split_layer.cpp:44:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ src/caffe/layers/split_layer.cpp:44:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ src/caffe/layers/split_layer.cpp: In member function ‘virtual void caffe::SplitLayer::LayerSetUp(const std::vector*>&, const std::vector*>&)’: src/caffe/layers/split_layer.cpp:55:3: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ src/caffe/layers/split_layer.cpp:55:12: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ src/caffe/layers/split_layer.cpp:56:2: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ src/caffe/layers/split_layer.cpp:56:20: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ src/caffe/layers/split_layer.cpp:57:18: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(COMP_OP_TYPE_BCAST); ^ src/caffe/layers/split_layer.cpp:57:18: error: expected ‘;’ before ‘ComputeOpRegInfo’ src/caffe/layers/split_layer.cpp:64:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ src/caffe/layers/split_layer.cpp:71:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ src/caffe/layers/split_layer.cpp:75:22: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ src/caffe/layers/split_layer.cpp:75:22: error: expected ‘;’ before ‘ComputeOp’ src/caffe/layers/split_layer.cpp: In instantiation of ‘void caffe::SplitLayer::LayerSetUp(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/split_layer.cpp:129:1: required from here src/caffe/layers/split_layer.cpp:75:16: error: ‘class caffe::SplitLayer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ src/caffe/layers/split_layer.cpp: In instantiation of ‘void caffe::SplitLayer::LayerSetUp(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/split_layer.cpp:129:1: required from here src/caffe/layers/split_layer.cpp:75:16: error: ‘class caffe::SplitLayer’ has no member named ‘layerOp’ In file included from ./include/caffe/layers/split_layer.hpp:44:0, from src/caffe/layers/split_layer.cpp:40: ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/split_layer.hpp:59:27: required from ‘caffe::SplitLayer::SplitLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/split_layer.cpp:129:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/split_layer.hpp:59:27: required from ‘caffe::SplitLayer::SplitLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/split_layer.cpp:129:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/split_layer.hpp:59:27: required from ‘caffe::SplitLayer::SplitLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/split_layer.cpp:129:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/split_layer.hpp:59:27: required from ‘caffe::SplitLayer::SplitLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/split_layer.cpp:129:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/split_layer.cpp:131:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/split_layer.cpp:131:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/split_layer.o] Error 1 CXX src/caffe/layers/detection_evaluate_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layers/flatten_layer.hpp:43, from src/caffe/layers/flatten_layer.cpp:40: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/flatten_layer.hpp:44, from src/caffe/layers/flatten_layer.cpp:40: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/flatten_layer.hpp:44:0, from src/caffe/layers/flatten_layer.cpp:40: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/flatten_layer.hpp:44:0, from src/caffe/layers/flatten_layer.cpp:40: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/flatten_layer.hpp:44:0, from src/caffe/layers/flatten_layer.cpp:40: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/flatten_layer.hpp:44:0, from src/caffe/layers/flatten_layer.cpp:40: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ src/caffe/layers/flatten_layer.cpp: In member function ‘virtual void caffe::FlattenLayer::LayerSetUp(const std::vector*>&, const std::vector*>&)’: src/caffe/layers/flatten_layer.cpp:58:3: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ src/caffe/layers/flatten_layer.cpp:58:12: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ src/caffe/layers/flatten_layer.cpp:59:3: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ src/caffe/layers/flatten_layer.cpp:59:21: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ src/caffe/layers/flatten_layer.cpp:60:19: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(COMP_OP_TYPE_ACT); ^ src/caffe/layers/flatten_layer.cpp:60:19: error: expected ‘;’ before ‘ComputeOpRegInfo’ src/caffe/layers/flatten_layer.cpp:62:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ src/caffe/layers/flatten_layer.cpp:66:23: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ src/caffe/layers/flatten_layer.cpp:66:23: error: expected ‘;’ before ‘ComputeOp’ src/caffe/layers/flatten_layer.cpp: In instantiation of ‘void caffe::FlattenLayer::LayerSetUp(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/flatten_layer.cpp:106:1: required from here src/caffe/layers/flatten_layer.cpp:66:17: error: ‘class caffe::FlattenLayer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ src/caffe/layers/flatten_layer.cpp: In instantiation of ‘void caffe::FlattenLayer::LayerSetUp(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/flatten_layer.cpp:106:1: required from here src/caffe/layers/flatten_layer.cpp:66:17: error: ‘class caffe::FlattenLayer’ has no member named ‘layerOp’ In file included from ./include/caffe/layers/flatten_layer.hpp:44:0, from src/caffe/layers/flatten_layer.cpp:40: ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/flatten_layer.hpp:63:27: required from ‘caffe::FlattenLayer::FlattenLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/flatten_layer.cpp:106:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/flatten_layer.hpp:63:27: required from ‘caffe::FlattenLayer::FlattenLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/flatten_layer.cpp:106:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/flatten_layer.hpp:63:27: required from ‘caffe::FlattenLayer::FlattenLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/flatten_layer.cpp:106:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/flatten_layer.hpp:63:27: required from ‘caffe::FlattenLayer::FlattenLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/flatten_layer.cpp:106:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/flatten_layer.cpp:109:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/flatten_layer.cpp:109:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/flatten_layer.o] Error 1 CXX src/caffe/layers/exp_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layers/neuron_layer.hpp:43, from src/caffe/layers/neuron_layer.cpp:40: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/neuron_layer.hpp:44, from src/caffe/layers/neuron_layer.cpp:40: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/neuron_layer.hpp:44:0, from src/caffe/layers/neuron_layer.cpp:40: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/neuron_layer.hpp:44:0, from src/caffe/layers/neuron_layer.cpp:40: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/neuron_layer.hpp:44:0, from src/caffe/layers/neuron_layer.cpp:40: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/neuron_layer.hpp:44:0, from src/caffe/layers/neuron_layer.cpp:40: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/neuron_layer.hpp:59:26: required from ‘caffe::NeuronLayer::NeuronLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/neuron_layer.cpp:50:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/neuron_layer.hpp:59:26: required from ‘caffe::NeuronLayer::NeuronLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/neuron_layer.cpp:50:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/neuron_layer.hpp:59:26: required from ‘caffe::NeuronLayer::NeuronLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/neuron_layer.cpp:50:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/neuron_layer.hpp:59:26: required from ‘caffe::NeuronLayer::NeuronLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/neuron_layer.cpp:50:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/neuron_layer.cpp:52:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/neuron_layer.cpp:52:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/neuron_layer.o] Error 1 CXX src/caffe/layers/recurrent_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layer.hpp:45, from src/caffe/layers/mkldnn_pooling_layer.cpp:44: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from src/caffe/layers/mkldnn_pooling_layer.cpp:44: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from src/caffe/layers/mkldnn_pooling_layer.cpp:44:0: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from src/caffe/layers/mkldnn_pooling_layer.cpp:44:0: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from src/caffe/layers/mkldnn_pooling_layer.cpp:44:0: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from src/caffe/layers/mkldnn_pooling_layer.cpp:44:0: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/mkldnn_layers.hpp:244:36: required from ‘caffe::MKLDNNPoolingLayer::MKLDNNPoolingLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/mkldnn_pooling_layer.cpp:449:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/mkldnn_layers.hpp:244:36: required from ‘caffe::MKLDNNPoolingLayer::MKLDNNPoolingLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/mkldnn_pooling_layer.cpp:449:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/mkldnn_layers.hpp:244:36: required from ‘caffe::MKLDNNPoolingLayer::MKLDNNPoolingLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/mkldnn_pooling_layer.cpp:449:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/mkldnn_layers.hpp:244:36: required from ‘caffe::MKLDNNPoolingLayer::MKLDNNPoolingLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/mkldnn_pooling_layer.cpp:449:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/mkldnn_pooling_layer.cpp:450:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/mkldnn_pooling_layer.cpp:450:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ In file included from ./include/caffe/layers/mkldnn_layers.hpp:47:0, from src/caffe/layers/mkldnn_pooling_layer.cpp:45: ./include/caffe/engine_parser.hpp: In member function ‘mkldnn::engine& caffe::EngineParser::getMKLDNNSubEngine(unsigned int) const’: ./include/caffe/engine_parser.hpp:88:3: warning: control reaches end of non-void function [-Wreturn-type] } ^ make: *** [.build_release/src/caffe/layers/mkldnn_pooling_layer.o] Error 1 CXX src/caffe/layers/tile_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layers/multibox_loss_layer.hpp:45, from src/caffe/layers/multibox_loss_layer.cpp:43: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/multibox_loss_layer.hpp:46, from src/caffe/layers/multibox_loss_layer.cpp:43: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/multibox_loss_layer.hpp:46:0, from src/caffe/layers/multibox_loss_layer.cpp:43: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/multibox_loss_layer.hpp:46:0, from src/caffe/layers/multibox_loss_layer.cpp:43: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/multibox_loss_layer.hpp:46:0, from src/caffe/layers/multibox_loss_layer.cpp:43: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/multibox_loss_layer.hpp:46:0, from src/caffe/layers/multibox_loss_layer.cpp:43: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/loss_layer.hpp:60:7: required from ‘caffe::MultiBoxLossLayer::MultiBoxLossLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/multibox_loss_layer.cpp:418:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUp(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/multibox_loss_layer.cpp:115:5: required from ‘void caffe::MultiBoxLossLayer::LayerSetUp(const std::vector*>&, const std::vector*>&) [with Dtype = float]’ src/caffe/layers/multibox_loss_layer.cpp:418:1: required from here ./include/caffe/layer.hpp:311:5: error: request for member ‘resize’ in ‘((caffe::Layer*)this)->caffe::Layer::prevLayerOps’, which is of non-class type ‘int’ this->prevLayerOps.resize(bottom.size()); ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/loss_layer.hpp:60:7: required from ‘caffe::MultiBoxLossLayer::MultiBoxLossLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/multibox_loss_layer.cpp:418:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUp(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/multibox_loss_layer.cpp:115:5: required from ‘void caffe::MultiBoxLossLayer::LayerSetUp(const std::vector*>&, const std::vector*>&) [with Dtype = double]’ src/caffe/layers/multibox_loss_layer.cpp:418:1: required from here ./include/caffe/layer.hpp:311:5: error: request for member ‘resize’ in ‘((caffe::Layer*)this)->caffe::Layer::prevLayerOps’, which is of non-class type ‘int’ this->prevLayerOps.resize(bottom.size()); ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/loss_layer.hpp:63:26: required from ‘caffe::LossLayer::LossLayer(const caffe::LayerParameter&) [with Dtype = float]’ ./include/caffe/layers/multibox_loss_layer.hpp:66:31: required from ‘caffe::MultiBoxLossLayer::MultiBoxLossLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/multibox_loss_layer.cpp:418:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/loss_layer.hpp:63:26: required from ‘caffe::LossLayer::LossLayer(const caffe::LayerParameter&) [with Dtype = double]’ ./include/caffe/layers/multibox_loss_layer.hpp:66:31: required from ‘caffe::MultiBoxLossLayer::MultiBoxLossLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/multibox_loss_layer.cpp:418:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/multibox_loss_layer.cpp:421:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/multibox_loss_layer.cpp:421:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/multibox_loss_layer.o] Error 1 CXX src/caffe/layers/cudnn_lcn_layer.cpp CXX src/caffe/layers/cudnn_tanh_layer.cpp CXX src/caffe/layers/mkldnn_inner_product_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/filler.hpp:48, from src/caffe/layers/mkl_convolution_layer.cpp:43: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from src/caffe/layers/mkl_convolution_layer.cpp:44: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from src/caffe/layers/mkl_convolution_layer.cpp:44:0: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from src/caffe/layers/mkl_convolution_layer.cpp:44:0: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from src/caffe/layers/mkl_convolution_layer.cpp:44:0: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from src/caffe/layers/mkl_convolution_layer.cpp:44:0: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ In file included from ./include/caffe/layers/mkl_layers.hpp:52:0, from src/caffe/layers/mkl_convolution_layer.cpp:45: ./include/caffe/mkl_memory.hpp: In destructor ‘caffe::MKLMemoryDescriptorBase::~MKLMemoryDescriptorBase()’: ./include/caffe/mkl_memory.hpp:63:9: error: ‘MLSL’ has not been declared MLSL::Free((void*)internal_ptr); ^ ./include/caffe/mkl_memory.hpp: In member function ‘void caffe::MKLMemoryDescriptorBase::allocate()’: ./include/caffe/mkl_memory.hpp:91:30: error: ‘MLSL’ has not been declared internal_ptr = (Dtype*)MLSL::Alloc(prv_size(), 64); ^ In file included from src/caffe/layers/mkl_convolution_layer.cpp:45:0: ./include/caffe/layers/mkl_layers.hpp: At global scope: ./include/caffe/layers/mkl_layers.hpp:94:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:94:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:95:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:95:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:175:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:175:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:176:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:176:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:259:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:259:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:260:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:260:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:333:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:333:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:334:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:334:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:389:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:389:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:390:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:390:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ src/caffe/layers/mkl_convolution_layer.cpp:50:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ src/caffe/layers/mkl_convolution_layer.cpp:50:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ src/caffe/layers/mkl_convolution_layer.cpp: In member function ‘void caffe::MKLConvolutionLayer::Init(const std::vector*>&, const std::vector*>&)’: src/caffe/layers/mkl_convolution_layer.cpp:358:5: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ src/caffe/layers/mkl_convolution_layer.cpp:358:14: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ src/caffe/layers/mkl_convolution_layer.cpp:359:5: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ src/caffe/layers/mkl_convolution_layer.cpp:359:23: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ src/caffe/layers/mkl_convolution_layer.cpp:360:21: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(COMP_OP_TYPE_CC); ^ src/caffe/layers/mkl_convolution_layer.cpp:360:21: error: expected ‘;’ before ‘ComputeOpRegInfo’ src/caffe/layers/mkl_convolution_layer.cpp:362:46: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ src/caffe/layers/mkl_convolution_layer.cpp:371:25: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ src/caffe/layers/mkl_convolution_layer.cpp:371:25: error: expected ‘;’ before ‘ComputeOp’ src/caffe/layers/mkl_convolution_layer.cpp: At global scope: src/caffe/layers/mkl_convolution_layer.cpp:414:46: error: variable or field ‘pack_buffer’ declared void void MKLConvolutionLayer::pack_buffer(FeatureMap *fm, Dtype *to, const Dtype *from) { ^ src/caffe/layers/mkl_convolution_layer.cpp:414:46: error: ‘FeatureMap’ was not declared in this scope src/caffe/layers/mkl_convolution_layer.cpp:414:58: error: ‘fm’ was not declared in this scope void MKLConvolutionLayer::pack_buffer(FeatureMap *fm, Dtype *to, const Dtype *from) { ^ src/caffe/layers/mkl_convolution_layer.cpp:414:68: error: expected primary-expression before ‘*’ token void MKLConvolutionLayer::pack_buffer(FeatureMap *fm, Dtype *to, const Dtype *from) { ^ src/caffe/layers/mkl_convolution_layer.cpp:414:69: error: ‘to’ was not declared in this scope void MKLConvolutionLayer::pack_buffer(FeatureMap *fm, Dtype *to, const Dtype *from) { ^ src/caffe/layers/mkl_convolution_layer.cpp:414:73: error: expected primary-expression before ‘const’ void MKLConvolutionLayer::pack_buffer(FeatureMap *fm, Dtype *to, const Dtype *from) { ^ src/caffe/layers/mkl_convolution_layer.cpp:434:48: error: variable or field ‘unpack_buffer’ declared void void MKLConvolutionLayer::unpack_buffer(FeatureMap *fm, const Dtype *from, Dtype *to) { ^ src/caffe/layers/mkl_convolution_layer.cpp:434:48: error: ‘FeatureMap’ was not declared in this scope src/caffe/layers/mkl_convolution_layer.cpp:434:60: error: ‘fm’ was not declared in this scope void MKLConvolutionLayer::unpack_buffer(FeatureMap *fm, const Dtype *from, Dtype *to) { ^ src/caffe/layers/mkl_convolution_layer.cpp:434:64: error: expected primary-expression before ‘const’ void MKLConvolutionLayer::unpack_buffer(FeatureMap *fm, const Dtype *from, Dtype *to) { ^ src/caffe/layers/mkl_convolution_layer.cpp:434:89: error: expected primary-expression before ‘*’ token void MKLConvolutionLayer::unpack_buffer(FeatureMap *fm, const Dtype *from, Dtype *to) { ^ src/caffe/layers/mkl_convolution_layer.cpp:434:90: error: ‘to’ was not declared in this scope void MKLConvolutionLayer::unpack_buffer(FeatureMap *fm, const Dtype *from, Dtype *to) { ^ src/caffe/layers/mkl_convolution_layer.cpp: In instantiation of ‘void caffe::MKLConvolutionLayer::Init(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/mkl_convolution_layer.cpp:720:1: required from here src/caffe/layers/mkl_convolution_layer.cpp:357:7: error: ‘class caffe::MKLConvolutionLayer’ has no member named ‘layerOp’ if (!this->layerOp) { ^ src/caffe/layers/mkl_convolution_layer.cpp:371:19: error: ‘class caffe::MKLConvolutionLayer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ src/caffe/layers/mkl_convolution_layer.cpp:379:54: error: ‘class caffe::MKLConvolutionLayer’ has no member named ‘layerOp’ << ", wtsize " << this->layerOp->GetWeights(idx)->WTSize(); ^ src/caffe/layers/mkl_convolution_layer.cpp:378:109: error: ‘class caffe::MKLConvolutionLayer’ has no member named ‘layerOp’ << ", owned weight len " << this->layerOp->GetWeights(idx)->OwnedLen() * this->layerOp->GetWeights(idx)->WTSize() ^ src/caffe/layers/mkl_convolution_layer.cpp:378:64: error: ‘class caffe::MKLConvolutionLayer’ has no member named ‘layerOp’ << ", owned weight len " << this->layerOp->GetWeights(idx)->OwnedLen() * this->layerOp->GetWeights(idx)->WTSize() ^ src/caffe/layers/mkl_convolution_layer.cpp:377:109: error: ‘class caffe::MKLConvolutionLayer’ has no member named ‘layerOp’ << ", local weight len " << this->layerOp->GetWeights(idx)->LocalLen() * this->layerOp->GetWeights(idx)->WTSize() ^ src/caffe/layers/mkl_convolution_layer.cpp:377:64: error: ‘class caffe::MKLConvolutionLayer’ has no member named ‘layerOp’ << ", local weight len " << this->layerOp->GetWeights(idx)->LocalLen() * this->layerOp->GetWeights(idx)->WTSize() ^ src/caffe/layers/mkl_convolution_layer.cpp: In instantiation of ‘void caffe::MKLConvolutionLayer::Init(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/mkl_convolution_layer.cpp:720:1: required from here src/caffe/layers/mkl_convolution_layer.cpp:357:7: error: ‘class caffe::MKLConvolutionLayer’ has no member named ‘layerOp’ if (!this->layerOp) { ^ src/caffe/layers/mkl_convolution_layer.cpp:371:19: error: ‘class caffe::MKLConvolutionLayer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ src/caffe/layers/mkl_convolution_layer.cpp:379:54: error: ‘class caffe::MKLConvolutionLayer’ has no member named ‘layerOp’ << ", wtsize " << this->layerOp->GetWeights(idx)->WTSize(); ^ src/caffe/layers/mkl_convolution_layer.cpp:378:109: error: ‘class caffe::MKLConvolutionLayer’ has no member named ‘layerOp’ << ", owned weight len " << this->layerOp->GetWeights(idx)->OwnedLen() * this->layerOp->GetWeights(idx)->WTSize() ^ src/caffe/layers/mkl_convolution_layer.cpp:378:64: error: ‘class caffe::MKLConvolutionLayer’ has no member named ‘layerOp’ << ", owned weight len " << this->layerOp->GetWeights(idx)->OwnedLen() * this->layerOp->GetWeights(idx)->WTSize() ^ src/caffe/layers/mkl_convolution_layer.cpp:377:109: error: ‘class caffe::MKLConvolutionLayer’ has no member named ‘layerOp’ << ", local weight len " << this->layerOp->GetWeights(idx)->LocalLen() * this->layerOp->GetWeights(idx)->WTSize() ^ src/caffe/layers/mkl_convolution_layer.cpp:377:64: error: ‘class caffe::MKLConvolutionLayer’ has no member named ‘layerOp’ << ", local weight len " << this->layerOp->GetWeights(idx)->LocalLen() * this->layerOp->GetWeights(idx)->WTSize() ^ In file included from src/caffe/layers/mkl_convolution_layer.cpp:44:0: ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/base_conv_layer.hpp:55:7: required from ‘caffe::MKLConvolutionLayer::MKLConvolutionLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/mkl_convolution_layer.cpp:720:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ In file included from src/caffe/layers/mkl_convolution_layer.cpp:44:0: ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::on_delinp_ready(const std::vector&) [with Dtype = float]’: src/caffe/layers/mkl_convolution_layer.cpp:563:5: required from ‘void caffe::MKLConvolutionLayer::Backward_cpu(const std::vector*>&, const std::vector&, const std::vector*>&) [with Dtype = float]’ src/caffe/layers/mkl_convolution_layer.cpp:720:1: required from here ./include/caffe/layer.hpp:157:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (!this->layerOp->NumInputFeatureMaps()) { ^ ./include/caffe/layer.hpp:172:41: error: ‘class caffe::Layer’ has no member named ‘layerOp’ FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ In file included from src/caffe/layers/mkl_convolution_layer.cpp:44:0: ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/base_conv_layer.hpp:55:7: required from ‘caffe::MKLConvolutionLayer::MKLConvolutionLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/mkl_convolution_layer.cpp:720:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ In file included from src/caffe/layers/mkl_convolution_layer.cpp:44:0: ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::on_delinp_ready(const std::vector&) [with Dtype = double]’: src/caffe/layers/mkl_convolution_layer.cpp:563:5: required from ‘void caffe::MKLConvolutionLayer::Backward_cpu(const std::vector*>&, const std::vector&, const std::vector*>&) [with Dtype = double]’ src/caffe/layers/mkl_convolution_layer.cpp:720:1: required from here ./include/caffe/layer.hpp:157:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (!this->layerOp->NumInputFeatureMaps()) { ^ ./include/caffe/layer.hpp:172:41: error: ‘class caffe::Layer’ has no member named ‘layerOp’ FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ In file included from src/caffe/layers/mkl_convolution_layer.cpp:44:0: ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/base_conv_layer.hpp:58:27: required from ‘caffe::BaseConvolutionLayer::BaseConvolutionLayer(const caffe::LayerParameter&) [with Dtype = float]’ ./include/caffe/layers/conv_layer.hpp:102:42: required from ‘caffe::ConvolutionLayer::ConvolutionLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/mkl_convolution_layer.cpp:86:49: required from ‘caffe::MKLConvolutionLayer::MKLConvolutionLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/mkl_convolution_layer.cpp:720:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/base_conv_layer.hpp:58:27: required from ‘caffe::BaseConvolutionLayer::BaseConvolutionLayer(const caffe::LayerParameter&) [with Dtype = double]’ ./include/caffe/layers/conv_layer.hpp:102:42: required from ‘caffe::ConvolutionLayer::ConvolutionLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/mkl_convolution_layer.cpp:86:49: required from ‘caffe::MKLConvolutionLayer::MKLConvolutionLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/mkl_convolution_layer.cpp:720:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/mkl_convolution_layer.cpp:721:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/mkl_convolution_layer.cpp:721:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/mkl_convolution_layer.o] Error 1 CXX src/caffe/layers/prior_box_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layers/infogain_loss_layer.hpp:43, from src/caffe/layers/infogain_loss_layer.cpp:42: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/infogain_loss_layer.hpp:44, from src/caffe/layers/infogain_loss_layer.cpp:42: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/infogain_loss_layer.hpp:44:0, from src/caffe/layers/infogain_loss_layer.cpp:42: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/infogain_loss_layer.hpp:44:0, from src/caffe/layers/infogain_loss_layer.cpp:42: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/infogain_loss_layer.hpp:44:0, from src/caffe/layers/infogain_loss_layer.cpp:42: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/infogain_loss_layer.hpp:44:0, from src/caffe/layers/infogain_loss_layer.cpp:42: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/loss_layer.hpp:60:7: required from ‘caffe::InfogainLossLayer::InfogainLossLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/infogain_loss_layer.cpp:142:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/loss_layer.hpp:60:7: required from ‘caffe::InfogainLossLayer::InfogainLossLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/infogain_loss_layer.cpp:142:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/loss_layer.hpp:63:26: required from ‘caffe::LossLayer::LossLayer(const caffe::LayerParameter&) [with Dtype = float]’ ./include/caffe/layers/infogain_loss_layer.hpp:87:44: required from ‘caffe::InfogainLossLayer::InfogainLossLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/infogain_loss_layer.cpp:142:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/loss_layer.hpp:63:26: required from ‘caffe::LossLayer::LossLayer(const caffe::LayerParameter&) [with Dtype = double]’ ./include/caffe/layers/infogain_loss_layer.hpp:87:44: required from ‘caffe::InfogainLossLayer::InfogainLossLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/infogain_loss_layer.cpp:142:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/infogain_loss_layer.cpp:144:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/infogain_loss_layer.cpp:144:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/infogain_loss_layer.o] Error 1 CXX src/caffe/layers/relu_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layers/exp_layer.hpp:43, from src/caffe/layers/exp_layer.cpp:40: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/exp_layer.hpp:44, from src/caffe/layers/exp_layer.cpp:40: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/exp_layer.hpp:44:0, from src/caffe/layers/exp_layer.cpp:40: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/exp_layer.hpp:44:0, from src/caffe/layers/exp_layer.cpp:40: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/exp_layer.hpp:44:0, from src/caffe/layers/exp_layer.cpp:40: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/exp_layer.hpp:44:0, from src/caffe/layers/exp_layer.cpp:40: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/neuron_layer.hpp:56:7: required from ‘caffe::ExpLayer::ExpLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/exp_layer.cpp:102:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/neuron_layer.hpp:56:7: required from ‘caffe::ExpLayer::ExpLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/exp_layer.cpp:102:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/neuron_layer.hpp:59:26: required from ‘caffe::NeuronLayer::NeuronLayer(const caffe::LayerParameter&) [with Dtype = float]’ ./include/caffe/layers/exp_layer.hpp:68:33: required from ‘caffe::ExpLayer::ExpLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/exp_layer.cpp:102:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/neuron_layer.hpp:59:26: required from ‘caffe::NeuronLayer::NeuronLayer(const caffe::LayerParameter&) [with Dtype = double]’ ./include/caffe/layers/exp_layer.hpp:68:33: required from ‘caffe::ExpLayer::ExpLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/exp_layer.cpp:102:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/exp_layer.cpp:105:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/exp_layer.cpp:105:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/exp_layer.o] Error 1 CXX src/caffe/layers/mkl_lrn_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from src/caffe/layers/recurrent_layer.cpp:41: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from src/caffe/layers/recurrent_layer.cpp:44: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from src/caffe/layers/recurrent_layer.cpp:44:0: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from src/caffe/layers/recurrent_layer.cpp:44:0: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from src/caffe/layers/recurrent_layer.cpp:44:0: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from src/caffe/layers/recurrent_layer.cpp:44:0: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/recurrent_layer.hpp:66:27: required from ‘caffe::RecurrentLayer::RecurrentLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/recurrent_layer.cpp:330:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/recurrent_layer.hpp:66:27: required from ‘caffe::RecurrentLayer::RecurrentLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/recurrent_layer.cpp:330:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/recurrent_layer.hpp:66:27: required from ‘caffe::RecurrentLayer::RecurrentLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/recurrent_layer.cpp:330:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/recurrent_layer.hpp:66:27: required from ‘caffe::RecurrentLayer::RecurrentLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/recurrent_layer.cpp:330:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/recurrent_layer.cpp:332:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/recurrent_layer.cpp:332:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/recurrent_layer.o] Error 1 CXX src/caffe/layers/log_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layers/tile_layer.hpp:43, from src/caffe/layers/tile_layer.cpp:40: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/tile_layer.hpp:44, from src/caffe/layers/tile_layer.cpp:40: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/tile_layer.hpp:44:0, from src/caffe/layers/tile_layer.cpp:40: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/tile_layer.hpp:44:0, from src/caffe/layers/tile_layer.cpp:40: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/tile_layer.hpp:44:0, from src/caffe/layers/tile_layer.cpp:40: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/tile_layer.hpp:44:0, from src/caffe/layers/tile_layer.cpp:40: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/tile_layer.hpp:56:27: required from ‘caffe::TileLayer::TileLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/tile_layer.cpp:95:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/tile_layer.hpp:56:27: required from ‘caffe::TileLayer::TileLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/tile_layer.cpp:95:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/tile_layer.hpp:56:27: required from ‘caffe::TileLayer::TileLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/tile_layer.cpp:95:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/tile_layer.hpp:56:27: required from ‘caffe::TileLayer::TileLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/tile_layer.cpp:95:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/tile_layer.cpp:98:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/tile_layer.cpp:98:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/tile_layer.o] Error 1 CXX src/caffe/layers/prelu_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layers/detection_output_layer.hpp:50, from src/caffe/layers/detection_output_layer.cpp:48: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/detection_output_layer.hpp:52, from src/caffe/layers/detection_output_layer.cpp:48: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/detection_output_layer.hpp:52:0, from src/caffe/layers/detection_output_layer.cpp:48: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/detection_output_layer.hpp:52:0, from src/caffe/layers/detection_output_layer.cpp:48: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/detection_output_layer.hpp:52:0, from src/caffe/layers/detection_output_layer.cpp:48: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/detection_output_layer.hpp:52:0, from src/caffe/layers/detection_output_layer.cpp:48: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/detection_output_layer.hpp:72:27: required from ‘caffe::DetectionOutputLayer::DetectionOutputLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/detection_output_layer.cpp:522:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/detection_output_layer.hpp:72:27: required from ‘caffe::DetectionOutputLayer::DetectionOutputLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/detection_output_layer.cpp:522:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/detection_output_layer.hpp:72:27: required from ‘caffe::DetectionOutputLayer::DetectionOutputLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/detection_output_layer.cpp:522:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/detection_output_layer.hpp:72:27: required from ‘caffe::DetectionOutputLayer::DetectionOutputLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/detection_output_layer.cpp:522:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/detection_output_layer.cpp:525:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/detection_output_layer.cpp:525:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/detection_output_layer.o] Error 1 CXX src/caffe/layers/cudnn_pooling_layer.cpp CXX src/caffe/layers/bias_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/filler.hpp:48, from src/caffe/layers/mkldnn_inner_product_layer.cpp:43: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from src/caffe/layers/mkldnn_inner_product_layer.cpp:44: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from src/caffe/layers/mkldnn_inner_product_layer.cpp:44:0: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from src/caffe/layers/mkldnn_inner_product_layer.cpp:44:0: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from src/caffe/layers/mkldnn_inner_product_layer.cpp:44:0: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from src/caffe/layers/mkldnn_inner_product_layer.cpp:44:0: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/inner_product_layer.hpp:56:7: required from ‘caffe::MKLDNNInnerProductLayer::MKLDNNInnerProductLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/mkldnn_inner_product_layer.cpp:421:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/inner_product_layer.hpp:56:7: required from ‘caffe::MKLDNNInnerProductLayer::MKLDNNInnerProductLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/mkldnn_inner_product_layer.cpp:421:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/inner_product_layer.hpp:59:27: required from ‘caffe::InnerProductLayer::InnerProductLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/mkldnn_inner_product_layer.cpp:87:17: required from ‘caffe::MKLDNNInnerProductLayer::MKLDNNInnerProductLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/mkldnn_inner_product_layer.cpp:421:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/inner_product_layer.hpp:59:27: required from ‘caffe::InnerProductLayer::InnerProductLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/mkldnn_inner_product_layer.cpp:87:17: required from ‘caffe::MKLDNNInnerProductLayer::MKLDNNInnerProductLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/mkldnn_inner_product_layer.cpp:421:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/mkldnn_inner_product_layer.cpp:422:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/mkldnn_inner_product_layer.cpp:422:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ In file included from ./include/caffe/layers/mkldnn_layers.hpp:47:0, from src/caffe/layers/mkldnn_inner_product_layer.cpp:45: ./include/caffe/engine_parser.hpp: In member function ‘mkldnn::engine& caffe::EngineParser::getMKLDNNSubEngine(unsigned int) const’: ./include/caffe/engine_parser.hpp:88:3: warning: control reaches end of non-void function [-Wreturn-type] } ^ make: *** [.build_release/src/caffe/layers/mkldnn_inner_product_layer.o] Error 1 CXX src/caffe/layers/cudnn_lrn_layer.cpp CXX src/caffe/layers/mkl_split_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layers/prior_box_layer.hpp:43, from src/caffe/layers/prior_box_layer.cpp:43: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/prior_box_layer.hpp:44, from src/caffe/layers/prior_box_layer.cpp:43: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/prior_box_layer.hpp:44:0, from src/caffe/layers/prior_box_layer.cpp:43: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/prior_box_layer.hpp:44:0, from src/caffe/layers/prior_box_layer.cpp:43: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/prior_box_layer.hpp:44:0, from src/caffe/layers/prior_box_layer.cpp:43: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/prior_box_layer.hpp:44:0, from src/caffe/layers/prior_box_layer.cpp:43: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/prior_box_layer.hpp:71:27: required from ‘caffe::PriorBoxLayer::PriorBoxLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/prior_box_layer.cpp:258:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/prior_box_layer.hpp:71:27: required from ‘caffe::PriorBoxLayer::PriorBoxLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/prior_box_layer.cpp:258:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/prior_box_layer.hpp:71:27: required from ‘caffe::PriorBoxLayer::PriorBoxLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/prior_box_layer.cpp:258:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/prior_box_layer.hpp:71:27: required from ‘caffe::PriorBoxLayer::PriorBoxLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/prior_box_layer.cpp:258:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/prior_box_layer.cpp:261:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/prior_box_layer.cpp:261:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/prior_box_layer.o] Error 1 CXX src/caffe/layers/sigmoid_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layers/relu_layer.hpp:43, from src/caffe/layers/relu_layer.cpp:41: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/relu_layer.hpp:44, from src/caffe/layers/relu_layer.cpp:41: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/relu_layer.hpp:44:0, from src/caffe/layers/relu_layer.cpp:41: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/relu_layer.hpp:44:0, from src/caffe/layers/relu_layer.cpp:41: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/relu_layer.hpp:44:0, from src/caffe/layers/relu_layer.cpp:41: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/relu_layer.hpp:44:0, from src/caffe/layers/relu_layer.cpp:41: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ src/caffe/layers/relu_layer.cpp: In member function ‘virtual void caffe::ReLULayer::LayerSetUp(const std::vector*>&, const std::vector*>&)’: src/caffe/layers/relu_layer.cpp:59:3: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ src/caffe/layers/relu_layer.cpp:59:12: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ src/caffe/layers/relu_layer.cpp:60:3: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ src/caffe/layers/relu_layer.cpp:60:21: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ src/caffe/layers/relu_layer.cpp:61:19: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(COMP_OP_TYPE_ACT); ^ src/caffe/layers/relu_layer.cpp:61:19: error: expected ‘;’ before ‘ComputeOpRegInfo’ src/caffe/layers/relu_layer.cpp:63:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ src/caffe/layers/relu_layer.cpp:67:23: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ src/caffe/layers/relu_layer.cpp:67:23: error: expected ‘;’ before ‘ComputeOp’ src/caffe/layers/relu_layer.cpp: In instantiation of ‘void caffe::ReLULayer::LayerSetUp(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/relu_layer.cpp:114:1: required from here src/caffe/layers/relu_layer.cpp:67:17: error: ‘class caffe::ReLULayer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ src/caffe/layers/relu_layer.cpp: In instantiation of ‘void caffe::ReLULayer::LayerSetUp(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/relu_layer.cpp:114:1: required from here src/caffe/layers/relu_layer.cpp:67:17: error: ‘class caffe::ReLULayer’ has no member named ‘layerOp’ In file included from ./include/caffe/layers/relu_layer.hpp:44:0, from src/caffe/layers/relu_layer.cpp:41: ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/neuron_layer.hpp:56:7: required from ‘caffe::ReLULayer::ReLULayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/relu_layer.cpp:114:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/neuron_layer.hpp:56:7: required from ‘caffe::ReLULayer::ReLULayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/relu_layer.cpp:114:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/neuron_layer.hpp:59:26: required from ‘caffe::NeuronLayer::NeuronLayer(const caffe::LayerParameter&) [with Dtype = float]’ ./include/caffe/layers/relu_layer.hpp:65:33: required from ‘caffe::ReLULayer::ReLULayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/relu_layer.cpp:114:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/neuron_layer.hpp:59:26: required from ‘caffe::NeuronLayer::NeuronLayer(const caffe::LayerParameter&) [with Dtype = double]’ ./include/caffe/layers/relu_layer.hpp:65:33: required from ‘caffe::ReLULayer::ReLULayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/relu_layer.cpp:114:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/relu_layer.cpp:116:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/relu_layer.cpp:116:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/relu_layer.o] Error 1 CXX src/caffe/layers/spp_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layers/detection_evaluate_layer.hpp:44, from src/caffe/layers/detection_evaluate_layer.cpp:43: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/detection_evaluate_layer.hpp:45, from src/caffe/layers/detection_evaluate_layer.cpp:43: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/detection_evaluate_layer.hpp:45:0, from src/caffe/layers/detection_evaluate_layer.cpp:43: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/detection_evaluate_layer.hpp:45:0, from src/caffe/layers/detection_evaluate_layer.cpp:43: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/detection_evaluate_layer.hpp:45:0, from src/caffe/layers/detection_evaluate_layer.cpp:43: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/detection_evaluate_layer.hpp:45:0, from src/caffe/layers/detection_evaluate_layer.cpp:43: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/detection_evaluate_layer.hpp:62:27: required from ‘caffe::DetectionEvaluateLayer::DetectionEvaluateLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/detection_evaluate_layer.cpp:284:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/detection_evaluate_layer.hpp:62:27: required from ‘caffe::DetectionEvaluateLayer::DetectionEvaluateLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/detection_evaluate_layer.cpp:284:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/detection_evaluate_layer.hpp:62:27: required from ‘caffe::DetectionEvaluateLayer::DetectionEvaluateLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/detection_evaluate_layer.cpp:284:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/detection_evaluate_layer.hpp:62:27: required from ‘caffe::DetectionEvaluateLayer::DetectionEvaluateLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/detection_evaluate_layer.cpp:284:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/detection_evaluate_layer.cpp:287:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/detection_evaluate_layer.cpp:287:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/detection_evaluate_layer.o] Error 1 CXX src/caffe/layers/hinge_loss_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layer.hpp:45, from src/caffe/layers/mkl_lrn_layer.cpp:41: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from src/caffe/layers/mkl_lrn_layer.cpp:41: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from src/caffe/layers/mkl_lrn_layer.cpp:41:0: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from src/caffe/layers/mkl_lrn_layer.cpp:41:0: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from src/caffe/layers/mkl_lrn_layer.cpp:41:0: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from src/caffe/layers/mkl_lrn_layer.cpp:41:0: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ In file included from ./include/caffe/layers/mkl_layers.hpp:52:0, from src/caffe/layers/mkl_lrn_layer.cpp:42: ./include/caffe/mkl_memory.hpp: In destructor ‘caffe::MKLMemoryDescriptorBase::~MKLMemoryDescriptorBase()’: ./include/caffe/mkl_memory.hpp:63:9: error: ‘MLSL’ has not been declared MLSL::Free((void*)internal_ptr); ^ ./include/caffe/mkl_memory.hpp: In member function ‘void caffe::MKLMemoryDescriptorBase::allocate()’: ./include/caffe/mkl_memory.hpp:91:30: error: ‘MLSL’ has not been declared internal_ptr = (Dtype*)MLSL::Alloc(prv_size(), 64); ^ In file included from src/caffe/layers/mkl_lrn_layer.cpp:42:0: ./include/caffe/layers/mkl_layers.hpp: At global scope: ./include/caffe/layers/mkl_layers.hpp:94:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:94:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:95:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:95:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:175:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:175:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:176:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:176:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:259:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:259:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:260:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:260:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:333:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:333:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:334:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:334:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:389:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:389:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:390:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:390:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ src/caffe/layers/mkl_lrn_layer.cpp:47:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ src/caffe/layers/mkl_lrn_layer.cpp:47:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ src/caffe/layers/mkl_lrn_layer.cpp: In member function ‘void caffe::MKLLRNLayer::Init(const std::vector*>&, const std::vector*>&)’: src/caffe/layers/mkl_lrn_layer.cpp:106:3: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ src/caffe/layers/mkl_lrn_layer.cpp:106:12: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ src/caffe/layers/mkl_lrn_layer.cpp:107:3: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ src/caffe/layers/mkl_lrn_layer.cpp:107:21: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ src/caffe/layers/mkl_lrn_layer.cpp:108:19: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(COMP_OP_TYPE_POOL); ^ src/caffe/layers/mkl_lrn_layer.cpp:108:19: error: expected ‘;’ before ‘ComputeOpRegInfo’ src/caffe/layers/mkl_lrn_layer.cpp:110:60: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(channels_, width_*height_, dt); ^ src/caffe/layers/mkl_lrn_layer.cpp:114:23: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ src/caffe/layers/mkl_lrn_layer.cpp:114:23: error: expected ‘;’ before ‘ComputeOp’ src/caffe/layers/mkl_lrn_layer.cpp: At global scope: src/caffe/layers/mkl_lrn_layer.cpp:164:38: error: variable or field ‘pack_buffer’ declared void void MKLLRNLayer::pack_buffer(FeatureMap *fm, Dtype *to, const Dtype *from) { ^ src/caffe/layers/mkl_lrn_layer.cpp:164:38: error: ‘FeatureMap’ was not declared in this scope src/caffe/layers/mkl_lrn_layer.cpp:164:50: error: ‘fm’ was not declared in this scope void MKLLRNLayer::pack_buffer(FeatureMap *fm, Dtype *to, const Dtype *from) { ^ src/caffe/layers/mkl_lrn_layer.cpp:164:60: error: expected primary-expression before ‘*’ token void MKLLRNLayer::pack_buffer(FeatureMap *fm, Dtype *to, const Dtype *from) { ^ src/caffe/layers/mkl_lrn_layer.cpp:164:61: error: ‘to’ was not declared in this scope void MKLLRNLayer::pack_buffer(FeatureMap *fm, Dtype *to, const Dtype *from) { ^ src/caffe/layers/mkl_lrn_layer.cpp:164:65: error: expected primary-expression before ‘const’ void MKLLRNLayer::pack_buffer(FeatureMap *fm, Dtype *to, const Dtype *from) { ^ src/caffe/layers/mkl_lrn_layer.cpp:184:40: error: variable or field ‘unpack_buffer’ declared void void MKLLRNLayer::unpack_buffer(FeatureMap *fm, const Dtype *from, Dtype *to) { ^ src/caffe/layers/mkl_lrn_layer.cpp:184:40: error: ‘FeatureMap’ was not declared in this scope src/caffe/layers/mkl_lrn_layer.cpp:184:52: error: ‘fm’ was not declared in this scope void MKLLRNLayer::unpack_buffer(FeatureMap *fm, const Dtype *from, Dtype *to) { ^ src/caffe/layers/mkl_lrn_layer.cpp:184:56: error: expected primary-expression before ‘const’ void MKLLRNLayer::unpack_buffer(FeatureMap *fm, const Dtype *from, Dtype *to) { ^ src/caffe/layers/mkl_lrn_layer.cpp:184:81: error: expected primary-expression before ‘*’ token void MKLLRNLayer::unpack_buffer(FeatureMap *fm, const Dtype *from, Dtype *to) { ^ src/caffe/layers/mkl_lrn_layer.cpp:184:82: error: ‘to’ was not declared in this scope void MKLLRNLayer::unpack_buffer(FeatureMap *fm, const Dtype *from, Dtype *to) { ^ src/caffe/layers/mkl_lrn_layer.cpp: In instantiation of ‘void caffe::MKLLRNLayer::Init(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/mkl_lrn_layer.cpp:379:1: required from here src/caffe/layers/mkl_lrn_layer.cpp:114:17: error: ‘class caffe::MKLLRNLayer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ src/caffe/layers/mkl_lrn_layer.cpp: In instantiation of ‘void caffe::MKLLRNLayer::Init(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/mkl_lrn_layer.cpp:379:1: required from here src/caffe/layers/mkl_lrn_layer.cpp:114:17: error: ‘class caffe::MKLLRNLayer’ has no member named ‘layerOp’ In file included from src/caffe/layers/mkl_lrn_layer.cpp:41:0: ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/mkl_layers.hpp:160:46: required from ‘caffe::MKLLRNLayer::MKLLRNLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/mkl_lrn_layer.cpp:379:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/mkl_layers.hpp:160:46: required from ‘caffe::MKLLRNLayer::MKLLRNLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/mkl_lrn_layer.cpp:379:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/mkl_layers.hpp:160:46: required from ‘caffe::MKLLRNLayer::MKLLRNLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/mkl_lrn_layer.cpp:379:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/mkl_layers.hpp:160:46: required from ‘caffe::MKLLRNLayer::MKLLRNLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/mkl_lrn_layer.cpp:379:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/mkl_lrn_layer.cpp:380:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/mkl_lrn_layer.cpp:380:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/mkl_lrn_layer.o] Error 1 CXX src/caffe/layers/video_data_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layers/log_layer.hpp:43, from src/caffe/layers/log_layer.cpp:40: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/log_layer.hpp:44, from src/caffe/layers/log_layer.cpp:40: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/log_layer.hpp:44:0, from src/caffe/layers/log_layer.cpp:40: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/log_layer.hpp:44:0, from src/caffe/layers/log_layer.cpp:40: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/log_layer.hpp:44:0, from src/caffe/layers/log_layer.cpp:40: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/log_layer.hpp:44:0, from src/caffe/layers/log_layer.cpp:40: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/neuron_layer.hpp:56:7: required from ‘caffe::LogLayer::LogLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/log_layer.cpp:119:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/neuron_layer.hpp:56:7: required from ‘caffe::LogLayer::LogLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/log_layer.cpp:119:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/neuron_layer.hpp:59:26: required from ‘caffe::NeuronLayer::NeuronLayer(const caffe::LayerParameter&) [with Dtype = float]’ ./include/caffe/layers/log_layer.hpp:68:33: required from ‘caffe::LogLayer::LogLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/log_layer.cpp:119:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/neuron_layer.hpp:59:26: required from ‘caffe::NeuronLayer::NeuronLayer(const caffe::LayerParameter&) [with Dtype = double]’ ./include/caffe/layers/log_layer.hpp:68:33: required from ‘caffe::LogLayer::LogLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/log_layer.cpp:119:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/log_layer.cpp:122:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/log_layer.cpp:122:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/log_layer.o] Error 1 CXX src/caffe/layers/memory_data_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/filler.hpp:48, from src/caffe/layers/prelu_layer.cpp:41: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/neuron_layer.hpp:44, from src/caffe/layers/prelu_layer.cpp:43: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/neuron_layer.hpp:44:0, from src/caffe/layers/prelu_layer.cpp:43: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/neuron_layer.hpp:44:0, from src/caffe/layers/prelu_layer.cpp:43: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/neuron_layer.hpp:44:0, from src/caffe/layers/prelu_layer.cpp:43: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/neuron_layer.hpp:44:0, from src/caffe/layers/prelu_layer.cpp:43: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/neuron_layer.hpp:56:7: required from ‘caffe::PReLULayer::PReLULayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/prelu_layer.cpp:175:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/neuron_layer.hpp:56:7: required from ‘caffe::PReLULayer::PReLULayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/prelu_layer.cpp:175:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/neuron_layer.hpp:59:26: required from ‘caffe::NeuronLayer::NeuronLayer(const caffe::LayerParameter&) [with Dtype = float]’ ./include/caffe/layers/prelu_layer.hpp:71:33: required from ‘caffe::PReLULayer::PReLULayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/prelu_layer.cpp:175:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/neuron_layer.hpp:59:26: required from ‘caffe::NeuronLayer::NeuronLayer(const caffe::LayerParameter&) [with Dtype = double]’ ./include/caffe/layers/prelu_layer.hpp:71:33: required from ‘caffe::PReLULayer::PReLULayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/prelu_layer.cpp:175:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/prelu_layer.cpp:178:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/prelu_layer.cpp:178:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/prelu_layer.o] Error 1 CXX src/caffe/layers/bnll_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/filler.hpp:48, from src/caffe/layers/bias_layer.cpp:40: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/bias_layer.hpp:44, from src/caffe/layers/bias_layer.cpp:41: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/bias_layer.hpp:44:0, from src/caffe/layers/bias_layer.cpp:41: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/bias_layer.hpp:44:0, from src/caffe/layers/bias_layer.cpp:41: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/bias_layer.hpp:44:0, from src/caffe/layers/bias_layer.cpp:41: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/bias_layer.hpp:44:0, from src/caffe/layers/bias_layer.cpp:41: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ src/caffe/layers/bias_layer.cpp: In member function ‘virtual void caffe::BiasLayer::LayerSetUp(const std::vector*>&, const std::vector*>&)’: src/caffe/layers/bias_layer.cpp:84:3: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ src/caffe/layers/bias_layer.cpp:84:12: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ src/caffe/layers/bias_layer.cpp:85:3: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ src/caffe/layers/bias_layer.cpp:85:21: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ src/caffe/layers/bias_layer.cpp:86:19: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(COMP_OP_TYPE_BIAS); ^ src/caffe/layers/bias_layer.cpp:86:19: error: expected ‘;’ before ‘ComputeOpRegInfo’ src/caffe/layers/bias_layer.cpp:88:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ src/caffe/layers/bias_layer.cpp:93:23: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ src/caffe/layers/bias_layer.cpp:93:23: error: expected ‘;’ before ‘ComputeOp’ src/caffe/layers/bias_layer.cpp: In instantiation of ‘void caffe::BiasLayer::LayerSetUp(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/bias_layer.cpp:182:1: required from here src/caffe/layers/bias_layer.cpp:93:17: error: ‘class caffe::BiasLayer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ src/caffe/layers/bias_layer.cpp: In instantiation of ‘void caffe::BiasLayer::LayerSetUp(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/bias_layer.cpp:182:1: required from here src/caffe/layers/bias_layer.cpp:93:17: error: ‘class caffe::BiasLayer’ has no member named ‘layerOp’ In file included from ./include/caffe/layers/bias_layer.hpp:44:0, from src/caffe/layers/bias_layer.cpp:41: ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/bias_layer.hpp:62:27: required from ‘caffe::BiasLayer::BiasLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/bias_layer.cpp:182:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/bias_layer.hpp:62:27: required from ‘caffe::BiasLayer::BiasLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/bias_layer.cpp:182:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ In file included from ./include/caffe/layers/bias_layer.hpp:44:0, from src/caffe/layers/bias_layer.cpp:41: ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::on_delinp_ready(const std::vector&) [with Dtype = float]’: src/caffe/layers/bias_layer.cpp:157:7: required from ‘void caffe::BiasLayer::Backward_cpu(const std::vector*>&, const std::vector&, const std::vector*>&) [with Dtype = float]’ src/caffe/layers/bias_layer.cpp:182:1: required from here ./include/caffe/layer.hpp:157:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (!this->layerOp->NumInputFeatureMaps()) { ^ ./include/caffe/layer.hpp:172:41: error: ‘class caffe::Layer’ has no member named ‘layerOp’ FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ In file included from ./include/caffe/layers/bias_layer.hpp:44:0, from src/caffe/layers/bias_layer.cpp:41: ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/bias_layer.hpp:62:27: required from ‘caffe::BiasLayer::BiasLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/bias_layer.cpp:182:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/bias_layer.hpp:62:27: required from ‘caffe::BiasLayer::BiasLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/bias_layer.cpp:182:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ In file included from ./include/caffe/layers/bias_layer.hpp:44:0, from src/caffe/layers/bias_layer.cpp:41: ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::on_delinp_ready(const std::vector&) [with Dtype = double]’: src/caffe/layers/bias_layer.cpp:157:7: required from ‘void caffe::BiasLayer::Backward_cpu(const std::vector*>&, const std::vector&, const std::vector*>&) [with Dtype = double]’ src/caffe/layers/bias_layer.cpp:182:1: required from here ./include/caffe/layer.hpp:157:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (!this->layerOp->NumInputFeatureMaps()) { ^ ./include/caffe/layer.hpp:172:41: error: ‘class caffe::Layer’ has no member named ‘layerOp’ FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ In file included from ./include/caffe/layers/bias_layer.hpp:44:0, from src/caffe/layers/bias_layer.cpp:41: ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/bias_layer.cpp:185:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/bias_layer.cpp:185:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/bias_layer.o] Error 1 CXX src/caffe/layers/mkldnn_convolution_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layers/mkl_layers.hpp:45, from src/caffe/layers/mkl_split_layer.cpp:41: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/base_conv_layer.hpp:44, from ./include/caffe/layers/mkl_layers.hpp:47, from src/caffe/layers/mkl_split_layer.cpp:41: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/base_conv_layer.hpp:44:0, from ./include/caffe/layers/mkl_layers.hpp:47, from src/caffe/layers/mkl_split_layer.cpp:41: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/base_conv_layer.hpp:44:0, from ./include/caffe/layers/mkl_layers.hpp:47, from src/caffe/layers/mkl_split_layer.cpp:41: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/base_conv_layer.hpp:44:0, from ./include/caffe/layers/mkl_layers.hpp:47, from src/caffe/layers/mkl_split_layer.cpp:41: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/base_conv_layer.hpp:44:0, from ./include/caffe/layers/mkl_layers.hpp:47, from src/caffe/layers/mkl_split_layer.cpp:41: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ In file included from ./include/caffe/layers/mkl_layers.hpp:52:0, from src/caffe/layers/mkl_split_layer.cpp:41: ./include/caffe/mkl_memory.hpp: In destructor ‘caffe::MKLMemoryDescriptorBase::~MKLMemoryDescriptorBase()’: ./include/caffe/mkl_memory.hpp:63:9: error: ‘MLSL’ has not been declared MLSL::Free((void*)internal_ptr); ^ ./include/caffe/mkl_memory.hpp: In member function ‘void caffe::MKLMemoryDescriptorBase::allocate()’: ./include/caffe/mkl_memory.hpp:91:30: error: ‘MLSL’ has not been declared internal_ptr = (Dtype*)MLSL::Alloc(prv_size(), 64); ^ In file included from src/caffe/layers/mkl_split_layer.cpp:41:0: ./include/caffe/layers/mkl_layers.hpp: At global scope: ./include/caffe/layers/mkl_layers.hpp:94:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:94:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:95:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:95:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:175:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:175:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:176:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:176:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:259:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:259:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:260:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:260:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:333:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:333:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:334:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:334:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:389:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:389:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:390:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:390:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ src/caffe/layers/mkl_split_layer.cpp: In member function ‘void caffe::MKLSplitLayer::Init(const std::vector*>&, const std::vector*>&)’: src/caffe/layers/mkl_split_layer.cpp:87:3: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ src/caffe/layers/mkl_split_layer.cpp:87:12: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ src/caffe/layers/mkl_split_layer.cpp:88:3: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ src/caffe/layers/mkl_split_layer.cpp:88:21: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ src/caffe/layers/mkl_split_layer.cpp:89:19: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(COMP_OP_TYPE_BCAST); ^ src/caffe/layers/mkl_split_layer.cpp:89:19: error: expected ‘;’ before ‘ComputeOpRegInfo’ src/caffe/layers/mkl_split_layer.cpp:96:48: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ src/caffe/layers/mkl_split_layer.cpp:103:49: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ src/caffe/layers/mkl_split_layer.cpp:107:23: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ src/caffe/layers/mkl_split_layer.cpp:107:23: error: expected ‘;’ before ‘ComputeOp’ src/caffe/layers/mkl_split_layer.cpp: In instantiation of ‘void caffe::MKLSplitLayer::Init(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/mkl_split_layer.cpp:269:1: required from here src/caffe/layers/mkl_split_layer.cpp:107:17: error: ‘class caffe::MKLSplitLayer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ src/caffe/layers/mkl_split_layer.cpp: In instantiation of ‘void caffe::MKLSplitLayer::Init(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/mkl_split_layer.cpp:269:1: required from here src/caffe/layers/mkl_split_layer.cpp:107:17: error: ‘class caffe::MKLSplitLayer’ has no member named ‘layerOp’ In file included from ./include/caffe/layers/base_conv_layer.hpp:44:0, from ./include/caffe/layers/mkl_layers.hpp:47, from src/caffe/layers/mkl_split_layer.cpp:41: ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/mkl_layers.hpp:507:55: required from ‘caffe::MKLSplitLayer::MKLSplitLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/mkl_split_layer.cpp:269:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/mkl_layers.hpp:507:55: required from ‘caffe::MKLSplitLayer::MKLSplitLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/mkl_split_layer.cpp:269:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/mkl_layers.hpp:507:55: required from ‘caffe::MKLSplitLayer::MKLSplitLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/mkl_split_layer.cpp:269:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/mkl_layers.hpp:507:55: required from ‘caffe::MKLSplitLayer::MKLSplitLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/mkl_split_layer.cpp:269:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/mkl_split_layer.cpp:270:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/mkl_split_layer.cpp:270:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/mkl_split_layer.o] Error 1 CXX src/caffe/layers/power_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layers/sigmoid_layer.hpp:43, from src/caffe/layers/sigmoid_layer.cpp:41: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/sigmoid_layer.hpp:44, from src/caffe/layers/sigmoid_layer.cpp:41: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/sigmoid_layer.hpp:44:0, from src/caffe/layers/sigmoid_layer.cpp:41: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/sigmoid_layer.hpp:44:0, from src/caffe/layers/sigmoid_layer.cpp:41: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/sigmoid_layer.hpp:44:0, from src/caffe/layers/sigmoid_layer.cpp:41: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/sigmoid_layer.hpp:44:0, from src/caffe/layers/sigmoid_layer.cpp:41: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/neuron_layer.hpp:56:7: required from ‘caffe::SigmoidLayer::SigmoidLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/sigmoid_layer.cpp:91:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/neuron_layer.hpp:56:7: required from ‘caffe::SigmoidLayer::SigmoidLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/sigmoid_layer.cpp:91:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/neuron_layer.hpp:59:26: required from ‘caffe::NeuronLayer::NeuronLayer(const caffe::LayerParameter&) [with Dtype = float]’ ./include/caffe/layers/sigmoid_layer.hpp:63:33: required from ‘caffe::SigmoidLayer::SigmoidLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/sigmoid_layer.cpp:91:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/neuron_layer.hpp:59:26: required from ‘caffe::NeuronLayer::NeuronLayer(const caffe::LayerParameter&) [with Dtype = double]’ ./include/caffe/layers/sigmoid_layer.hpp:63:33: required from ‘caffe::SigmoidLayer::SigmoidLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/sigmoid_layer.cpp:91:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/sigmoid_layer.cpp:94:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/sigmoid_layer.cpp:94:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/sigmoid_layer.o] Error 1 CXX src/caffe/layers/pooling_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layers/hinge_loss_layer.hpp:43, from src/caffe/layers/hinge_loss_layer.cpp:41: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/hinge_loss_layer.hpp:44, from src/caffe/layers/hinge_loss_layer.cpp:41: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/hinge_loss_layer.hpp:44:0, from src/caffe/layers/hinge_loss_layer.cpp:41: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/hinge_loss_layer.hpp:44:0, from src/caffe/layers/hinge_loss_layer.cpp:41: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/hinge_loss_layer.hpp:44:0, from src/caffe/layers/hinge_loss_layer.cpp:41: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/hinge_loss_layer.hpp:44:0, from src/caffe/layers/hinge_loss_layer.cpp:41: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/loss_layer.hpp:60:7: required from ‘caffe::HingeLossLayer::HingeLossLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/hinge_loss_layer.cpp:112:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/loss_layer.hpp:60:7: required from ‘caffe::HingeLossLayer::HingeLossLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/hinge_loss_layer.cpp:112:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/loss_layer.hpp:63:26: required from ‘caffe::LossLayer::LossLayer(const caffe::LayerParameter&) [with Dtype = float]’ ./include/caffe/layers/hinge_loss_layer.hpp:98:31: required from ‘caffe::HingeLossLayer::HingeLossLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/hinge_loss_layer.cpp:112:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/loss_layer.hpp:63:26: required from ‘caffe::LossLayer::LossLayer(const caffe::LayerParameter&) [with Dtype = double]’ ./include/caffe/layers/hinge_loss_layer.hpp:98:31: required from ‘caffe::HingeLossLayer::HingeLossLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/hinge_loss_layer.cpp:112:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/hinge_loss_layer.cpp:115:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/hinge_loss_layer.cpp:115:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/hinge_loss_layer.o] Error 1 CXX src/caffe/layers/argmax_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layers/memory_data_layer.hpp:43, from src/caffe/layers/memory_data_layer.cpp:44: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/memory_data_layer.hpp:44, from src/caffe/layers/memory_data_layer.cpp:44: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/memory_data_layer.hpp:44:0, from src/caffe/layers/memory_data_layer.cpp:44: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/memory_data_layer.hpp:44:0, from src/caffe/layers/memory_data_layer.cpp:44: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/memory_data_layer.hpp:44:0, from src/caffe/layers/memory_data_layer.cpp:44: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/memory_data_layer.hpp:44:0, from src/caffe/layers/memory_data_layer.cpp:44: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:4: note: suggested alternative: In file included from src/caffe/layers/memory_data_layer.cpp:39:0: /usr/local/include/opencv2/core/core.hpp:996:30: note: ‘cv::DataType’ template class DataType ^ In file included from ./include/caffe/layers/memory_data_layer.hpp:44:0, from src/caffe/layers/memory_data_layer.cpp:44: ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ In file included from ./include/caffe/layers/memory_data_layer.hpp:47:0, from src/caffe/layers/memory_data_layer.cpp:44: ./include/caffe/layers/base_data_layer.hpp: At global scope: ./include/caffe/layers/base_data_layer.hpp:80:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/base_data_layer.hpp:80:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/base_data_layer.hpp:81:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/base_data_layer.hpp:81:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ In file included from ./include/caffe/layers/memory_data_layer.hpp:44:0, from src/caffe/layers/memory_data_layer.cpp:44: ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/base_data_layer.hpp:58:7: required from ‘caffe::MemoryDataLayer::MemoryDataLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/memory_data_layer.cpp:157:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/base_data_layer.hpp:58:7: required from ‘caffe::MemoryDataLayer::MemoryDataLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/memory_data_layer.cpp:157:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/memory_data_layer.cpp:160:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/memory_data_layer.cpp:160:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/memory_data_layer.o] Error 1 CXX src/caffe/layers/multinomial_logistic_loss_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layers/bnll_layer.hpp:43, from src/caffe/layers/bnll_layer.cpp:41: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/bnll_layer.hpp:44, from src/caffe/layers/bnll_layer.cpp:41: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/bnll_layer.hpp:44:0, from src/caffe/layers/bnll_layer.cpp:41: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/bnll_layer.hpp:44:0, from src/caffe/layers/bnll_layer.cpp:41: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/bnll_layer.hpp:44:0, from src/caffe/layers/bnll_layer.cpp:41: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/bnll_layer.hpp:44:0, from src/caffe/layers/bnll_layer.cpp:41: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/neuron_layer.hpp:56:7: required from ‘caffe::BNLLLayer::BNLLLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/bnll_layer.cpp:81:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/neuron_layer.hpp:56:7: required from ‘caffe::BNLLLayer::BNLLLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/bnll_layer.cpp:81:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/neuron_layer.hpp:59:26: required from ‘caffe::NeuronLayer::NeuronLayer(const caffe::LayerParameter&) [with Dtype = float]’ ./include/caffe/layers/bnll_layer.hpp:72:33: required from ‘caffe::BNLLLayer::BNLLLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/bnll_layer.cpp:81:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/neuron_layer.hpp:59:26: required from ‘caffe::NeuronLayer::NeuronLayer(const caffe::LayerParameter&) [with Dtype = double]’ ./include/caffe/layers/bnll_layer.hpp:72:33: required from ‘caffe::BNLLLayer::BNLLLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/bnll_layer.cpp:81:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/bnll_layer.cpp:84:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/bnll_layer.cpp:84:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/bnll_layer.o] Error 1 CXX src/caffe/layers/cudnn_sigmoid_layer.cpp CXX src/caffe/layers/concat_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layer.hpp:45, from src/caffe/layers/spp_layer.cpp:41: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from src/caffe/layers/spp_layer.cpp:41: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from src/caffe/layers/spp_layer.cpp:41:0: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from src/caffe/layers/spp_layer.cpp:41:0: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from src/caffe/layers/spp_layer.cpp:41:0: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from src/caffe/layers/spp_layer.cpp:41:0: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/spp_layer.hpp:59:27: required from ‘caffe::SPPLayer::SPPLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/spp_layer.cpp:262:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/spp_layer.hpp:59:27: required from ‘caffe::SPPLayer::SPPLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/spp_layer.cpp:262:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUp(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/spp_layer.cpp:131:5: required from ‘void caffe::SPPLayer::LayerSetUp(const std::vector*>&, const std::vector*>&) [with Dtype = float]’ src/caffe/layers/spp_layer.cpp:262:1: required from here ./include/caffe/layer.hpp:311:5: error: request for member ‘resize’ in ‘((caffe::Layer*)this)->caffe::Layer::prevLayerOps’, which is of non-class type ‘int’ this->prevLayerOps.resize(bottom.size()); ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/spp_layer.hpp:59:27: required from ‘caffe::SPPLayer::SPPLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/spp_layer.cpp:262:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/spp_layer.hpp:59:27: required from ‘caffe::SPPLayer::SPPLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/spp_layer.cpp:262:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUp(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/spp_layer.cpp:131:5: required from ‘void caffe::SPPLayer::LayerSetUp(const std::vector*>&, const std::vector*>&) [with Dtype = double]’ src/caffe/layers/spp_layer.cpp:262:1: required from here ./include/caffe/layer.hpp:311:5: error: request for member ‘resize’ in ‘((caffe::Layer*)this)->caffe::Layer::prevLayerOps’, which is of non-class type ‘int’ this->prevLayerOps.resize(bottom.size()); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/spp_layer.cpp:265:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/spp_layer.cpp:265:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/spp_layer.o] Error 1 CXX src/caffe/layers/mvn_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layers/power_layer.hpp:43, from src/caffe/layers/power_layer.cpp:40: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/power_layer.hpp:44, from src/caffe/layers/power_layer.cpp:40: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/power_layer.hpp:44:0, from src/caffe/layers/power_layer.cpp:40: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/power_layer.hpp:44:0, from src/caffe/layers/power_layer.cpp:40: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/power_layer.hpp:44:0, from src/caffe/layers/power_layer.cpp:40: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/power_layer.hpp:44:0, from src/caffe/layers/power_layer.cpp:40: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/neuron_layer.hpp:56:7: required from ‘caffe::PowerLayer::PowerLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/power_layer.cpp:136:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/neuron_layer.hpp:56:7: required from ‘caffe::PowerLayer::PowerLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/power_layer.cpp:136:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/neuron_layer.hpp:59:26: required from ‘caffe::NeuronLayer::NeuronLayer(const caffe::LayerParameter&) [with Dtype = float]’ ./include/caffe/layers/power_layer.hpp:67:33: required from ‘caffe::PowerLayer::PowerLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/power_layer.cpp:136:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/neuron_layer.hpp:59:26: required from ‘caffe::NeuronLayer::NeuronLayer(const caffe::LayerParameter&) [with Dtype = double]’ ./include/caffe/layers/power_layer.hpp:67:33: required from ‘caffe::PowerLayer::PowerLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/power_layer.cpp:136:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/power_layer.cpp:139:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/power_layer.cpp:139:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/power_layer.o] Error 1 CXX src/caffe/layers/sigmoid_cross_entropy_loss_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/filler.hpp:48, from src/caffe/layers/mkldnn_convolution_layer.cpp:43: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from src/caffe/layers/mkldnn_convolution_layer.cpp:44: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from src/caffe/layers/mkldnn_convolution_layer.cpp:44:0: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from src/caffe/layers/mkldnn_convolution_layer.cpp:44:0: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from src/caffe/layers/mkldnn_convolution_layer.cpp:44:0: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from src/caffe/layers/mkldnn_convolution_layer.cpp:44:0: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/base_conv_layer.hpp:55:7: required from ‘caffe::MKLDNNConvolutionLayer::MKLDNNConvolutionLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/mkldnn_convolution_layer.cpp:483:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/base_conv_layer.hpp:55:7: required from ‘caffe::MKLDNNConvolutionLayer::MKLDNNConvolutionLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/mkldnn_convolution_layer.cpp:483:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/base_conv_layer.hpp:58:27: required from ‘caffe::BaseConvolutionLayer::BaseConvolutionLayer(const caffe::LayerParameter&) [with Dtype = float]’ ./include/caffe/layers/conv_layer.hpp:102:42: required from ‘caffe::ConvolutionLayer::ConvolutionLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/mkldnn_convolution_layer.cpp:67:62: required from ‘caffe::MKLDNNConvolutionLayer::MKLDNNConvolutionLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/mkldnn_convolution_layer.cpp:483:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/base_conv_layer.hpp:58:27: required from ‘caffe::BaseConvolutionLayer::BaseConvolutionLayer(const caffe::LayerParameter&) [with Dtype = double]’ ./include/caffe/layers/conv_layer.hpp:102:42: required from ‘caffe::ConvolutionLayer::ConvolutionLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/mkldnn_convolution_layer.cpp:67:62: required from ‘caffe::MKLDNNConvolutionLayer::MKLDNNConvolutionLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/mkldnn_convolution_layer.cpp:483:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/mkldnn_convolution_layer.cpp:485:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/mkldnn_convolution_layer.cpp:485:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ In file included from ./include/caffe/layers/mkldnn_layers.hpp:47:0, from src/caffe/layers/mkldnn_convolution_layer.cpp:45: ./include/caffe/engine_parser.hpp: In member function ‘mkldnn::engine& caffe::EngineParser::getMKLDNNSubEngine(unsigned int) const’: ./include/caffe/engine_parser.hpp:88:3: warning: control reaches end of non-void function [-Wreturn-type] } ^ make: *** [.build_release/src/caffe/layers/mkldnn_convolution_layer.o] Error 1 CXX src/caffe/layers/inner_product_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layers/pooling_layer.hpp:43, from src/caffe/layers/pooling_layer.cpp:42: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/pooling_layer.hpp:44, from src/caffe/layers/pooling_layer.cpp:42: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/pooling_layer.hpp:44:0, from src/caffe/layers/pooling_layer.cpp:42: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/pooling_layer.hpp:44:0, from src/caffe/layers/pooling_layer.cpp:42: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/pooling_layer.hpp:44:0, from src/caffe/layers/pooling_layer.cpp:42: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/pooling_layer.hpp:44:0, from src/caffe/layers/pooling_layer.cpp:42: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ src/caffe/layers/pooling_layer.cpp: In member function ‘virtual void caffe::PoolingLayer::LayerSetUp(const std::vector*>&, const std::vector*>&)’: src/caffe/layers/pooling_layer.cpp:130:3: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ src/caffe/layers/pooling_layer.cpp:130:12: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ src/caffe/layers/pooling_layer.cpp:131:3: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ src/caffe/layers/pooling_layer.cpp:131:21: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ src/caffe/layers/pooling_layer.cpp:132:19: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(COMP_OP_TYPE_POOL); ^ src/caffe/layers/pooling_layer.cpp:132:19: error: expected ‘;’ before ‘ComputeOpRegInfo’ src/caffe/layers/pooling_layer.cpp:140:46: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ src/caffe/layers/pooling_layer.cpp:147:47: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ src/caffe/layers/pooling_layer.cpp:151:23: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ src/caffe/layers/pooling_layer.cpp:151:23: error: expected ‘;’ before ‘ComputeOp’ src/caffe/layers/pooling_layer.cpp: In instantiation of ‘void caffe::PoolingLayer::LayerSetUp(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/pooling_layer.cpp:294:1: required from here src/caffe/layers/pooling_layer.cpp:151:17: error: ‘class caffe::PoolingLayer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ src/caffe/layers/pooling_layer.cpp: In instantiation of ‘void caffe::PoolingLayer::LayerSetUp(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/pooling_layer.cpp:294:1: required from here src/caffe/layers/pooling_layer.cpp:151:17: error: ‘class caffe::PoolingLayer’ has no member named ‘layerOp’ In file included from ./include/caffe/layers/pooling_layer.hpp:44:0, from src/caffe/layers/pooling_layer.cpp:42: ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/pooling_layer.hpp:67:27: required from ‘caffe::PoolingLayer::PoolingLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/pooling_layer.cpp:294:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/pooling_layer.hpp:67:27: required from ‘caffe::PoolingLayer::PoolingLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/pooling_layer.cpp:294:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/pooling_layer.hpp:67:27: required from ‘caffe::PoolingLayer::PoolingLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/pooling_layer.cpp:294:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/pooling_layer.hpp:67:27: required from ‘caffe::PoolingLayer::PoolingLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/pooling_layer.cpp:294:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/pooling_layer.cpp:296:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/pooling_layer.cpp:296:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/pooling_layer.o] Error 1 CXX src/caffe/layers/dropout_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layers/argmax_layer.hpp:43, from src/caffe/layers/argmax_layer.cpp:43: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/argmax_layer.hpp:44, from src/caffe/layers/argmax_layer.cpp:43: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/argmax_layer.hpp:44:0, from src/caffe/layers/argmax_layer.cpp:43: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/argmax_layer.hpp:44:0, from src/caffe/layers/argmax_layer.cpp:43: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/argmax_layer.hpp:44:0, from src/caffe/layers/argmax_layer.cpp:43: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/argmax_layer.hpp:44:0, from src/caffe/layers/argmax_layer.cpp:43: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/argmax_layer.hpp:76:27: required from ‘caffe::ArgMaxLayer::ArgMaxLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/argmax_layer.cpp:135:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/argmax_layer.hpp:76:27: required from ‘caffe::ArgMaxLayer::ArgMaxLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/argmax_layer.cpp:135:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/argmax_layer.hpp:76:27: required from ‘caffe::ArgMaxLayer::ArgMaxLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/argmax_layer.cpp:135:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/argmax_layer.hpp:76:27: required from ‘caffe::ArgMaxLayer::ArgMaxLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/argmax_layer.cpp:135:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/argmax_layer.cpp:138:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/argmax_layer.cpp:138:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/argmax_layer.o] Error 1 CXX src/caffe/layers/cudnn_softmax_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/data_transformer.hpp:44, from src/caffe/layers/video_data_layer.cpp:49: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/video_data_layer.hpp:54, from src/caffe/layers/video_data_layer.cpp:50: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/video_data_layer.hpp:54:0, from src/caffe/layers/video_data_layer.cpp:50: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/video_data_layer.hpp:54:0, from src/caffe/layers/video_data_layer.cpp:50: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/video_data_layer.hpp:54:0, from src/caffe/layers/video_data_layer.cpp:50: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/video_data_layer.hpp:54:0, from src/caffe/layers/video_data_layer.cpp:50: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:4: note: suggested alternative: In file included from src/caffe/layers/video_data_layer.cpp:39:0: /usr/local/include/opencv2/core/core.hpp:996:30: note: ‘cv::DataType’ template class DataType ^ In file included from ./include/caffe/layers/video_data_layer.hpp:54:0, from src/caffe/layers/video_data_layer.cpp:50: ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ In file included from ./include/caffe/layers/video_data_layer.hpp:55:0, from src/caffe/layers/video_data_layer.cpp:50: ./include/caffe/layers/base_data_layer.hpp: At global scope: ./include/caffe/layers/base_data_layer.hpp:80:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/base_data_layer.hpp:80:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/base_data_layer.hpp:81:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/base_data_layer.hpp:81:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ In file included from ./include/caffe/layers/video_data_layer.hpp:54:0, from src/caffe/layers/video_data_layer.cpp:50: ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/base_data_layer.hpp:58:7: required from ‘caffe::VideoDataLayer::VideoDataLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/video_data_layer.cpp:198:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/base_data_layer.hpp:58:7: required from ‘caffe::VideoDataLayer::VideoDataLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/video_data_layer.cpp:198:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/video_data_layer.cpp:201:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/video_data_layer.cpp:201:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/video_data_layer.o] Error 1 CXX src/caffe/layers/mkldnn_split_layer.cpp CXX src/caffe/layers/dummy_data_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layers/multinomial_logistic_loss_layer.hpp:43, from src/caffe/layers/multinomial_logistic_loss_layer.cpp:42: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/multinomial_logistic_loss_layer.hpp:44, from src/caffe/layers/multinomial_logistic_loss_layer.cpp:42: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/multinomial_logistic_loss_layer.hpp:44:0, from src/caffe/layers/multinomial_logistic_loss_layer.cpp:42: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/multinomial_logistic_loss_layer.hpp:44:0, from src/caffe/layers/multinomial_logistic_loss_layer.cpp:42: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/multinomial_logistic_loss_layer.hpp:44:0, from src/caffe/layers/multinomial_logistic_loss_layer.cpp:42: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/multinomial_logistic_loss_layer.hpp:44:0, from src/caffe/layers/multinomial_logistic_loss_layer.cpp:42: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/loss_layer.hpp:60:7: required from ‘caffe::MultinomialLogisticLossLayer::MultinomialLogisticLossLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/multinomial_logistic_loss_layer.cpp:98:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/loss_layer.hpp:60:7: required from ‘caffe::MultinomialLogisticLossLayer::MultinomialLogisticLossLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/multinomial_logistic_loss_layer.cpp:98:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/loss_layer.hpp:63:26: required from ‘caffe::LossLayer::LossLayer(const caffe::LayerParameter&) [with Dtype = float]’ ./include/caffe/layers/multinomial_logistic_loss_layer.hpp:84:31: required from ‘caffe::MultinomialLogisticLossLayer::MultinomialLogisticLossLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/multinomial_logistic_loss_layer.cpp:98:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/loss_layer.hpp:63:26: required from ‘caffe::LossLayer::LossLayer(const caffe::LayerParameter&) [with Dtype = double]’ ./include/caffe/layers/multinomial_logistic_loss_layer.hpp:84:31: required from ‘caffe::MultinomialLogisticLossLayer::MultinomialLogisticLossLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/multinomial_logistic_loss_layer.cpp:98:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/multinomial_logistic_loss_layer.cpp:101:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/multinomial_logistic_loss_layer.cpp:101:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/multinomial_logistic_loss_layer.o] Error 1 CXX src/caffe/layers/base_conv_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layers/concat_layer.hpp:43, from src/caffe/layers/concat_layer.cpp:44: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/concat_layer.hpp:44, from src/caffe/layers/concat_layer.cpp:44: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/concat_layer.hpp:44:0, from src/caffe/layers/concat_layer.cpp:44: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/concat_layer.hpp:44:0, from src/caffe/layers/concat_layer.cpp:44: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/concat_layer.hpp:44:0, from src/caffe/layers/concat_layer.cpp:44: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/concat_layer.hpp:44:0, from src/caffe/layers/concat_layer.cpp:44: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ src/caffe/layers/concat_layer.cpp: In member function ‘virtual void caffe::ConcatLayer::LayerSetUp(const std::vector*>&, const std::vector*>&)’: src/caffe/layers/concat_layer.cpp:74:3: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ src/caffe/layers/concat_layer.cpp:74:12: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ src/caffe/layers/concat_layer.cpp:75:3: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ src/caffe/layers/concat_layer.cpp:75:21: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ src/caffe/layers/concat_layer.cpp:76:19: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(COMP_OP_TYPE_CONCAT); ^ src/caffe/layers/concat_layer.cpp:76:19: error: expected ‘;’ before ‘ComputeOpRegInfo’ src/caffe/layers/concat_layer.cpp:83:46: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ src/caffe/layers/concat_layer.cpp:90:47: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ src/caffe/layers/concat_layer.cpp:94:23: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ src/caffe/layers/concat_layer.cpp:94:23: error: expected ‘;’ before ‘ComputeOp’ src/caffe/layers/concat_layer.cpp: In instantiation of ‘void caffe::ConcatLayer::LayerSetUp(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/concat_layer.cpp:193:1: required from here src/caffe/layers/concat_layer.cpp:94:17: error: ‘class caffe::ConcatLayer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ src/caffe/layers/concat_layer.cpp: In instantiation of ‘void caffe::ConcatLayer::LayerSetUp(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/concat_layer.cpp:193:1: required from here src/caffe/layers/concat_layer.cpp:94:17: error: ‘class caffe::ConcatLayer’ has no member named ‘layerOp’ In file included from ./include/caffe/layers/concat_layer.hpp:44:0, from src/caffe/layers/concat_layer.cpp:44: ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/concat_layer.hpp:57:27: required from ‘caffe::ConcatLayer::ConcatLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/concat_layer.cpp:193:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/concat_layer.hpp:57:27: required from ‘caffe::ConcatLayer::ConcatLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/concat_layer.cpp:193:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/concat_layer.hpp:57:27: required from ‘caffe::ConcatLayer::ConcatLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/concat_layer.cpp:193:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/concat_layer.hpp:57:27: required from ‘caffe::ConcatLayer::ConcatLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/concat_layer.cpp:193:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/concat_layer.cpp:195:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/concat_layer.cpp:195:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/concat_layer.o] Error 1 CXX src/caffe/layers/euclidean_loss_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layers/mvn_layer.hpp:43, from src/caffe/layers/mvn_layer.cpp:40: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/mvn_layer.hpp:44, from src/caffe/layers/mvn_layer.cpp:40: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/mvn_layer.hpp:44:0, from src/caffe/layers/mvn_layer.cpp:40: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/mvn_layer.hpp:44:0, from src/caffe/layers/mvn_layer.cpp:40: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/mvn_layer.hpp:44:0, from src/caffe/layers/mvn_layer.cpp:40: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/mvn_layer.hpp:44:0, from src/caffe/layers/mvn_layer.cpp:40: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/mvn_layer.hpp:58:27: required from ‘caffe::MVNLayer::MVNLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/mvn_layer.cpp:168:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/mvn_layer.hpp:58:27: required from ‘caffe::MVNLayer::MVNLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/mvn_layer.cpp:168:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/mvn_layer.hpp:58:27: required from ‘caffe::MVNLayer::MVNLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/mvn_layer.cpp:168:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/mvn_layer.hpp:58:27: required from ‘caffe::MVNLayer::MVNLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/mvn_layer.cpp:168:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/mvn_layer.cpp:171:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/mvn_layer.cpp:171:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/mvn_layer.o] Error 1 CXX src/caffe/layers/softmax_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/filler.hpp:48, from src/caffe/layers/inner_product_layer.cpp:40: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/inner_product_layer.hpp:44, from src/caffe/layers/inner_product_layer.cpp:41: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/inner_product_layer.hpp:44:0, from src/caffe/layers/inner_product_layer.cpp:41: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/inner_product_layer.hpp:44:0, from src/caffe/layers/inner_product_layer.cpp:41: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/inner_product_layer.hpp:44:0, from src/caffe/layers/inner_product_layer.cpp:41: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/inner_product_layer.hpp:44:0, from src/caffe/layers/inner_product_layer.cpp:41: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ src/caffe/layers/inner_product_layer.cpp: At global scope: src/caffe/layers/inner_product_layer.cpp:45:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ src/caffe/layers/inner_product_layer.cpp:45:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ src/caffe/layers/inner_product_layer.cpp: In member function ‘virtual void caffe::InnerProductLayer::LayerSetUp(const std::vector*>&, const std::vector*>&)’: src/caffe/layers/inner_product_layer.cpp:109:3: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ src/caffe/layers/inner_product_layer.cpp:109:12: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ src/caffe/layers/inner_product_layer.cpp:110:3: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ src/caffe/layers/inner_product_layer.cpp:110:21: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ src/caffe/layers/inner_product_layer.cpp:111:19: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(COMP_OP_TYPE_CC); ^ src/caffe/layers/inner_product_layer.cpp:111:19: error: expected ‘;’ before ‘ComputeOpRegInfo’ src/caffe/layers/inner_product_layer.cpp:113:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ src/caffe/layers/inner_product_layer.cpp:126:23: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ src/caffe/layers/inner_product_layer.cpp:126:23: error: expected ‘;’ before ‘ComputeOp’ src/caffe/layers/inner_product_layer.cpp: In instantiation of ‘void caffe::InnerProductLayer::LayerSetUp(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/inner_product_layer.cpp:242:1: required from here src/caffe/layers/inner_product_layer.cpp:126:17: error: ‘class caffe::InnerProductLayer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ src/caffe/layers/inner_product_layer.cpp: In instantiation of ‘void caffe::InnerProductLayer::LayerSetUp(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/inner_product_layer.cpp:242:1: required from here src/caffe/layers/inner_product_layer.cpp:126:17: error: ‘class caffe::InnerProductLayer’ has no member named ‘layerOp’ In file included from ./include/caffe/layers/inner_product_layer.hpp:44:0, from src/caffe/layers/inner_product_layer.cpp:41: ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/inner_product_layer.hpp:59:27: required from ‘caffe::InnerProductLayer::InnerProductLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/inner_product_layer.cpp:242:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/inner_product_layer.hpp:59:27: required from ‘caffe::InnerProductLayer::InnerProductLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/inner_product_layer.cpp:242:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ In file included from ./include/caffe/layers/inner_product_layer.hpp:44:0, from src/caffe/layers/inner_product_layer.cpp:41: ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::on_delinp_ready(const std::vector&) [with Dtype = float]’: src/caffe/layers/inner_product_layer.cpp:233:7: required from ‘void caffe::InnerProductLayer::Backward_cpu(const std::vector*>&, const std::vector&, const std::vector*>&) [with Dtype = float]’ src/caffe/layers/inner_product_layer.cpp:242:1: required from here ./include/caffe/layer.hpp:157:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (!this->layerOp->NumInputFeatureMaps()) { ^ ./include/caffe/layer.hpp:172:41: error: ‘class caffe::Layer’ has no member named ‘layerOp’ FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ In file included from ./include/caffe/layers/inner_product_layer.hpp:44:0, from src/caffe/layers/inner_product_layer.cpp:41: ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/inner_product_layer.hpp:59:27: required from ‘caffe::InnerProductLayer::InnerProductLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/inner_product_layer.cpp:242:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/inner_product_layer.hpp:59:27: required from ‘caffe::InnerProductLayer::InnerProductLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/inner_product_layer.cpp:242:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ In file included from ./include/caffe/layers/inner_product_layer.hpp:44:0, from src/caffe/layers/inner_product_layer.cpp:41: ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::on_delinp_ready(const std::vector&) [with Dtype = double]’: src/caffe/layers/inner_product_layer.cpp:233:7: required from ‘void caffe::InnerProductLayer::Backward_cpu(const std::vector*>&, const std::vector&, const std::vector*>&) [with Dtype = double]’ src/caffe/layers/inner_product_layer.cpp:242:1: required from here ./include/caffe/layer.hpp:157:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (!this->layerOp->NumInputFeatureMaps()) { ^ ./include/caffe/layer.hpp:172:41: error: ‘class caffe::Layer’ has no member named ‘layerOp’ FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ In file included from ./include/caffe/layers/inner_product_layer.hpp:44:0, from src/caffe/layers/inner_product_layer.cpp:41: ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/inner_product_layer.cpp:246:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/inner_product_layer.cpp:246:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/inner_product_layer.o] Error 1 CXX src/caffe/layers/pooling_layer_impl.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layers/sigmoid_cross_entropy_loss_layer.hpp:43, from src/caffe/layers/sigmoid_cross_entropy_loss_layer.cpp:40: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/sigmoid_cross_entropy_loss_layer.hpp:44, from src/caffe/layers/sigmoid_cross_entropy_loss_layer.cpp:40: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/sigmoid_cross_entropy_loss_layer.hpp:44:0, from src/caffe/layers/sigmoid_cross_entropy_loss_layer.cpp:40: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/sigmoid_cross_entropy_loss_layer.hpp:44:0, from src/caffe/layers/sigmoid_cross_entropy_loss_layer.cpp:40: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/sigmoid_cross_entropy_loss_layer.hpp:44:0, from src/caffe/layers/sigmoid_cross_entropy_loss_layer.cpp:40: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/sigmoid_cross_entropy_loss_layer.hpp:44:0, from src/caffe/layers/sigmoid_cross_entropy_loss_layer.cpp:40: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/loss_layer.hpp:60:7: required from ‘caffe::SigmoidCrossEntropyLossLayer::SigmoidCrossEntropyLossLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/sigmoid_cross_entropy_loss_layer.cpp:111:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUp(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/sigmoid_cross_entropy_loss_layer.cpp:53:3: required from ‘void caffe::SigmoidCrossEntropyLossLayer::LayerSetUp(const std::vector*>&, const std::vector*>&) [with Dtype = float]’ src/caffe/layers/sigmoid_cross_entropy_loss_layer.cpp:111:1: required from here ./include/caffe/layer.hpp:311:5: error: request for member ‘resize’ in ‘((caffe::Layer*)this)->caffe::Layer::prevLayerOps’, which is of non-class type ‘int’ this->prevLayerOps.resize(bottom.size()); ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/loss_layer.hpp:60:7: required from ‘caffe::SigmoidCrossEntropyLossLayer::SigmoidCrossEntropyLossLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/sigmoid_cross_entropy_loss_layer.cpp:111:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUp(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/sigmoid_cross_entropy_loss_layer.cpp:53:3: required from ‘void caffe::SigmoidCrossEntropyLossLayer::LayerSetUp(const std::vector*>&, const std::vector*>&) [with Dtype = double]’ src/caffe/layers/sigmoid_cross_entropy_loss_layer.cpp:111:1: required from here ./include/caffe/layer.hpp:311:5: error: request for member ‘resize’ in ‘((caffe::Layer*)this)->caffe::Layer::prevLayerOps’, which is of non-class type ‘int’ this->prevLayerOps.resize(bottom.size()); ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/loss_layer.hpp:63:26: required from ‘caffe::LossLayer::LossLayer(const caffe::LayerParameter&) [with Dtype = float]’ ./include/caffe/layers/sigmoid_cross_entropy_loss_layer.hpp:87:44: required from ‘caffe::SigmoidCrossEntropyLossLayer::SigmoidCrossEntropyLossLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/sigmoid_cross_entropy_loss_layer.cpp:111:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/loss_layer.hpp:63:26: required from ‘caffe::LossLayer::LossLayer(const caffe::LayerParameter&) [with Dtype = double]’ ./include/caffe/layers/sigmoid_cross_entropy_loss_layer.hpp:87:44: required from ‘caffe::SigmoidCrossEntropyLossLayer::SigmoidCrossEntropyLossLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/sigmoid_cross_entropy_loss_layer.cpp:111:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/sigmoid_cross_entropy_loss_layer.cpp:114:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/sigmoid_cross_entropy_loss_layer.cpp:114:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/sigmoid_cross_entropy_loss_layer.o] Error 1 CXX src/caffe/layers/mkl_batch_norm_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layers/dropout_layer.hpp:43, from src/caffe/layers/dropout_layer.cpp:42: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/dropout_layer.hpp:44, from src/caffe/layers/dropout_layer.cpp:42: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/dropout_layer.hpp:44:0, from src/caffe/layers/dropout_layer.cpp:42: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/dropout_layer.hpp:44:0, from src/caffe/layers/dropout_layer.cpp:42: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/dropout_layer.hpp:44:0, from src/caffe/layers/dropout_layer.cpp:42: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/dropout_layer.hpp:44:0, from src/caffe/layers/dropout_layer.cpp:42: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ src/caffe/layers/dropout_layer.cpp: At global scope: src/caffe/layers/dropout_layer.cpp:46:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ src/caffe/layers/dropout_layer.cpp:46:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ src/caffe/layers/dropout_layer.cpp: In member function ‘virtual void caffe::DropoutLayer::LayerSetUp(const std::vector*>&, const std::vector*>&)’: src/caffe/layers/dropout_layer.cpp:69:3: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ src/caffe/layers/dropout_layer.cpp:69:12: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ src/caffe/layers/dropout_layer.cpp:70:2: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ src/caffe/layers/dropout_layer.cpp:70:20: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ src/caffe/layers/dropout_layer.cpp:71:18: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(COMP_OP_TYPE_ACT); ^ src/caffe/layers/dropout_layer.cpp:71:18: error: expected ‘;’ before ‘ComputeOpRegInfo’ src/caffe/layers/dropout_layer.cpp:73:43: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ src/caffe/layers/dropout_layer.cpp:77:22: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ src/caffe/layers/dropout_layer.cpp:77:22: error: expected ‘;’ before ‘ComputeOp’ src/caffe/layers/dropout_layer.cpp: In instantiation of ‘void caffe::DropoutLayer::LayerSetUp(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/dropout_layer.cpp:140:1: required from here src/caffe/layers/dropout_layer.cpp:77:16: error: ‘class caffe::DropoutLayer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ src/caffe/layers/dropout_layer.cpp: In instantiation of ‘void caffe::DropoutLayer::LayerSetUp(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/dropout_layer.cpp:140:1: required from here src/caffe/layers/dropout_layer.cpp:77:16: error: ‘class caffe::DropoutLayer’ has no member named ‘layerOp’ In file included from ./include/caffe/layers/dropout_layer.hpp:44:0, from src/caffe/layers/dropout_layer.cpp:42: ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/neuron_layer.hpp:56:7: required from ‘caffe::DropoutLayer::DropoutLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/dropout_layer.cpp:140:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/neuron_layer.hpp:56:7: required from ‘caffe::DropoutLayer::DropoutLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/dropout_layer.cpp:140:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/neuron_layer.hpp:59:26: required from ‘caffe::NeuronLayer::NeuronLayer(const caffe::LayerParameter&) [with Dtype = float]’ ./include/caffe/layers/dropout_layer.hpp:72:33: required from ‘caffe::DropoutLayer::DropoutLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/dropout_layer.cpp:140:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/neuron_layer.hpp:59:26: required from ‘caffe::NeuronLayer::NeuronLayer(const caffe::LayerParameter&) [with Dtype = double]’ ./include/caffe/layers/dropout_layer.hpp:72:33: required from ‘caffe::DropoutLayer::DropoutLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/dropout_layer.cpp:140:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/dropout_layer.cpp:143:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/dropout_layer.cpp:143:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/dropout_layer.o] Error 1 CXX src/caffe/layers/softmax_loss_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/filler.hpp:48, from src/caffe/layers/dummy_data_layer.cpp:40: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/dummy_data_layer.hpp:45, from src/caffe/layers/dummy_data_layer.cpp:41: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/dummy_data_layer.hpp:45:0, from src/caffe/layers/dummy_data_layer.cpp:41: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/dummy_data_layer.hpp:45:0, from src/caffe/layers/dummy_data_layer.cpp:41: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/dummy_data_layer.hpp:45:0, from src/caffe/layers/dummy_data_layer.cpp:41: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/dummy_data_layer.hpp:45:0, from src/caffe/layers/dummy_data_layer.cpp:41: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ src/caffe/layers/dummy_data_layer.cpp: At global scope: src/caffe/layers/dummy_data_layer.cpp:44:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ src/caffe/layers/dummy_data_layer.cpp:44:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ src/caffe/layers/dummy_data_layer.cpp: In member function ‘virtual void caffe::DummyDataLayer::LayerSetUp(const std::vector*>&, const std::vector*>&)’: src/caffe/layers/dummy_data_layer.cpp:142:3: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ src/caffe/layers/dummy_data_layer.cpp:142:12: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ src/caffe/layers/dummy_data_layer.cpp:143:3: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ src/caffe/layers/dummy_data_layer.cpp:143:21: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ src/caffe/layers/dummy_data_layer.cpp:144:19: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(COMP_OP_TYPE_DATA); ^ src/caffe/layers/dummy_data_layer.cpp:144:19: error: expected ‘;’ before ‘ComputeOpRegInfo’ src/caffe/layers/dummy_data_layer.cpp:147:87: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(top[i]->channels(), top[i]->width()*top[i]->height(), dt); ^ src/caffe/layers/dummy_data_layer.cpp:151:23: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ src/caffe/layers/dummy_data_layer.cpp:151:23: error: expected ‘;’ before ‘ComputeOp’ src/caffe/layers/dummy_data_layer.cpp: In instantiation of ‘void caffe::DummyDataLayer::LayerSetUp(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/dummy_data_layer.cpp:169:1: required from here src/caffe/layers/dummy_data_layer.cpp:151:17: error: ‘class caffe::DummyDataLayer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ src/caffe/layers/dummy_data_layer.cpp: In instantiation of ‘void caffe::DummyDataLayer::LayerSetUp(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/dummy_data_layer.cpp:169:1: required from here src/caffe/layers/dummy_data_layer.cpp:151:17: error: ‘class caffe::DummyDataLayer’ has no member named ‘layerOp’ In file included from ./include/caffe/layers/dummy_data_layer.hpp:45:0, from src/caffe/layers/dummy_data_layer.cpp:41: ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/dummy_data_layer.hpp:59:27: required from ‘caffe::DummyDataLayer::DummyDataLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/dummy_data_layer.cpp:169:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/dummy_data_layer.hpp:59:27: required from ‘caffe::DummyDataLayer::DummyDataLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/dummy_data_layer.cpp:169:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/dummy_data_layer.hpp:59:27: required from ‘caffe::DummyDataLayer::DummyDataLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/dummy_data_layer.cpp:169:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/dummy_data_layer.hpp:59:27: required from ‘caffe::DummyDataLayer::DummyDataLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/dummy_data_layer.cpp:169:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/dummy_data_layer.cpp:172:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/dummy_data_layer.cpp:172:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/dummy_data_layer.o] Error 1 CXX src/caffe/layers/slice_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layer.hpp:45, from src/caffe/layers/mkldnn_split_layer.cpp:43: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from src/caffe/layers/mkldnn_split_layer.cpp:43: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from src/caffe/layers/mkldnn_split_layer.cpp:43:0: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from src/caffe/layers/mkldnn_split_layer.cpp:43:0: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from src/caffe/layers/mkldnn_split_layer.cpp:43:0: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from src/caffe/layers/mkldnn_split_layer.cpp:43:0: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/mkldnn_layers.hpp:384:55: required from ‘caffe::MKLDNNSplitLayer::MKLDNNSplitLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/mkldnn_split_layer.cpp:222:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/mkldnn_layers.hpp:384:55: required from ‘caffe::MKLDNNSplitLayer::MKLDNNSplitLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/mkldnn_split_layer.cpp:222:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/mkldnn_layers.hpp:384:55: required from ‘caffe::MKLDNNSplitLayer::MKLDNNSplitLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/mkldnn_split_layer.cpp:222:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/mkldnn_layers.hpp:384:55: required from ‘caffe::MKLDNNSplitLayer::MKLDNNSplitLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/mkldnn_split_layer.cpp:222:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/mkldnn_split_layer.cpp:224:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/mkldnn_split_layer.cpp:224:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/mkldnn_split_layer.o] Error 1 CXX src/caffe/layers/base_data_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/filler.hpp:48, from src/caffe/layers/base_conv_layer.cpp:41: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/base_conv_layer.hpp:44, from src/caffe/layers/base_conv_layer.cpp:42: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/base_conv_layer.hpp:44:0, from src/caffe/layers/base_conv_layer.cpp:42: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/base_conv_layer.hpp:44:0, from src/caffe/layers/base_conv_layer.cpp:42: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/base_conv_layer.hpp:44:0, from src/caffe/layers/base_conv_layer.cpp:42: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/base_conv_layer.hpp:44:0, from src/caffe/layers/base_conv_layer.cpp:42: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ src/caffe/layers/base_conv_layer.cpp: At global scope: src/caffe/layers/base_conv_layer.cpp:51:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ src/caffe/layers/base_conv_layer.cpp:51:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ src/caffe/layers/base_conv_layer.cpp: In member function ‘virtual void caffe::BaseConvolutionLayer::Reshape(const std::vector*>&, const std::vector*>&)’: src/caffe/layers/base_conv_layer.cpp:320:5: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ src/caffe/layers/base_conv_layer.cpp:320:14: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ src/caffe/layers/base_conv_layer.cpp:321:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ src/caffe/layers/base_conv_layer.cpp:321:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ src/caffe/layers/base_conv_layer.cpp:329:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(COMP_OP_TYPE_CC); ^ src/caffe/layers/base_conv_layer.cpp:329:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ src/caffe/layers/base_conv_layer.cpp:331:45: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ src/caffe/layers/base_conv_layer.cpp:340:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ src/caffe/layers/base_conv_layer.cpp:340:24: error: expected ‘;’ before ‘ComputeOp’ src/caffe/layers/base_conv_layer.cpp: In instantiation of ‘void caffe::BaseConvolutionLayer::Reshape(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/base_conv_layer.cpp:561:1: required from here src/caffe/layers/base_conv_layer.cpp:319:21: error: ‘class caffe::BaseConvolutionLayer’ has no member named ‘layerOp’ if (this->layerOp == NULL) { ^ src/caffe/layers/base_conv_layer.cpp:340:18: error: ‘class caffe::BaseConvolutionLayer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ src/caffe/layers/base_conv_layer.cpp: In instantiation of ‘void caffe::BaseConvolutionLayer::Reshape(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/base_conv_layer.cpp:561:1: required from here src/caffe/layers/base_conv_layer.cpp:319:21: error: ‘class caffe::BaseConvolutionLayer’ has no member named ‘layerOp’ if (this->layerOp == NULL) { ^ src/caffe/layers/base_conv_layer.cpp:340:18: error: ‘class caffe::BaseConvolutionLayer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ In file included from ./include/caffe/layers/base_conv_layer.hpp:44:0, from src/caffe/layers/base_conv_layer.cpp:42: ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/base_conv_layer.hpp:58:27: required from ‘caffe::BaseConvolutionLayer::BaseConvolutionLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/base_conv_layer.cpp:561:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/base_conv_layer.hpp:58:27: required from ‘caffe::BaseConvolutionLayer::BaseConvolutionLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/base_conv_layer.cpp:561:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/base_conv_layer.hpp:58:27: required from ‘caffe::BaseConvolutionLayer::BaseConvolutionLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/base_conv_layer.cpp:561:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/base_conv_layer.hpp:58:27: required from ‘caffe::BaseConvolutionLayer::BaseConvolutionLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/base_conv_layer.cpp:561:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/base_conv_layer.cpp:563:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/base_conv_layer.cpp:563:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/base_conv_layer.o] Error 1 CXX src/caffe/layers/mkl_pooling_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layers/euclidean_loss_layer.hpp:43, from src/caffe/layers/euclidean_loss_layer.cpp:40: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/euclidean_loss_layer.hpp:44, from src/caffe/layers/euclidean_loss_layer.cpp:40: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/euclidean_loss_layer.hpp:44:0, from src/caffe/layers/euclidean_loss_layer.cpp:40: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/euclidean_loss_layer.hpp:44:0, from src/caffe/layers/euclidean_loss_layer.cpp:40: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/euclidean_loss_layer.hpp:44:0, from src/caffe/layers/euclidean_loss_layer.cpp:40: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/euclidean_loss_layer.hpp:44:0, from src/caffe/layers/euclidean_loss_layer.cpp:40: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/loss_layer.hpp:60:7: required from ‘caffe::EuclideanLossLayer::EuclideanLossLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/euclidean_loss_layer.cpp:89:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/loss_layer.hpp:60:7: required from ‘caffe::EuclideanLossLayer::EuclideanLossLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/euclidean_loss_layer.cpp:89:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/loss_layer.hpp:63:26: required from ‘caffe::LossLayer::LossLayer(const caffe::LayerParameter&) [with Dtype = float]’ ./include/caffe/layers/euclidean_loss_layer.hpp:81:40: required from ‘caffe::EuclideanLossLayer::EuclideanLossLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/euclidean_loss_layer.cpp:89:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/loss_layer.hpp:63:26: required from ‘caffe::LossLayer::LossLayer(const caffe::LayerParameter&) [with Dtype = double]’ ./include/caffe/layers/euclidean_loss_layer.hpp:81:40: required from ‘caffe::EuclideanLossLayer::EuclideanLossLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/euclidean_loss_layer.cpp:89:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/euclidean_loss_layer.cpp:92:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/euclidean_loss_layer.cpp:92:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/euclidean_loss_layer.o] Error 1 CXX src/caffe/layers/deconv_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layers/softmax_layer.hpp:43, from src/caffe/layers/softmax_layer.cpp:41: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/softmax_layer.hpp:44, from src/caffe/layers/softmax_layer.cpp:41: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/softmax_layer.hpp:44:0, from src/caffe/layers/softmax_layer.cpp:41: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/softmax_layer.hpp:44:0, from src/caffe/layers/softmax_layer.cpp:41: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/softmax_layer.hpp:44:0, from src/caffe/layers/softmax_layer.cpp:41: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/softmax_layer.hpp:44:0, from src/caffe/layers/softmax_layer.cpp:41: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/softmax_layer.hpp:58:27: required from ‘caffe::SoftmaxLayer::SoftmaxLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/softmax_layer.cpp:186:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/softmax_layer.hpp:58:27: required from ‘caffe::SoftmaxLayer::SoftmaxLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/softmax_layer.cpp:186:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/softmax_layer.hpp:58:27: required from ‘caffe::SoftmaxLayer::SoftmaxLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/softmax_layer.cpp:186:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/softmax_layer.hpp:58:27: required from ‘caffe::SoftmaxLayer::SoftmaxLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/softmax_layer.cpp:186:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/softmax_layer.cpp:188:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/softmax_layer.cpp:188:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/softmax_layer.o] Error 1 CXX src/caffe/layers/batch_reindex_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/filler.hpp:48, from src/caffe/layers/mkl_batch_norm_layer.cpp:41: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from src/caffe/layers/mkl_batch_norm_layer.cpp:42: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from src/caffe/layers/mkl_batch_norm_layer.cpp:42:0: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from src/caffe/layers/mkl_batch_norm_layer.cpp:42:0: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from src/caffe/layers/mkl_batch_norm_layer.cpp:42:0: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from src/caffe/layers/mkl_batch_norm_layer.cpp:42:0: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ In file included from ./include/caffe/layers/mkl_layers.hpp:52:0, from src/caffe/layers/mkl_batch_norm_layer.cpp:43: ./include/caffe/mkl_memory.hpp: In destructor ‘caffe::MKLMemoryDescriptorBase::~MKLMemoryDescriptorBase()’: ./include/caffe/mkl_memory.hpp:63:9: error: ‘MLSL’ has not been declared MLSL::Free((void*)internal_ptr); ^ ./include/caffe/mkl_memory.hpp: In member function ‘void caffe::MKLMemoryDescriptorBase::allocate()’: ./include/caffe/mkl_memory.hpp:91:30: error: ‘MLSL’ has not been declared internal_ptr = (Dtype*)MLSL::Alloc(prv_size(), 64); ^ In file included from src/caffe/layers/mkl_batch_norm_layer.cpp:43:0: ./include/caffe/layers/mkl_layers.hpp: At global scope: ./include/caffe/layers/mkl_layers.hpp:94:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:94:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:95:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:95:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:175:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:175:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:176:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:176:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:259:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:259:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:260:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:260:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:333:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:333:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:334:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:334:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:389:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:389:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:390:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:390:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ src/caffe/layers/mkl_batch_norm_layer.cpp: In member function ‘void caffe::MKLBatchNormLayer::Init(const std::vector*>&, const std::vector*>&)’: src/caffe/layers/mkl_batch_norm_layer.cpp:194:5: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ src/caffe/layers/mkl_batch_norm_layer.cpp:194:14: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ src/caffe/layers/mkl_batch_norm_layer.cpp:195:5: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ src/caffe/layers/mkl_batch_norm_layer.cpp:195:23: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ src/caffe/layers/mkl_batch_norm_layer.cpp:196:21: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(COMP_OP_TYPE_ACT); ^ src/caffe/layers/mkl_batch_norm_layer.cpp:196:21: error: expected ‘;’ before ‘ComputeOpRegInfo’ src/caffe/layers/mkl_batch_norm_layer.cpp:198:46: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ src/caffe/layers/mkl_batch_norm_layer.cpp:207:25: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ src/caffe/layers/mkl_batch_norm_layer.cpp:207:25: error: expected ‘;’ before ‘ComputeOp’ src/caffe/layers/mkl_batch_norm_layer.cpp: In instantiation of ‘void caffe::MKLBatchNormLayer::Init(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/mkl_batch_norm_layer.cpp:491:1: required from here src/caffe/layers/mkl_batch_norm_layer.cpp:184:7: error: ‘class caffe::MKLBatchNormLayer’ has no member named ‘layerOp’ if (!this->layerOp) { ^ src/caffe/layers/mkl_batch_norm_layer.cpp:207:19: error: ‘class caffe::MKLBatchNormLayer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ src/caffe/layers/mkl_batch_norm_layer.cpp: In instantiation of ‘void caffe::MKLBatchNormLayer::Init(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/mkl_batch_norm_layer.cpp:491:1: required from here src/caffe/layers/mkl_batch_norm_layer.cpp:184:7: error: ‘class caffe::MKLBatchNormLayer’ has no member named ‘layerOp’ if (!this->layerOp) { ^ src/caffe/layers/mkl_batch_norm_layer.cpp:207:19: error: ‘class caffe::MKLBatchNormLayer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ In file included from src/caffe/layers/mkl_batch_norm_layer.cpp:42:0: ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/mkl_layers.hpp:445:32: required from ‘caffe::MKLBatchNormLayer::MKLBatchNormLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/mkl_batch_norm_layer.cpp:491:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/mkl_layers.hpp:445:32: required from ‘caffe::MKLBatchNormLayer::MKLBatchNormLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/mkl_batch_norm_layer.cpp:491:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/mkl_layers.hpp:445:32: required from ‘caffe::MKLBatchNormLayer::MKLBatchNormLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/mkl_batch_norm_layer.cpp:491:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/mkl_layers.hpp:445:32: required from ‘caffe::MKLBatchNormLayer::MKLBatchNormLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/mkl_batch_norm_layer.cpp:491:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/mkl_batch_norm_layer.cpp:493:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/mkl_batch_norm_layer.cpp:493:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/mkl_batch_norm_layer.o] Error 1 CXX src/caffe/layers/mkldnn_concat_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layers/pooling_layer.hpp:43, from src/caffe/layers/pooling_layer_impl.cpp:41: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/pooling_layer.hpp:44, from src/caffe/layers/pooling_layer_impl.cpp:41: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/pooling_layer.hpp:44:0, from src/caffe/layers/pooling_layer_impl.cpp:41: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/pooling_layer.hpp:44:0, from src/caffe/layers/pooling_layer_impl.cpp:41: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/pooling_layer.hpp:44:0, from src/caffe/layers/pooling_layer_impl.cpp:41: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/pooling_layer.hpp:44:0, from src/caffe/layers/pooling_layer_impl.cpp:41: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ make: *** [.build_release/src/caffe/layers/pooling_layer_impl.o] Error 1 CXX src/caffe/layers/scale_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layers/softmax_loss_layer.hpp:43, from src/caffe/layers/softmax_loss_layer.cpp:42: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/softmax_loss_layer.hpp:44, from src/caffe/layers/softmax_loss_layer.cpp:42: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/softmax_loss_layer.hpp:44:0, from src/caffe/layers/softmax_loss_layer.cpp:42: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/softmax_loss_layer.hpp:44:0, from src/caffe/layers/softmax_loss_layer.cpp:42: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/softmax_loss_layer.hpp:44:0, from src/caffe/layers/softmax_loss_layer.cpp:42: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/softmax_loss_layer.hpp:44:0, from src/caffe/layers/softmax_loss_layer.cpp:42: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ src/caffe/layers/softmax_loss_layer.cpp: At global scope: src/caffe/layers/softmax_loss_layer.cpp:46:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ src/caffe/layers/softmax_loss_layer.cpp:46:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ src/caffe/layers/softmax_loss_layer.cpp: In member function ‘virtual void caffe::SoftmaxWithLossLayer::LayerSetUp(const std::vector*>&, const std::vector*>&)’: src/caffe/layers/softmax_loss_layer.cpp:84:5: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ src/caffe/layers/softmax_loss_layer.cpp:84:14: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ src/caffe/layers/softmax_loss_layer.cpp:85:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ src/caffe/layers/softmax_loss_layer.cpp:85:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ src/caffe/layers/softmax_loss_layer.cpp:86:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(COMP_OP_TYPE_EVAL); ^ src/caffe/layers/softmax_loss_layer.cpp:86:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ src/caffe/layers/softmax_loss_layer.cpp:88:45: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ src/caffe/layers/softmax_loss_layer.cpp:92:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ src/caffe/layers/softmax_loss_layer.cpp:92:24: error: expected ‘;’ before ‘ComputeOp’ src/caffe/layers/softmax_loss_layer.cpp: In instantiation of ‘void caffe::SoftmaxWithLossLayer::LayerSetUp(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/softmax_loss_layer.cpp:219:1: required from here src/caffe/layers/softmax_loss_layer.cpp:92:18: error: ‘class caffe::SoftmaxWithLossLayer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ src/caffe/layers/softmax_loss_layer.cpp: In instantiation of ‘void caffe::SoftmaxWithLossLayer::LayerSetUp(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/softmax_loss_layer.cpp:219:1: required from here src/caffe/layers/softmax_loss_layer.cpp:92:18: error: ‘class caffe::SoftmaxWithLossLayer’ has no member named ‘layerOp’ In file included from ./include/caffe/layers/softmax_loss_layer.hpp:44:0, from src/caffe/layers/softmax_loss_layer.cpp:42: ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/loss_layer.hpp:60:7: required from ‘caffe::SoftmaxWithLossLayer::SoftmaxWithLossLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/softmax_loss_layer.cpp:219:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUp(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/softmax_loss_layer.cpp:62:3: required from ‘void caffe::SoftmaxWithLossLayer::LayerSetUp(const std::vector*>&, const std::vector*>&) [with Dtype = float]’ src/caffe/layers/softmax_loss_layer.cpp:219:1: required from here ./include/caffe/layer.hpp:311:5: error: request for member ‘resize’ in ‘((caffe::Layer*)this)->caffe::Layer::prevLayerOps’, which is of non-class type ‘int’ this->prevLayerOps.resize(bottom.size()); ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/loss_layer.hpp:60:7: required from ‘caffe::SoftmaxWithLossLayer::SoftmaxWithLossLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/softmax_loss_layer.cpp:219:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUp(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/softmax_loss_layer.cpp:62:3: required from ‘void caffe::SoftmaxWithLossLayer::LayerSetUp(const std::vector*>&, const std::vector*>&) [with Dtype = double]’ src/caffe/layers/softmax_loss_layer.cpp:219:1: required from here ./include/caffe/layer.hpp:311:5: error: request for member ‘resize’ in ‘((caffe::Layer*)this)->caffe::Layer::prevLayerOps’, which is of non-class type ‘int’ this->prevLayerOps.resize(bottom.size()); ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/loss_layer.hpp:63:26: required from ‘caffe::LossLayer::LossLayer(const caffe::LayerParameter&) [with Dtype = float]’ ./include/caffe/layers/softmax_loss_layer.hpp:92:31: required from ‘caffe::SoftmaxWithLossLayer::SoftmaxWithLossLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/softmax_loss_layer.cpp:219:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/loss_layer.hpp:63:26: required from ‘caffe::LossLayer::LossLayer(const caffe::LayerParameter&) [with Dtype = double]’ ./include/caffe/layers/softmax_loss_layer.hpp:92:31: required from ‘caffe::SoftmaxWithLossLayer::SoftmaxWithLossLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/softmax_loss_layer.cpp:219:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/softmax_loss_layer.cpp:222:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/softmax_loss_layer.cpp:222:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/softmax_loss_layer.o] Error 1 CXX src/caffe/layers/mkl_concat_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layers/slice_layer.hpp:43, from src/caffe/layers/slice_layer.cpp:41: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/slice_layer.hpp:44, from src/caffe/layers/slice_layer.cpp:41: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/slice_layer.hpp:44:0, from src/caffe/layers/slice_layer.cpp:41: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/slice_layer.hpp:44:0, from src/caffe/layers/slice_layer.cpp:41: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/slice_layer.hpp:44:0, from src/caffe/layers/slice_layer.cpp:41: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/slice_layer.hpp:44:0, from src/caffe/layers/slice_layer.cpp:41: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/slice_layer.hpp:59:27: required from ‘caffe::SliceLayer::SliceLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/slice_layer.cpp:158:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/slice_layer.hpp:59:27: required from ‘caffe::SliceLayer::SliceLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/slice_layer.cpp:158:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/slice_layer.hpp:59:27: required from ‘caffe::SliceLayer::SliceLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/slice_layer.cpp:158:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/slice_layer.hpp:59:27: required from ‘caffe::SliceLayer::SliceLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/slice_layer.cpp:158:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/slice_layer.cpp:161:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/slice_layer.cpp:161:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/slice_layer.o] Error 1 CXX src/caffe/layers/mkldnn_eltwise_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layers/deconv_layer.hpp:43, from src/caffe/layers/deconv_layer.cpp:43: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/deconv_layer.hpp:44, from src/caffe/layers/deconv_layer.cpp:43: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/deconv_layer.hpp:44:0, from src/caffe/layers/deconv_layer.cpp:43: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/deconv_layer.hpp:44:0, from src/caffe/layers/deconv_layer.cpp:43: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/deconv_layer.hpp:44:0, from src/caffe/layers/deconv_layer.cpp:43: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/deconv_layer.hpp:44:0, from src/caffe/layers/deconv_layer.cpp:43: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/base_conv_layer.hpp:55:7: required from ‘caffe::DeconvolutionLayer::DeconvolutionLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/deconv_layer.cpp:140:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/base_conv_layer.hpp:55:7: required from ‘caffe::DeconvolutionLayer::DeconvolutionLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/deconv_layer.cpp:140:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/base_conv_layer.hpp:58:27: required from ‘caffe::BaseConvolutionLayer::BaseConvolutionLayer(const caffe::LayerParameter&) [with Dtype = float]’ ./include/caffe/layers/deconv_layer.hpp:69:42: required from ‘caffe::DeconvolutionLayer::DeconvolutionLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/deconv_layer.cpp:140:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/base_conv_layer.hpp:58:27: required from ‘caffe::BaseConvolutionLayer::BaseConvolutionLayer(const caffe::LayerParameter&) [with Dtype = double]’ ./include/caffe/layers/deconv_layer.hpp:69:42: required from ‘caffe::DeconvolutionLayer::DeconvolutionLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/deconv_layer.cpp:140:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/deconv_layer.cpp:143:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/deconv_layer.cpp:143:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/deconv_layer.o] Error 1 CXX src/caffe/layers/parameter_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layer.hpp:45, from src/caffe/layers/mkl_pooling_layer.cpp:44: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from src/caffe/layers/mkl_pooling_layer.cpp:44: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from src/caffe/layers/mkl_pooling_layer.cpp:44:0: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from src/caffe/layers/mkl_pooling_layer.cpp:44:0: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from src/caffe/layers/mkl_pooling_layer.cpp:44:0: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from src/caffe/layers/mkl_pooling_layer.cpp:44:0: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ In file included from ./include/caffe/layers/mkl_layers.hpp:52:0, from src/caffe/layers/mkl_pooling_layer.cpp:45: ./include/caffe/mkl_memory.hpp: In destructor ‘caffe::MKLMemoryDescriptorBase::~MKLMemoryDescriptorBase()’: ./include/caffe/mkl_memory.hpp:63:9: error: ‘MLSL’ has not been declared MLSL::Free((void*)internal_ptr); ^ ./include/caffe/mkl_memory.hpp: In member function ‘void caffe::MKLMemoryDescriptorBase::allocate()’: ./include/caffe/mkl_memory.hpp:91:30: error: ‘MLSL’ has not been declared internal_ptr = (Dtype*)MLSL::Alloc(prv_size(), 64); ^ In file included from src/caffe/layers/mkl_pooling_layer.cpp:45:0: ./include/caffe/layers/mkl_layers.hpp: At global scope: ./include/caffe/layers/mkl_layers.hpp:94:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:94:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:95:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:95:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:175:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:175:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:176:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:176:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:259:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:259:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:260:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:260:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:333:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:333:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:334:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:334:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:389:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:389:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:390:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:390:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ src/caffe/layers/mkl_pooling_layer.cpp: In member function ‘void caffe::MKLPoolingLayer::Init(const std::vector*>&, const std::vector*>&)’: src/caffe/layers/mkl_pooling_layer.cpp:213:3: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ src/caffe/layers/mkl_pooling_layer.cpp:213:12: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ src/caffe/layers/mkl_pooling_layer.cpp:214:3: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ src/caffe/layers/mkl_pooling_layer.cpp:214:21: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ src/caffe/layers/mkl_pooling_layer.cpp:215:19: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(COMP_OP_TYPE_POOL); ^ src/caffe/layers/mkl_pooling_layer.cpp:215:19: error: expected ‘;’ before ‘ComputeOpRegInfo’ src/caffe/layers/mkl_pooling_layer.cpp:223:48: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ src/caffe/layers/mkl_pooling_layer.cpp:231:49: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ src/caffe/layers/mkl_pooling_layer.cpp:235:23: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ src/caffe/layers/mkl_pooling_layer.cpp:235:23: error: expected ‘;’ before ‘ComputeOp’ src/caffe/layers/mkl_pooling_layer.cpp: At global scope: src/caffe/layers/mkl_pooling_layer.cpp:267:42: error: variable or field ‘pack_buffer’ declared void void MKLPoolingLayer::pack_buffer(FeatureMap *fm, Dtype *to, const Dtype *from) { ^ src/caffe/layers/mkl_pooling_layer.cpp:267:42: error: ‘FeatureMap’ was not declared in this scope src/caffe/layers/mkl_pooling_layer.cpp:267:54: error: ‘fm’ was not declared in this scope void MKLPoolingLayer::pack_buffer(FeatureMap *fm, Dtype *to, const Dtype *from) { ^ src/caffe/layers/mkl_pooling_layer.cpp:267:64: error: expected primary-expression before ‘*’ token void MKLPoolingLayer::pack_buffer(FeatureMap *fm, Dtype *to, const Dtype *from) { ^ src/caffe/layers/mkl_pooling_layer.cpp:267:65: error: ‘to’ was not declared in this scope void MKLPoolingLayer::pack_buffer(FeatureMap *fm, Dtype *to, const Dtype *from) { ^ src/caffe/layers/mkl_pooling_layer.cpp:267:69: error: expected primary-expression before ‘const’ void MKLPoolingLayer::pack_buffer(FeatureMap *fm, Dtype *to, const Dtype *from) { ^ src/caffe/layers/mkl_pooling_layer.cpp:289:44: error: variable or field ‘unpack_buffer’ declared void void MKLPoolingLayer::unpack_buffer(FeatureMap *fm, const Dtype *from, Dtype *to) { ^ src/caffe/layers/mkl_pooling_layer.cpp:289:44: error: ‘FeatureMap’ was not declared in this scope src/caffe/layers/mkl_pooling_layer.cpp:289:56: error: ‘fm’ was not declared in this scope void MKLPoolingLayer::unpack_buffer(FeatureMap *fm, const Dtype *from, Dtype *to) { ^ src/caffe/layers/mkl_pooling_layer.cpp:289:60: error: expected primary-expression before ‘const’ void MKLPoolingLayer::unpack_buffer(FeatureMap *fm, const Dtype *from, Dtype *to) { ^ src/caffe/layers/mkl_pooling_layer.cpp:289:85: error: expected primary-expression before ‘*’ token void MKLPoolingLayer::unpack_buffer(FeatureMap *fm, const Dtype *from, Dtype *to) { ^ src/caffe/layers/mkl_pooling_layer.cpp:289:86: error: ‘to’ was not declared in this scope void MKLPoolingLayer::unpack_buffer(FeatureMap *fm, const Dtype *from, Dtype *to) { ^ src/caffe/layers/mkl_pooling_layer.cpp: In instantiation of ‘void caffe::MKLPoolingLayer::Init(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/mkl_pooling_layer.cpp:465:1: required from here src/caffe/layers/mkl_pooling_layer.cpp:235:17: error: ‘class caffe::MKLPoolingLayer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ src/caffe/layers/mkl_pooling_layer.cpp: In instantiation of ‘void caffe::MKLPoolingLayer::Init(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/mkl_pooling_layer.cpp:465:1: required from here src/caffe/layers/mkl_pooling_layer.cpp:235:17: error: ‘class caffe::MKLPoolingLayer’ has no member named ‘layerOp’ In file included from src/caffe/layers/mkl_pooling_layer.cpp:44:0: ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/mkl_layers.hpp:235:40: required from ‘caffe::MKLPoolingLayer::MKLPoolingLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/mkl_pooling_layer.cpp:465:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/mkl_layers.hpp:235:40: required from ‘caffe::MKLPoolingLayer::MKLPoolingLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/mkl_pooling_layer.cpp:465:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/mkl_layers.hpp:235:40: required from ‘caffe::MKLPoolingLayer::MKLPoolingLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/mkl_pooling_layer.cpp:465:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/mkl_layers.hpp:235:40: required from ‘caffe::MKLPoolingLayer::MKLPoolingLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/mkl_pooling_layer.cpp:465:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/mkl_pooling_layer.cpp:466:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/mkl_pooling_layer.cpp:466:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/mkl_pooling_layer.o] Error 1 CXX src/caffe/layers/data_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layers/batch_reindex_layer.hpp:44, from src/caffe/layers/batch_reindex_layer.cpp:40: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/batch_reindex_layer.hpp:45, from src/caffe/layers/batch_reindex_layer.cpp:40: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/batch_reindex_layer.hpp:45:0, from src/caffe/layers/batch_reindex_layer.cpp:40: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/batch_reindex_layer.hpp:45:0, from src/caffe/layers/batch_reindex_layer.cpp:40: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/batch_reindex_layer.hpp:45:0, from src/caffe/layers/batch_reindex_layer.cpp:40: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/batch_reindex_layer.hpp:45:0, from src/caffe/layers/batch_reindex_layer.cpp:40: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/batch_reindex_layer.hpp:61:27: required from ‘caffe::BatchReindexLayer::BatchReindexLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/batch_reindex_layer.cpp:112:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/batch_reindex_layer.hpp:61:27: required from ‘caffe::BatchReindexLayer::BatchReindexLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/batch_reindex_layer.cpp:112:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/batch_reindex_layer.hpp:61:27: required from ‘caffe::BatchReindexLayer::BatchReindexLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/batch_reindex_layer.cpp:112:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/batch_reindex_layer.hpp:61:27: required from ‘caffe::BatchReindexLayer::BatchReindexLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/batch_reindex_layer.cpp:112:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/batch_reindex_layer.cpp:115:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/batch_reindex_layer.cpp:115:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/batch_reindex_layer.o] Error 1 CXX src/caffe/layers/normalize_layer.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/filler.hpp:48, from src/caffe/layers/scale_layer.cpp:41: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layer_factory.hpp:84, from src/caffe/layers/scale_layer.cpp:42: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layer_factory.hpp:84:0, from src/caffe/layers/scale_layer.cpp:42: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layer_factory.hpp:84:0, from src/caffe/layers/scale_layer.cpp:42: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layer_factory.hpp:84:0, from src/caffe/layers/scale_layer.cpp:42: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layer_factory.hpp:84:0, from src/caffe/layers/scale_layer.cpp:42: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/scale_layer.hpp:64:27: required from ‘caffe::ScaleLayer::ScaleLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/scale_layer.cpp:253:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/scale_layer.hpp:64:27: required from ‘caffe::ScaleLayer::ScaleLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/scale_layer.cpp:253:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUp(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/scale_layer.cpp:95:5: required from ‘void caffe::ScaleLayer::LayerSetUp(const std::vector*>&, const std::vector*>&) [with Dtype = float]’ src/caffe/layers/scale_layer.cpp:253:1: required from here ./include/caffe/layer.hpp:311:5: error: request for member ‘resize’ in ‘((caffe::Layer*)this)->caffe::Layer::prevLayerOps’, which is of non-class type ‘int’ this->prevLayerOps.resize(bottom.size()); ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/scale_layer.hpp:64:27: required from ‘caffe::ScaleLayer::ScaleLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/scale_layer.cpp:253:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/scale_layer.hpp:64:27: required from ‘caffe::ScaleLayer::ScaleLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/scale_layer.cpp:253:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUp(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/scale_layer.cpp:95:5: required from ‘void caffe::ScaleLayer::LayerSetUp(const std::vector*>&, const std::vector*>&) [with Dtype = double]’ src/caffe/layers/scale_layer.cpp:253:1: required from here ./include/caffe/layer.hpp:311:5: error: request for member ‘resize’ in ‘((caffe::Layer*)this)->caffe::Layer::prevLayerOps’, which is of non-class type ‘int’ this->prevLayerOps.resize(bottom.size()); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/scale_layer.cpp:256:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/scale_layer.cpp:256:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/scale_layer.o] Error 1 CXX tools/convert_imageset.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layer.hpp:45, from src/caffe/layers/mkldnn_concat_layer.cpp:43: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from src/caffe/layers/mkldnn_concat_layer.cpp:43: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from src/caffe/layers/mkldnn_concat_layer.cpp:43:0: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from src/caffe/layers/mkldnn_concat_layer.cpp:43:0: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from src/caffe/layers/mkldnn_concat_layer.cpp:43:0: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from src/caffe/layers/mkldnn_concat_layer.cpp:43:0: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/mkldnn_layers.hpp:342:63: required from ‘caffe::MKLDNNConcatLayer::MKLDNNConcatLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/mkldnn_concat_layer.cpp:271:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/mkldnn_layers.hpp:342:63: required from ‘caffe::MKLDNNConcatLayer::MKLDNNConcatLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/mkldnn_concat_layer.cpp:271:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/mkldnn_layers.hpp:342:63: required from ‘caffe::MKLDNNConcatLayer::MKLDNNConcatLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/mkldnn_concat_layer.cpp:271:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/mkldnn_layers.hpp:342:63: required from ‘caffe::MKLDNNConcatLayer::MKLDNNConcatLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/mkldnn_concat_layer.cpp:271:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/mkldnn_concat_layer.cpp:273:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/mkldnn_concat_layer.cpp:273:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/mkldnn_concat_layer.o] Error 1 CXX tools/train_net.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layer.hpp:45, from src/caffe/layers/mkl_concat_layer.cpp:41: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from src/caffe/layers/mkl_concat_layer.cpp:41: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from src/caffe/layers/mkl_concat_layer.cpp:41:0: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from src/caffe/layers/mkl_concat_layer.cpp:41:0: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from src/caffe/layers/mkl_concat_layer.cpp:41:0: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from src/caffe/layers/mkl_concat_layer.cpp:41:0: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ In file included from ./include/caffe/layers/mkl_layers.hpp:52:0, from src/caffe/layers/mkl_concat_layer.cpp:42: ./include/caffe/mkl_memory.hpp: In destructor ‘caffe::MKLMemoryDescriptorBase::~MKLMemoryDescriptorBase()’: ./include/caffe/mkl_memory.hpp:63:9: error: ‘MLSL’ has not been declared MLSL::Free((void*)internal_ptr); ^ ./include/caffe/mkl_memory.hpp: In member function ‘void caffe::MKLMemoryDescriptorBase::allocate()’: ./include/caffe/mkl_memory.hpp:91:30: error: ‘MLSL’ has not been declared internal_ptr = (Dtype*)MLSL::Alloc(prv_size(), 64); ^ In file included from src/caffe/layers/mkl_concat_layer.cpp:42:0: ./include/caffe/layers/mkl_layers.hpp: At global scope: ./include/caffe/layers/mkl_layers.hpp:94:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:94:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:95:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:95:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:175:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:175:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:176:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:176:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:259:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:259:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:260:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:260:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:333:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:333:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:334:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:334:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:389:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:389:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/mkl_layers.hpp:390:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/mkl_layers.hpp:390:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ src/caffe/layers/mkl_concat_layer.cpp: In member function ‘void caffe::MKLConcatLayer::Init(const std::vector*>&, const std::vector*>&)’: src/caffe/layers/mkl_concat_layer.cpp:115:3: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ src/caffe/layers/mkl_concat_layer.cpp:115:12: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ src/caffe/layers/mkl_concat_layer.cpp:116:3: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ src/caffe/layers/mkl_concat_layer.cpp:116:21: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ src/caffe/layers/mkl_concat_layer.cpp:117:19: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(COMP_OP_TYPE_CONCAT); ^ src/caffe/layers/mkl_concat_layer.cpp:117:19: error: expected ‘;’ before ‘ComputeOpRegInfo’ src/caffe/layers/mkl_concat_layer.cpp:124:48: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ src/caffe/layers/mkl_concat_layer.cpp:132:49: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ src/caffe/layers/mkl_concat_layer.cpp:136:23: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ src/caffe/layers/mkl_concat_layer.cpp:136:23: error: expected ‘;’ before ‘ComputeOp’ src/caffe/layers/mkl_concat_layer.cpp: At global scope: src/caffe/layers/mkl_concat_layer.cpp:171:41: error: variable or field ‘pack_buffer’ declared void void MKLConcatLayer::pack_buffer(FeatureMap *fm, Dtype *comms_buf, const Dtype *local_buf) { ^ src/caffe/layers/mkl_concat_layer.cpp:171:41: error: ‘FeatureMap’ was not declared in this scope src/caffe/layers/mkl_concat_layer.cpp:171:53: error: ‘fm’ was not declared in this scope void MKLConcatLayer::pack_buffer(FeatureMap *fm, Dtype *comms_buf, const Dtype *local_buf) { ^ src/caffe/layers/mkl_concat_layer.cpp:171:63: error: expected primary-expression before ‘*’ token void MKLConcatLayer::pack_buffer(FeatureMap *fm, Dtype *comms_buf, const Dtype *local_buf) { ^ src/caffe/layers/mkl_concat_layer.cpp:171:64: error: ‘comms_buf’ was not declared in this scope void MKLConcatLayer::pack_buffer(FeatureMap *fm, Dtype *comms_buf, const Dtype *local_buf) { ^ src/caffe/layers/mkl_concat_layer.cpp:171:75: error: expected primary-expression before ‘const’ void MKLConcatLayer::pack_buffer(FeatureMap *fm, Dtype *comms_buf, const Dtype *local_buf) { ^ src/caffe/layers/mkl_concat_layer.cpp:193:45: error: variable or field ‘unpack_buffer’ declared void void MKLConcatLayer::unpack_buffer(FeatureMap *fm, const Dtype *comms_buf, Dtype *local_buf) { ^ src/caffe/layers/mkl_concat_layer.cpp:193:45: error: ‘FeatureMap’ was not declared in this scope src/caffe/layers/mkl_concat_layer.cpp:193:57: error: ‘fm’ was not declared in this scope void MKLConcatLayer::unpack_buffer(FeatureMap *fm, const Dtype *comms_buf, Dtype *local_buf) { ^ src/caffe/layers/mkl_concat_layer.cpp:193:61: error: expected primary-expression before ‘const’ void MKLConcatLayer::unpack_buffer(FeatureMap *fm, const Dtype *comms_buf, Dtype *local_buf) { ^ src/caffe/layers/mkl_concat_layer.cpp:193:91: error: expected primary-expression before ‘*’ token void MKLConcatLayer::unpack_buffer(FeatureMap *fm, const Dtype *comms_buf, Dtype *local_buf) { ^ src/caffe/layers/mkl_concat_layer.cpp:193:92: error: ‘local_buf’ was not declared in this scope void MKLConcatLayer::unpack_buffer(FeatureMap *fm, const Dtype *comms_buf, Dtype *local_buf) { ^ src/caffe/layers/mkl_concat_layer.cpp: In instantiation of ‘void caffe::MKLConcatLayer::Init(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/mkl_concat_layer.cpp:336:1: required from here src/caffe/layers/mkl_concat_layer.cpp:136:17: error: ‘class caffe::MKLConcatLayer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ src/caffe/layers/mkl_concat_layer.cpp: In instantiation of ‘void caffe::MKLConcatLayer::Init(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/mkl_concat_layer.cpp:336:1: required from here src/caffe/layers/mkl_concat_layer.cpp:136:17: error: ‘class caffe::MKLConcatLayer’ has no member named ‘layerOp’ In file included from src/caffe/layers/mkl_concat_layer.cpp:41:0: ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/mkl_layers.hpp:377:29: required from ‘caffe::MKLConcatLayer::MKLConcatLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/mkl_concat_layer.cpp:336:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/mkl_layers.hpp:377:29: required from ‘caffe::MKLConcatLayer::MKLConcatLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/mkl_concat_layer.cpp:336:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/mkl_layers.hpp:377:29: required from ‘caffe::MKLConcatLayer::MKLConcatLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/mkl_concat_layer.cpp:336:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/mkl_layers.hpp:377:29: required from ‘caffe::MKLConcatLayer::MKLConcatLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/mkl_concat_layer.cpp:336:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/mkl_concat_layer.cpp:337:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/mkl_concat_layer.cpp:337:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/mkl_concat_layer.o] Error 1 CXX tools/create_label_map.cpp In file included from ./include/caffe/blob.hpp:47:0, from src/caffe/layers/base_data_layer.cpp:41: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from src/caffe/layers/base_data_layer.cpp:44: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from src/caffe/layers/base_data_layer.cpp:44:0: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from src/caffe/layers/base_data_layer.cpp:44:0: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from src/caffe/layers/base_data_layer.cpp:44:0: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from src/caffe/layers/base_data_layer.cpp:44:0: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ In file included from src/caffe/layers/base_data_layer.cpp:45:0: ./include/caffe/layers/base_data_layer.hpp: At global scope: ./include/caffe/layers/base_data_layer.hpp:80:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/base_data_layer.hpp:80:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/base_data_layer.hpp:81:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/base_data_layer.hpp:81:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ src/caffe/layers/base_data_layer.cpp:50:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ src/caffe/layers/base_data_layer.cpp:50:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ src/caffe/layers/base_data_layer.cpp: In member function ‘virtual void caffe::BaseDataLayer::LayerSetUp(const std::vector*>&, const std::vector*>&)’: src/caffe/layers/base_data_layer.cpp:78:3: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ src/caffe/layers/base_data_layer.cpp:78:12: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ src/caffe/layers/base_data_layer.cpp:79:3: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ src/caffe/layers/base_data_layer.cpp:79:21: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ src/caffe/layers/base_data_layer.cpp:80:19: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(COMP_OP_TYPE_DATA); ^ src/caffe/layers/base_data_layer.cpp:80:19: error: expected ‘;’ before ‘ComputeOpRegInfo’ src/caffe/layers/base_data_layer.cpp:82:88: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(top[0]->channels(), top[0]->width()*top[0]->height(), dt); ^ src/caffe/layers/base_data_layer.cpp:86:23: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ src/caffe/layers/base_data_layer.cpp:86:23: error: expected ‘;’ before ‘ComputeOp’ src/caffe/layers/base_data_layer.cpp: At global scope: src/caffe/layers/base_data_layer.cpp:96:40: error: variable or field ‘pack_buffer’ declared void void BaseDataLayer::pack_buffer(FeatureMap *fm, Dtype *to, const Dtype *from) { ^ src/caffe/layers/base_data_layer.cpp:96:40: error: ‘FeatureMap’ was not declared in this scope src/caffe/layers/base_data_layer.cpp:96:52: error: ‘fm’ was not declared in this scope void BaseDataLayer::pack_buffer(FeatureMap *fm, Dtype *to, const Dtype *from) { ^ src/caffe/layers/base_data_layer.cpp:96:62: error: expected primary-expression before ‘*’ token void BaseDataLayer::pack_buffer(FeatureMap *fm, Dtype *to, const Dtype *from) { ^ src/caffe/layers/base_data_layer.cpp:96:63: error: ‘to’ was not declared in this scope void BaseDataLayer::pack_buffer(FeatureMap *fm, Dtype *to, const Dtype *from) { ^ src/caffe/layers/base_data_layer.cpp:96:67: error: expected primary-expression before ‘const’ void BaseDataLayer::pack_buffer(FeatureMap *fm, Dtype *to, const Dtype *from) { ^ src/caffe/layers/base_data_layer.cpp:117:44: error: variable or field ‘unpack_buffer’ declared void void BaseDataLayer::unpack_buffer(FeatureMap *fm, const Dtype *from, Dtype *to) { ^ src/caffe/layers/base_data_layer.cpp:117:44: error: ‘FeatureMap’ was not declared in this scope src/caffe/layers/base_data_layer.cpp:117:56: error: ‘fm’ was not declared in this scope void BaseDataLayer::unpack_buffer(FeatureMap *fm, const Dtype *from, Dtype *to) { ^ src/caffe/layers/base_data_layer.cpp:117:60: error: expected primary-expression before ‘const’ void BaseDataLayer::unpack_buffer(FeatureMap *fm, const Dtype *from, Dtype *to) { ^ src/caffe/layers/base_data_layer.cpp:117:85: error: expected primary-expression before ‘*’ token void BaseDataLayer::unpack_buffer(FeatureMap *fm, const Dtype *from, Dtype *to) { ^ src/caffe/layers/base_data_layer.cpp:117:86: error: ‘to’ was not declared in this scope void BaseDataLayer::unpack_buffer(FeatureMap *fm, const Dtype *from, Dtype *to) { ^ src/caffe/layers/base_data_layer.cpp: In instantiation of ‘void caffe::BaseDataLayer::LayerSetUp(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/base_data_layer.cpp:257:1: required from here src/caffe/layers/base_data_layer.cpp:86:17: error: ‘class caffe::BaseDataLayer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ src/caffe/layers/base_data_layer.cpp: In instantiation of ‘void caffe::BaseDataLayer::LayerSetUp(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/base_data_layer.cpp:257:1: required from here src/caffe/layers/base_data_layer.cpp:86:17: error: ‘class caffe::BaseDataLayer’ has no member named ‘layerOp’ In file included from src/caffe/layers/base_data_layer.cpp:44:0: ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: src/caffe/layers/base_data_layer.cpp:58:47: required from ‘caffe::BaseDataLayer::BaseDataLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/base_data_layer.cpp:257:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: src/caffe/layers/base_data_layer.cpp:58:47: required from ‘caffe::BaseDataLayer::BaseDataLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/base_data_layer.cpp:257:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: src/caffe/layers/base_data_layer.cpp:58:47: required from ‘caffe::BaseDataLayer::BaseDataLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/base_data_layer.cpp:257:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: src/caffe/layers/base_data_layer.cpp:58:47: required from ‘caffe::BaseDataLayer::BaseDataLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/base_data_layer.cpp:257:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/base_data_layer.cpp:260:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/base_data_layer.cpp:260:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/base_data_layer.o] Error 1 CXX tools/compute_image_mean.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layer.hpp:45, from ./include/caffe/layers/parameter_layer.hpp:43, from src/caffe/layers/parameter_layer.cpp:38: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/parameter_layer.hpp:43, from src/caffe/layers/parameter_layer.cpp:38: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/parameter_layer.hpp:43:0, from src/caffe/layers/parameter_layer.cpp:38: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/parameter_layer.hpp:43:0, from src/caffe/layers/parameter_layer.cpp:38: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/parameter_layer.hpp:43:0, from src/caffe/layers/parameter_layer.cpp:38: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/parameter_layer.hpp:43:0, from src/caffe/layers/parameter_layer.cpp:38: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/parameter_layer.hpp:51:27: required from ‘caffe::ParameterLayer::ParameterLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/parameter_layer.cpp:42:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/parameter_layer.hpp:51:27: required from ‘caffe::ParameterLayer::ParameterLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/parameter_layer.cpp:42:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/parameter_layer.hpp:51:27: required from ‘caffe::ParameterLayer::ParameterLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/parameter_layer.cpp:42:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/parameter_layer.hpp:51:27: required from ‘caffe::ParameterLayer::ParameterLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/parameter_layer.cpp:42:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/parameter_layer.cpp:45:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/parameter_layer.cpp:45:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/parameter_layer.o] Error 1 CXX tools/finetune_net.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/layer.hpp:45, from src/caffe/layers/mkldnn_eltwise_layer.cpp:43: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from src/caffe/layers/mkldnn_eltwise_layer.cpp:43: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from src/caffe/layers/mkldnn_eltwise_layer.cpp:43:0: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from src/caffe/layers/mkldnn_eltwise_layer.cpp:43:0: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from src/caffe/layers/mkldnn_eltwise_layer.cpp:43:0: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from src/caffe/layers/mkldnn_eltwise_layer.cpp:43:0: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/mkldnn_layers.hpp:426:21: required from ‘caffe::MKLDNNEltwiseLayer::MKLDNNEltwiseLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/mkldnn_eltwise_layer.cpp:262:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/mkldnn_layers.hpp:426:21: required from ‘caffe::MKLDNNEltwiseLayer::MKLDNNEltwiseLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/mkldnn_eltwise_layer.cpp:262:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/mkldnn_layers.hpp:426:21: required from ‘caffe::MKLDNNEltwiseLayer::MKLDNNEltwiseLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/mkldnn_eltwise_layer.cpp:262:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/mkldnn_layers.hpp:426:21: required from ‘caffe::MKLDNNEltwiseLayer::MKLDNNEltwiseLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/mkldnn_eltwise_layer.cpp:262:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/mkldnn_eltwise_layer.cpp:263:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/mkldnn_eltwise_layer.cpp:263:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/mkldnn_eltwise_layer.o] Error 1 CXX tools/test_net.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/filler.hpp:48, from src/caffe/layers/normalize_layer.cpp:40: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/normalize_layer.hpp:44, from src/caffe/layers/normalize_layer.cpp:41: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/normalize_layer.hpp:44:0, from src/caffe/layers/normalize_layer.cpp:41: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/normalize_layer.hpp:44:0, from src/caffe/layers/normalize_layer.cpp:41: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/normalize_layer.hpp:44:0, from src/caffe/layers/normalize_layer.cpp:41: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/normalize_layer.hpp:44:0, from src/caffe/layers/normalize_layer.cpp:41: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = float]’: ./include/caffe/layers/normalize_layer.hpp:58:27: required from ‘caffe::NormalizeLayer::NormalizeLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/normalize_layer.cpp:268:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/normalize_layer.hpp:58:27: required from ‘caffe::NormalizeLayer::NormalizeLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/normalize_layer.cpp:268:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::Layer(const caffe::LayerParameter&) [with Dtype = double]’: ./include/caffe/layers/normalize_layer.hpp:58:27: required from ‘caffe::NormalizeLayer::NormalizeLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/normalize_layer.cpp:268:1: required from here ./include/caffe/layer.hpp:271:21: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/normalize_layer.hpp:58:27: required from ‘caffe::NormalizeLayer::NormalizeLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/normalize_layer.cpp:268:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/normalize_layer.cpp:271:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/normalize_layer.cpp:271:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/normalize_layer.o] Error 1 CXX tools/upgrade_solver_proto_text.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/data_transformer.hpp:44, from src/caffe/layers/data_layer.cpp:45: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/layers/data_layer.hpp:47, from src/caffe/layers/data_layer.cpp:46: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/layers/data_layer.hpp:47:0, from src/caffe/layers/data_layer.cpp:46: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/layers/data_layer.hpp:47:0, from src/caffe/layers/data_layer.cpp:46: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/layers/data_layer.hpp:47:0, from src/caffe/layers/data_layer.cpp:46: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/layers/data_layer.hpp:47:0, from src/caffe/layers/data_layer.cpp:46: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:4: note: suggested alternative: In file included from src/caffe/layers/data_layer.cpp:39:0: /usr/local/include/opencv2/core/core.hpp:996:30: note: ‘cv::DataType’ template class DataType ^ In file included from ./include/caffe/layers/data_layer.hpp:47:0, from src/caffe/layers/data_layer.cpp:46: ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ In file included from ./include/caffe/layers/data_layer.hpp:48:0, from src/caffe/layers/data_layer.cpp:46: ./include/caffe/layers/base_data_layer.hpp: At global scope: ./include/caffe/layers/base_data_layer.hpp:80:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/base_data_layer.hpp:80:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from); ^ ./include/caffe/layers/base_data_layer.hpp:81:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ ./include/caffe/layers/base_data_layer.hpp:81:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to); ^ In file included from ./include/caffe/layers/data_layer.hpp:47:0, from src/caffe/layers/data_layer.cpp:46: ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = float]’: ./include/caffe/layers/base_data_layer.hpp:58:7: required from ‘caffe::DataLayer::DataLayer(const caffe::LayerParameter&) [with Dtype = float]’ src/caffe/layers/data_layer.cpp:179:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘caffe::Layer::~Layer() [with Dtype = double]’: ./include/caffe/layers/base_data_layer.hpp:58:7: required from ‘caffe::DataLayer::DataLayer(const caffe::LayerParameter&) [with Dtype = double]’ src/caffe/layers/data_layer.cpp:179:1: required from here ./include/caffe/layer.hpp:277:7: error: ‘class caffe::Layer’ has no member named ‘layerOp’ if (this->layerOp) { ^ ./include/caffe/layer.hpp:278:24: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp->FreeCommsBufs(); ^ ./include/caffe/layer.hpp:280:11: error: ‘class caffe::Layer’ has no member named ‘layerOp’ delete this->layerOp; ^ ./include/caffe/layer.hpp:281:25: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = 0; ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = double]’: src/caffe/layers/data_layer.cpp:182:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp: In instantiation of ‘void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&) [with Dtype = float]’: src/caffe/layers/data_layer.cpp:182:1: required from here ./include/caffe/layer.hpp:376:18: error: ‘class caffe::Layer’ has no member named ‘layerOp’ make: *** [.build_release/src/caffe/layers/data_layer.o] Error 1 CXX tools/get_image_size.cpp CXX tools/convert_annoset.cpp CXX tools/net_speed_benchmark.cpp CXX tools/device_query.cpp CXX tools/upgrade_net_proto_binary.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/caffe.hpp:44, from tools/train_net.cpp:38: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/caffe.hpp:47, from tools/train_net.cpp:38: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/caffe.hpp:47:0, from tools/train_net.cpp:38: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/caffe.hpp:47:0, from tools/train_net.cpp:38: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/caffe.hpp:47:0, from tools/train_net.cpp:38: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/caffe.hpp:47:0, from tools/train_net.cpp:38: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ make: *** [.build_release/tools/train_net.o] Error 1 CXX tools/upgrade_net_proto_text.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/caffe.hpp:44, from tools/finetune_net.cpp:38: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/caffe.hpp:47, from tools/finetune_net.cpp:38: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/caffe.hpp:47:0, from tools/finetune_net.cpp:38: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/caffe.hpp:47:0, from tools/finetune_net.cpp:38: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/caffe.hpp:47:0, from tools/finetune_net.cpp:38: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/caffe.hpp:47:0, from tools/finetune_net.cpp:38: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ make: *** [.build_release/tools/finetune_net.o] Error 1 CXX tools/caffe.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/caffe.hpp:44, from tools/test_net.cpp:38: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/caffe.hpp:47, from tools/test_net.cpp:38: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/caffe.hpp:47:0, from tools/test_net.cpp:38: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/caffe.hpp:47:0, from tools/test_net.cpp:38: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/caffe.hpp:47:0, from tools/test_net.cpp:38: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/caffe.hpp:47:0, from tools/test_net.cpp:38: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ make: *** [.build_release/tools/test_net.o] Error 1 CXX tools/extract_features.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/caffe.hpp:44, from tools/upgrade_solver_proto_text.cpp:47: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/caffe.hpp:47, from tools/upgrade_solver_proto_text.cpp:47: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/caffe.hpp:47:0, from tools/upgrade_solver_proto_text.cpp:47: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/caffe.hpp:47:0, from tools/upgrade_solver_proto_text.cpp:47: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/caffe.hpp:47:0, from tools/upgrade_solver_proto_text.cpp:47: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/caffe.hpp:47:0, from tools/upgrade_solver_proto_text.cpp:47: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ make: *** [.build_release/tools/upgrade_solver_proto_text.o] Error 1 CXX examples/cifar10/convert_cifar_data.cpp CXX examples/siamese/convert_mnist_siamese_data.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/caffe.hpp:44, from tools/net_speed_benchmark.cpp:38: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/caffe.hpp:47, from tools/net_speed_benchmark.cpp:38: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/caffe.hpp:47:0, from tools/net_speed_benchmark.cpp:38: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/caffe.hpp:47:0, from tools/net_speed_benchmark.cpp:38: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/caffe.hpp:47:0, from tools/net_speed_benchmark.cpp:38: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/caffe.hpp:47:0, from tools/net_speed_benchmark.cpp:38: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ make: *** [.build_release/tools/net_speed_benchmark.o] Error 1 CXX examples/ssd/ssd_detect.cpp CXX examples/cpp_classification/classification.cpp CXX examples/mnist/convert_mnist_data.cpp In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/caffe.hpp:44, from tools/upgrade_net_proto_binary.cpp:47: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/caffe.hpp:47, from tools/upgrade_net_proto_binary.cpp:47: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/caffe.hpp:47:0, from tools/upgrade_net_proto_binary.cpp:47: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/caffe.hpp:47:0, from tools/upgrade_net_proto_binary.cpp:47: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/caffe.hpp:47:0, from tools/upgrade_net_proto_binary.cpp:47: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/caffe.hpp:47:0, from tools/upgrade_net_proto_binary.cpp:47: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ make: *** [.build_release/tools/upgrade_net_proto_binary.o] Error 1 In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/caffe.hpp:44, from tools/upgrade_net_proto_text.cpp:47: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/caffe.hpp:47, from tools/upgrade_net_proto_text.cpp:47: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/caffe.hpp:47:0, from tools/upgrade_net_proto_text.cpp:47: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/caffe.hpp:47:0, from tools/upgrade_net_proto_text.cpp:47: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/caffe.hpp:47:0, from tools/upgrade_net_proto_text.cpp:47: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/caffe.hpp:47:0, from tools/upgrade_net_proto_text.cpp:47: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ make: *** [.build_release/tools/upgrade_net_proto_text.o] Error 1 In file included from ./include/caffe/blob.hpp:47:0, from tools/extract_features.cpp:44: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/net.hpp:49, from tools/extract_features.cpp:46: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/net.hpp:49:0, from tools/extract_features.cpp:46: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/net.hpp:49:0, from tools/extract_features.cpp:46: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/net.hpp:49:0, from tools/extract_features.cpp:46: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/net.hpp:49:0, from tools/extract_features.cpp:46: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ make: *** [.build_release/tools/extract_features.o] Error 1 In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/caffe.hpp:44, from examples/cpp_classification/classification.cpp:38: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/caffe.hpp:47, from examples/cpp_classification/classification.cpp:38: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/caffe.hpp:47:0, from examples/cpp_classification/classification.cpp:38: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/caffe.hpp:47:0, from examples/cpp_classification/classification.cpp:38: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/caffe.hpp:47:0, from examples/cpp_classification/classification.cpp:38: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/caffe.hpp:47:0, from examples/cpp_classification/classification.cpp:38: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ make: *** [.build_release/examples/cpp_classification/classification.o] Error 1 In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/caffe.hpp:44, from tools/caffe.cpp:54: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/caffe.hpp:47, from tools/caffe.cpp:54: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/caffe.hpp:47:0, from tools/caffe.cpp:54: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/caffe.hpp:47:0, from tools/caffe.cpp:54: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/caffe.hpp:47:0, from tools/caffe.cpp:54: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/caffe.hpp:47:0, from tools/caffe.cpp:54: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ In file included from tools/caffe.cpp:62:0: ./include/caffe/multinode/MlslSync.hpp: At global scope: ./include/caffe/multinode/MlslSync.hpp:70:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/multinode/MlslSync.hpp:70:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/multinode/MlslSync.hpp: In member function ‘void caffe::MlslSync::synchronize_params()’: ./include/caffe/multinode/MlslSync.hpp:129:79: error: ‘MLSL’ has not been declared size_t size_to_alloc = net_params[idx]->count() * sizeof(Dtype) * MLSL::GetNumNodes(); ^ ./include/caffe/multinode/MlslSync.hpp:131:54: error: ‘MLSL’ has not been declared Dtype* buf = (is_root) ? (Dtype*)(Dtype*)MLSL::Alloc(size_to_alloc, 64) : NULL; ^ ./include/caffe/multinode/MlslSync.hpp:144:51: error: ‘MLSL’ has not been declared for (int node_idx = 0; node_idx < MLSL::GetNumNodes(); node_idx++) { ^ ./include/caffe/multinode/MlslSync.hpp:164:17: error: ‘MLSL’ has not been declared MLSL::Free(buf); ^ In file included from tools/caffe.cpp:62:0: ./include/caffe/multinode/MlslSync.hpp: In member function ‘void caffe::MlslSync::on_forward_start(int)’: ./include/caffe/multinode/MlslSync.hpp:300:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap *fm = layer->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/multinode/MlslSync.hpp:300:23: error: ‘fm’ was not declared in this scope FeatureMap *fm = layer->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/multinode/MlslSync.hpp: In member function ‘void caffe::MlslSync::on_forward_finished(int)’: ./include/caffe/multinode/MlslSync.hpp:340:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap *fm = layer->layerOp->OutputFeatureMap(top_id); ^ ./include/caffe/multinode/MlslSync.hpp:340:23: error: ‘fm’ was not declared in this scope FeatureMap *fm = layer->layerOp->OutputFeatureMap(top_id); ^ ./include/caffe/multinode/MlslSync.hpp: In member function ‘void caffe::MlslSync::on_backward_start(int)’: ./include/caffe/multinode/MlslSync.hpp:379:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap *fm = layer->layerOp->OutputFeatureMap(top_id); ^ ./include/caffe/multinode/MlslSync.hpp:379:23: error: ‘fm’ was not declared in this scope FeatureMap *fm = layer->layerOp->OutputFeatureMap(top_id); ^ tools/caffe.cpp: In function ‘int train()’: tools/caffe.cpp:317:7: error: ‘MLSL’ has not been declared if (MLSL::GetNumNodes() > 1) { ^ In file included from tools/caffe.cpp:616:0: ./include/caffe/util/compareToolUtilities.h: In function ‘bool compareDataWithFileData(const char*, const float*, double*, unsigned int*, const char*)’: ./include/caffe/util/compareToolUtilities.h:237:50: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *reinterpret_cast (&a), ^ ./include/caffe/util/compareToolUtilities.h:238:50: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *reinterpret_cast (&b), diff, a, b); ^ make: *** [.build_release/tools/caffe.o] Error 1 In file included from ./include/caffe/blob.hpp:47:0, from ./include/caffe/caffe.hpp:44, from examples/ssd/ssd_detect.cpp:52: ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeMallocHost(void**, size_t, bool*)’: ./include/caffe/syncedmem.hpp:72:10: error: ‘MLSL’ has not been declared *ptr = MLSL::Alloc(size ? size : 1, 64); ^ ./include/caffe/syncedmem.hpp: In function ‘void caffe::CaffeFreeHost(void*, bool)’: ./include/caffe/syncedmem.hpp:96:3: error: ‘MLSL’ has not been declared MLSL::Free(ptr); ^ In file included from ./include/caffe/layer.hpp:53:0, from ./include/caffe/caffe.hpp:47, from examples/ssd/ssd_detect.cpp:52: ./include/caffe/internode/mlsl_util.hpp: At global scope: ./include/caffe/internode/mlsl_util.hpp:48:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *data_parallelism; ^ ./include/caffe/internode/mlsl_util.hpp:49:8: error: ‘MLSL’ does not name a type extern MLSL::Distribution *model_parallelism; ^ In file included from ./include/caffe/caffe.hpp:47:0, from examples/ssd/ssd_detect.cpp:52: ./include/caffe/layer.hpp:54:17: error: ‘MLSL’ is not a namespace-name using namespace MLSL; ^ ./include/caffe/layer.hpp:54:21: error: expected namespace-name before ‘;’ token using namespace MLSL; ^ ./include/caffe/layer.hpp:144:2: error: ‘MLSL’ does not name a type MLSL::ComputeOp *layerOp; ^ ./include/caffe/layer.hpp:145:9: error: ‘MLSL’ was not declared in this scope vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 1 is invalid vector prevLayerOps; ^ ./include/caffe/layer.hpp:145:25: error: template argument 2 is invalid ./include/caffe/layer.hpp:185:28: error: ‘MLSL’ has not been declared virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:185:45: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void pack_buffer(MLSL::FeatureMap *fm, Dtype *to, const Dtype *from) { ^ ./include/caffe/layer.hpp:204:30: error: ‘MLSL’ has not been declared virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ ./include/caffe/layer.hpp:204:47: error: expected ‘,’ or ‘...’ before ‘*’ token virtual void unpack_buffer(MLSL::FeatureMap *fm, const Dtype *from, Dtype *to) { ^ In file included from ./include/caffe/caffe.hpp:47:0, from examples/ssd/ssd_detect.cpp:52: ./include/caffe/layer.hpp:337:11: error: ‘MLSL’ does not name a type virtual MLSL::OpType getLayerTypeId(std::string const& layerType) { ^ In file included from ./include/caffe/caffe.hpp:47:0, from examples/ssd/ssd_detect.cpp:52: ./include/caffe/layer.hpp: In member function ‘void caffe::Layer::on_delinp_ready(const std::vector&)’: ./include/caffe/layer.hpp:172:11: error: ‘FeatureMap’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp:172:23: error: ‘fm’ was not declared in this scope FeatureMap* fm = this->layerOp->InputFeatureMap(bottom_id); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::pack_buffer(int)’: ./include/caffe/layer.hpp:186:26: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumPackBlocks(); i++) { ^ ./include/caffe/layer.hpp:187:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:187:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetPackBlock(i); ^ ./include/caffe/layer.hpp:192:31: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) from; ^ ./include/caffe/layer.hpp:193:32: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) (to + bi->BufOffset()); ^ ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::unpack_buffer(int)’: ./include/caffe/layer.hpp:205:25: error: ‘fm’ was not declared in this scope for (int i = 0; i < fm->NumUnpackBlocks(); i++) { ^ ./include/caffe/layer.hpp:206:9: error: ‘BlockInfo’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:206:21: error: ‘bi’ was not declared in this scope BlockInfo * bi = fm->GetUnpackBlock(i); ^ ./include/caffe/layer.hpp:211:31: error: ‘to’ was not declared in this scope Dtype *dst = (Dtype*) to; ^ ./include/caffe/layer.hpp:212:32: error: ‘from’ was not declared in this scope Dtype *src = (Dtype*) (from + bi->BufOffset()); ^ In file included from ./include/caffe/caffe.hpp:47:0, from examples/ssd/ssd_detect.cpp:52: ./include/caffe/layer.hpp: In member function ‘virtual void caffe::Layer::SetUpMLSL(const std::vector*>&, const std::vector*>&)’: ./include/caffe/layer.hpp:355:4: error: ‘DataType’ was not declared in this scope DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:355:13: error: expected ‘;’ before ‘dt’ DataType dt = (sizeof(Dtype) == 4)? DT_FLOAT : DT_DOUBLE; ^ ./include/caffe/layer.hpp:356:4: error: ‘ComputeOpRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:356:22: error: ‘myRegInfo’ was not declared in this scope ComputeOpRegInfo *myRegInfo; ^ ./include/caffe/layer.hpp:357:20: error: expected type-specifier before ‘ComputeOpRegInfo’ myRegInfo = new ComputeOpRegInfo(getLayerTypeId(this->layer_param_.type())); ^ ./include/caffe/layer.hpp:357:20: error: expected ‘;’ before ‘ComputeOpRegInfo’ ./include/caffe/layer.hpp:365:44: error: ‘dt’ was not declared in this scope myRegInfo->AddInputFeatureMap(ic, iw*ih, dt); ^ ./include/caffe/layer.hpp:372:45: error: ‘dt’ was not declared in this scope myRegInfo->AddOutputFeatureMap(oc, ow*oh, dt); ^ ./include/caffe/layer.hpp:376:24: error: expected type-specifier before ‘ComputeOp’ this->layerOp = new ComputeOp(myRegInfo, caffe::internode::data_parallelism); ^ ./include/caffe/layer.hpp:376:24: error: expected ‘;’ before ‘ComputeOp’ make: *** [.build_release/examples/ssd/ssd_detect.o] Error 1 make: Target `all' not remade because of errors.