Open IRISZZW opened 3 years ago
MWDT version: R-2021.03 COMMIT: bbbdd0e34abc3e997db4944ca2fb80086664b02a
gmake ROUND_MODE=CONVERGENT TCF_FILE=../../hw/em9d.tcf
cmake --build /SCRATCH2/Watson/mliproject/embarc_mli/obj/arc/examples/example_har_smartphone --target install gmake[1]: Entering directory `/SCRATCH2/Watson/mliproject/embarc_mli/obj/arc/examples/example_har_smartphone' gmake[2]: Entering directory `/SCRATCH2/Watson/mliproject/embarc_mli/obj/arc' gmake[3]: Entering directory `/SCRATCH2/Watson/mliproject/embarc_mli/obj/arc' Scanning dependencies of target mli gmake[3]: Leaving directory `/SCRATCH2/Watson/mliproject/embarc_mli/obj/arc' gmake[3]: Entering directory `/SCRATCH2/Watson/mliproject/embarc_mli/obj/arc' [ 0%] Building CXX object lib/CMakeFiles/mli.dir/src/helpers/src/mli_helpers.cc.o [ 3%] Building CXX object lib/CMakeFiles/mli.dir/src/kernels/diverse/mli_krn_argmax.cc.o [ 6%] Building CXX object lib/CMakeFiles/mli.dir/src/kernels/diverse/mli_krn_permute_fx.cc.o [ 10%] Building CXX object lib/CMakeFiles/mli.dir/src/kernels/eltwise/mli_krn_eltwise_add_fx.cc.o [ 10%] Building CXX object lib/CMakeFiles/mli.dir/src/kernels/eltwise/mli_krn_eltwise_max_fx.cc.o [ 13%] Building CXX object lib/CMakeFiles/mli.dir/src/kernels/eltwise/mli_krn_eltwise_min_fx.cc.o [ 17%] Building CXX object lib/CMakeFiles/mli.dir/src/kernels/eltwise/mli_krn_eltwise_mul_fx.cc.o [ 17%] Building CXX object lib/CMakeFiles/mli.dir/src/kernels/eltwise/mli_krn_eltwise_sub_fx.cc.o [ 20%] Building CXX object lib/CMakeFiles/mli.dir/src/kernels/pooling/mli_krn_avepool_hwc_fx16.cc.o [ 24%] Building CXX object lib/CMakeFiles/mli.dir/src/kernels/pooling/mli_krn_avepool_hwc_fx8.cc.o [ 27%] Building CXX object lib/CMakeFiles/mli.dir/src/kernels/pooling/mli_krn_avepool_hwc_sa8.cc.o [ 27%] Building CXX object lib/CMakeFiles/mli.dir/src/kernels/pooling/mli_krn_maxpool_hwc_fx16.cc.o [ 31%] Building CXX object lib/CMakeFiles/mli.dir/src/kernels/pooling/mli_krn_maxpool_hwc_fx8.cc.o [ 34%] Building CXX object lib/CMakeFiles/mli.dir/src/kernels/pooling/mli_krn_maxpool_hwc_sa8.cc.o [ 34%] Building CXX object lib/CMakeFiles/mli.dir/src/move/mli_mov_api.cc.o [ 37%] Building CXX object lib/CMakeFiles/mli.dir/src/private/src/mli_check.cc.o [ 41%] Building CXX object lib/CMakeFiles/mli.dir/src/private/src/mli_prv_activation_lut.cc.o [ 41%] Building CXX object lib/CMakeFiles/mli.dir/src/kernels/transform/mli_krn_relu_fx.cc.o [ 44%] Building CXX object lib/CMakeFiles/mli.dir/src/kernels/transform/mli_krn_leaky_relu_fx.cc.o [ 48%] Building CXX object lib/CMakeFiles/mli.dir/src/kernels/transform/mli_krn_prelu.cc.o [ 51%] Building CXX object lib/CMakeFiles/mli.dir/src/kernels/transform/mli_krn_sigm_fx.cc.o [ 51%] Building CXX object lib/CMakeFiles/mli.dir/src/kernels/transform/mli_krn_tanh_fx.cc.o [ 55%] Building CXX object lib/CMakeFiles/mli.dir/src/kernels/transform/mli_krn_softmax_fx.cc.o [ 58%] Building CXX object lib/CMakeFiles/mli.dir/src/kernels/transform/mli_krn_l2_normalize.cc.o [ 58%] Building CXX object lib/CMakeFiles/mli.dir/src/kernels/convolution/mli_krn_conv2d_hwcn.cc.o [ 62%] Building CXX object lib/CMakeFiles/mli.dir/src/kernels/convolution/mli_krn_transpose_conv2d_hwcn.cc.o [ 65%] Building CXX object lib/CMakeFiles/mli.dir/src/kernels/convolution/mli_krn_depthwise_conv2d_hwcn.cc.o [ 68%] Building CXX object lib/CMakeFiles/mli.dir/src/kernels/convolution/mli_krn_group_conv2d_hwcn.cc.o [ 68%] Building CXX object lib/CMakeFiles/mli.dir/src/kernels/common/mli_krn_fully_connected.cc.o [ 72%] Building CXX object lib/CMakeFiles/mli.dir/src/kernels/common/mli_krn_rnn_dense.cc.o [ 75%] Building CXX object lib/CMakeFiles/mli.dir/src/kernels/common/mli_krn_lstm_cell.cc.o [ 75%] Building CXX object lib/CMakeFiles/mli.dir/src/kernels/common/mli_krn_gru_cell.cc.o [ 79%] Linking CXX static library ../bin/libmli.a gmake[3]: Leaving directory `/SCRATCH2/Watson/mliproject/embarc_mli/obj/arc' [ 79%] Built target mli gmake[3]: Entering directory `/SCRATCH2/Watson/mliproject/embarc_mli/obj/arc' gmake[3]: Leaving directory `/SCRATCH2/Watson/mliproject/embarc_mli/obj/arc' gmake[3]: Entering directory `/SCRATCH2/Watson/mliproject/embarc_mli/obj/arc' [ 79%] Building C object examples/example_har_smartphone/CMakeFiles/example_har_smartphone.dir/har_smartphone_model.c.o /SCRATCH2/Watson/mliproject/embarc_mli/examples/example_har_smartphone/har_smartphone_model.c:180:6: error: field designator 'mode' does not refer to any field in type 'const mli_rnn_cell_cfg' .mode = RNN_BATCH_TO_BATCH, ^ /SCRATCH2/Watson/mliproject/embarc_mli/examples/example_har_smartphone/har_smartphone_model.c:182:6: error: field designator 'ir_tsr' does not refer to any field in type 'const mli_rnn_cell_cfg' .ir_tsr = &lstm_ir_tensor, ^ /SCRATCH2/Watson/mliproject/embarc_mli/examples/example_har_smartphone/har_smartphone_model.c:206:10: error: field designator 'mode' does not refer to any field in type 'const mli_rnn_cell_cfg' .mode = RNN_BATCH_TO_LAST, ^ /SCRATCH2/Watson/mliproject/embarc_mli/examples/example_har_smartphone/har_smartphone_model.c:208:10: error: field designator 'ir_tsr' does not refer to any field in type 'const mli_rnn_cell_cfg' .ir_tsr = &lstm_ir_tensor, ^ /SCRATCH2/Watson/mliproject/embarc_mli/examples/example_har_smartphone/har_smartphone_model.c:475:55: error: field designator 'mode' does not refer to any field in type 'mli_rnn_cell_cfg' mli_rnn_cell_cfg rnn_cfg = {.act = RNN_ACT_NONE, .mode = RNN_ONE_TO_ONE, .ir_tsr = NULL}; ^ /SCRATCH2/Watson/mliproject/embarc_mli/examples/example_har_smartphone/har_smartphone_model.c:475:79: error: field designator 'ir_tsr' does not refer to any field in type 'mli_rnn_cell_cfg' mli_rnn_cell_cfg rnn_cfg = {.act = RNN_ACT_NONE, .mode = RNN_ONE_TO_ONE, .ir_tsr = NULL}; ^ /SCRATCH2/Watson/mliproject/embarc_mli/examples/example_har_smartphone/har_smartphone_model.c:477:39: error: no member named 'ir_tsr' in 'mli_rnn_cell_cfg' mli_tensor *ir_tensor = lstm_cfg->ir_tsr; ~~~~~~~~ ^ /SCRATCH2/Watson/mliproject/embarc_mli/examples/example_har_smartphone/har_smartphone_model.c:606:37: error: too few arguments to function call, expected 3, have 2 return mli_krn_sigm_fx16(in, out); ~~~~~~~~~~~~~~~~~ ^ /SCRATCH2/Watson/mliproject/embarc_mli/lib/../include/api/mli_kernels_api.h:877:1: note: 'mli_krn_sigm_fx16' declared here mli_status mli_krn_sigm_fx16(const mli_tensor *in, const mli_lut *lut, mli_tensor *out); ^ /SCRATCH2/Watson/mliproject/embarc_mli/examples/example_har_smartphone/har_smartphone_model.c:610:37: error: too few arguments to function call, expected 3, have 2 return mli_krn_tanh_fx16(in, out); ~~~~~~~~~~~~~~~~~ ^ /SCRATCH2/Watson/mliproject/embarc_mli/lib/../include/api/mli_kernels_api.h:896:1: note: 'mli_krn_tanh_fx16' declared here mli_status mli_krn_tanh_fx16(const mli_tensor *in, const mli_lut *lut, mli_tensor *out); ^ /SCRATCH2/Watson/mliproject/embarc_mli/examples/example_har_smartphone/har_smartphone_model.c:701:78: error: too few arguments to function call, expected 10, have 7 return mli_krn_lstm_cell_fx16(in, prev_out, weights, bias, cfg, cell, out); ~~~~~~~~~~~~~~~~~~~~~~ ^ /SCRATCH2/Watson/mliproject/embarc_mli/lib/../include/api/mli_kernels_api.h:626:1: note: 'mli_krn_lstm_cell_fx16' declared here mli_status mli_krn_lstm_cell_fx16( ^ /SCRATCH2/Watson/mliproject/embarc_mli/examples/example_har_smartphone/har_smartphone_model.c:712:69: error: incompatible pointer types passing 'const mli_rnn_cell_cfg *' to parameter of type 'const mli_rnn_cell_cfg_depr *' [-Werror,-Wincompatible-pointer-types] return mli_krn_basic_rnn_cell_fx16(in, prev_out, weights, bias, cfg, out); ^~~ /SCRATCH2/Watson/mliproject/embarc_mli/lib/../include/api/mli_kernels_api.h:772:39: note: passing argument to parameter 'cfg' here const mli_rnn_cell_cfg_depr * cfg, ^ 11 errors generated. gmake[3]: *** [examples/example_har_smartphone/CMakeFiles/example_har_smartphone.dir/har_smartphone_model.c.o] Error 1 gmake[3]: Leaving directory `/SCRATCH2/Watson/mliproject/embarc_mli/obj/arc' gmake[2]: *** [examples/example_har_smartphone/CMakeFiles/example_har_smartphone.dir/all] Error 2 gmake[2]: Leaving directory `/SCRATCH2/Watson/mliproject/embarc_mli/obj/arc' gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory `/SCRATCH2/Watson/mliproject/embarc_mli/obj/arc/examples/example_har_smartphone' gmake: *** [lib] Error 2
Hi @IRISZZW MLI 2.0 is under active development and not yet available for EM processors - as documented in the release notes of 2.0_EA. Please revert to MLI 1.1 release if you need access to MLI for EM. Thanks Jamie
MWDT version: R-2021.03 COMMIT: bbbdd0e34abc3e997db4944ca2fb80086664b02a
gmake ROUND_MODE=CONVERGENT TCF_FILE=../../hw/em9d.tcf