Open madhavajay opened 6 years ago
ok,thanks for testing
@madhavajay @zhy520xp I build this project pass with rcar‘s toolchain ,but the static library libmace.a is about 200M,very huge. is it normal?? meanwhile , I found that the cl files in opencl dir were not shown in makefile , how could It can be called??
(1).my libmace.a is about 12MB..... (2).cl files is written in source file(codegen/opencl/opencl_encrypt_program.cc).
Thank you very much! @zhy520xp
Looks like official support is coming: https://github.com/XiaoMi/mace/issues/36
W ../mace/core/runtime/opencl/opencl_runtime.cc:40] Set GPU configurations, gpu_perf_hint: 3, gpu_priority_hint: 3 =====>>>>>start to CreateMaceEngineFromProto I ../mace/core/mace.cc:337] Create MaceEngine from model pb I ../mace/core/mace.cc:135] Initializing MaceEngine W ../mace/core/runtime/opencl/opencl_wrapper.cc:283] Loading OpenCL from ./opencl_library/libOpenCL.so NOTE: This GSX library has the time limitation by reason of an evaluation module. W ../mace/core/runtime/opencl/opencl_runtime.cc:356] Using device: PowerVR Rogue GX6650 I ../mace/utils/tuner.h:129] There is no tuned parameters. W ../mace/core/runtime/opencl/opencl_runtime.cc:428] There is no precompiled OpenCL binary in all OpenCL binary paths =====>>>>>end to CreateMaceEngineFromProto =====>>>>>Warm up Run Model spend time:9590 ms =====>>>>>Normal Run Model spend time:41 ms
I ../mace/core/mace.cc:194] Destroying MaceEngine
with the huge libmace library ,the running result log of demo is what on above, looks like the framework of Mace is getting work , but the recogize result is null, some place are still wrong!
I am not sure I can help, since I don't know much about this stuff, but does your system have an libOpenCL.so file in its paths? Mine has:
/usr/lib/arm-linux-gnueabihf/libOpenCL.so
Hi, I got it working on: TinkerBoard Rockchip RK3288 Mali-T764 GPU
https://github.com/madhavajay/mace-makefile-project