OpenCV4.3.0 build with OpenCL

asked 2020-05-14 04:09:06 -0600

updated 2020-05-14 08:01:04 -0600

berak gravatar image

Hi all , I built OpenCV4.3.0 with OpenCL , NEON and set the TBB, openmp on , I tried the built opencv in two ways . I: I tested it on the real phone which could support LibOpencl.so ,and found that OpenCV with OpenCL was slower than without OpenCL. II: I tested it on the Android Studio AVD(the AVD phone whihich is not support libOpencL.so ,the info is as bellow ) , found that OpenCV with OpenCL is faster more than without OpenCL.

I confused with them ,could anyone help me ,thanks a lot.

the AVD info:


Name: fourmi CPU/ABI: Google Play Intel Atom (x86) Path: C:\Users\fourmigao\.android\avd\fourmi.avd Target: google_apis_playstore [Google Play] (API level R) Skin: pixel_2 SD Card: 512M fastboot.chosenSnapshotFile: runtime.network.speed: full hw.accelerometer: yes hw.device.name: pixel_2 hw.lcd.width: 1080 image.androidVersion.codename: R hw.initialOrientation: Portrait image.androidVersion.api: 29 tag.id: google_apis_playstore hw.mainKeys: no hw.camera.front: emulated avd.ini.displayname: fourmi hw.gpu.mode: auto hw.ramSize: 1536 PlayStore.enabled: true fastboot.forceColdBoot: no hw.cpu.ncore: 4 hw.keyboard: yes hw.sensors.proximity: yes hw.dPad: no hw.lcd.height: 1920 vm.heapSize: 256 skin.dynamic: yes hw.device.manufacturer: Google hw.gps: yes hw.audioInput: yes image.sysdir.1: system-images\android-R\google_apis_playstore\x86\ showDeviceFrame: yes hw.camera.back: virtualscene AvdId: fourmi hw.lcd.density: 420 hw.arc: false hw.device.hash2: MD5:55acbc835978f326788ed66a5cd4c9a7 fastboot.forceChosenSnapshotBoot: no fastboot.forceFastBoot: yes hw.trackBall: no hw.battery: yes hw.sdCard: yes tag.display: Google Play runtime.network.latency: none disk.dataPartition.size: 6442450944 hw.sensors.orientation: yes avd.ini.encoding: UTF-8 hw.gpu.enabled: yes

edit retag flag offensive close merge delete