haolongzhangm

Results 11 comments of haolongzhangm

issue sames mprop handle sys profiler

@psyhtest any idea for caffe1 opencl on MALI OR Adreno GPU, we run caffe1 with OPENCL on MALI or Adreno GPU with android ENV , we find opencl cost so...

mtk_disable_acl.log ============================ WARNING: Logging before InitGoogleLogging() is written to STDERR I0112 18:18:59.234746 4927 caffe.cpp:288] Use CPU. I0112 18:18:59.248070 4927 net.cpp:296] The NetState phase (1) differed from the phase (0) specified...

mtk_open_acl.log ======================================= WARNING: Logging before InitGoogleLogging() is written to STDERR I0112 18:21:03.084941 4939 caffe.cpp:288] Use CPU. I0112 18:21:03.168365 4939 net.cpp:296] The NetState phase (1) differed from the phase (0) specified...

mtk_disable_acl.log ======================== WARNING: Logging before InitGoogleLogging() is written to STDERR I0112 18:18:59.234746 4927 caffe.cpp:288] Use CPU. I0112 18:18:59.248070 4927 net.cpp:296] The NetState phase (1) differed from the phase (0) specified...

mtk_open_acl.log ====================== WARNING: Logging before InitGoogleLogging() is written to STDERR I0112 18:21:03.084941 4939 caffe.cpp:288] Use CPU. I0112 18:21:03.168365 4939 net.cpp:296] The NetState phase (1) differed from the phase (0) specified...

aarch64-linux-android-clang++ -fsanitize=thread -O0 -fno-omit-frame-pointer -g -pie -fPIE -L/home/zhl/mycode/tmp_aosp_for_tsan/aosp/prebuilts/clang/host/./linux-x86/clang-r349610b/lib64/clang/8.0.9/lib/linux/ -lclang_rt.tsan-aarch64-android main.cc -o android_test_tsan tsan_interceptors.cc:1747: undefined reference to `fileno_unlocked' extern "C" int fileno_unlocked(void *stream); at tsan_interceptors.cc but fileno_unlocked defined in libc: int...

issue same libclang_rt.tsan-aarch64-android.a link a different version of libc with NDK default libc.so? int fileno_unlocked(FILE* __fp) int fileno_unlocked(void *stream) different args ? any idea about this? rebuild NDK?

@DanAlbert @equeim find a tmp solution to run tsan: 1: build tsan.so: aosp: external/compiler-rt/lib/tsan @c3c4d5dcbe329224ae09d0765f185a239a4d73da diff info: idiff --git a/lib/tsan/Android.bp b/lib/tsan/Android.bp index 13eb7da..f897dc4 100644 --- a/lib/tsan/Android.bp +++ b/lib/tsan/Android.bp @@ -141,3...