arthurhi
arthurhi
i use -mkl=parallel in Makefile to call mkl cblas_xx interfaces. and i use -lmkldnn to call mkldnn interfaces.
int32 CONV_forward(BLOB_S_T *p_stru_src, BLOB_S_T *p_stru_dest, BLOB_S_T *p_stru_kernel, BLOB_S_T *p_stru_bias, CONV_PARA * p_stru_conv_para, bool is_1x1) { mkldnn_engine_t engine; //create engine CHECK(mkldnn_engine_create(&engine, mkldnn_cpu, 0 /* idx */)); mkldnn_primitive_t conv_user_src_memory, conv_user_weights_memory, conv_user_bias_memory; /*...
thanks a lot. now i fix the bug which you adviced. and it can works better than c code. but it is slower than -mkl=parallel. is it the fact? have...
thanks a lot. and i try it in my new code. int32 LENET_inference_mkldnn(LENET_HANDLE *p_lenet) { LENET_CONV_CONFIG *p_stru_conv_config = NULL; mkldnn_engine_t engine; //create engine CHECK(mkldnn_engine_create(&engine, mkldnn_cpu, 0 /* idx */)); /*******************************************conv1**************************************************/...
it seems inner product is too slow, i dont know why
when i run this: MKLDNN_VERBOSE=2 ./benchdnn --ip mb1ic50ih4iw4oc500 it is really cost 1.32715 ms. it is too long . and it use gemm:blas, not ,jit:avx2. can you give me some...
thank you very much. now i do the operation what you adviced. and now it really works well. good job! thank you .now my follows: create all the primitives, memory,...
thanks a lot. you are right! C3734 use sse ,and i5-6200 use AVX2.
i use icc to compile mkl-dnn.
thanks. now i can get max thread numbers 8 from omp_get_max_threads() interface. and my board has 8 cores, so it means less than 8 threads when implementing. and how can...