Closed headupinclouds closed 5 years ago
Should Hunter integrate OpenGL/OpenGL ES? In this way, this makes it easy to cross-compile opengl for arm...
Maybe this is helpful:
https://stackoverflow.com/questions/35561459/compiling-opengl-es-2-0-for-arm-mali-on-ubuntu
If you do get something running please share any notes related to setup.
Should Hunter integrate OpenGL/OpenGL ES?
For most platforms it is a system library, and source isn't available. Which implementation did you have in mind?
This OpenGL ES 2.0 acceleration is fairly low level, and was the lowest common denominator for the platforms I was targeting at the time. Shader only GPGPU processing (and 8 bit precision) can be limiting, and something like Halide or TVM will be more flexible and will support a wider array of platforms. Apple has also mentioned plans to drop support for OpenGL in favor of Metal. With a good ARM GPU, I think lightweight Yolo and SSD detectors might be preferable, although maybe the inherent speed of ACF + gradient boosting is still useful in some contexts for fast region proposal.
Maybe this is helpful:
https://stackoverflow.com/questions/35561459/compiling-opengl-es-2-0-for-arm-mali-on-ubuntu
If you do get something running please share any notes related to setup.
Should Hunter integrate OpenGL/OpenGL ES?
For most platforms it is a system library, and source isn't available. Which implementation did you have in mind?
This OpenGL ES 2.0 acceleration is fairly low level, and was the lowest common denominator for the platforms I was targeting at the time. Shader only GPGPU processing (and 8 bit precision) can be limiting, and something like Halide or TVM will be more flexible and will support a wider array of platforms. Apple has also mentioned plans to drop support for OpenGL in favor of Metal. With a good ARM GPU, I think lightweight Yolo and SSD detectors might be preferable, although maybe the inherent speed of ACF + gradient boosting is still useful in some contexts for fast region proposal.
'For most platforms it is a system library, and source isn't available. Which implementation did you have in mind?' => Yes, mesa (opengl/es) driver is an open source implementation. It may be an option.
A year ago, I tried halide acceleration for opencv, but I didn't go deep into it. Maybe I'll continue my research in the future. Your advice is very timely and comprehensive. I'm just a newcomer. But I'm interested in your development, and I'll probably keep up.If I find anything, I'll ask for your advice again.
Thank you!
Okay, no problem.
polly.py --toolchain linux-gcc-armhf-neon --config-all Release --verbose --install --fwd ACF_BUILD_OGLES_GPGPU=OFF ACF_USE_EGL=OFF ACF_OPENGL_ES2=OFF ACF_OPENGL_ES3=OFF --reconfig
This seems to build fine now w/ CPU only. PR #111 fixes the tests in this configuration. I'm going to close the issue.
I think it will work fine if you get the OpenGL ES 2.0 libs installed for your board. Once you install them you will just need to make sure CMake can find them. You can provide hints with CMAKE_LIBRARY_PATH
and CMAKE_INCLUDE_PATH
. Remember, you will need to do something like what is sketched out in pipeline
in order to see a benefit using that configuration.
Okay, no problem.
polly.py --toolchain linux-gcc-armhf-neon --config-all Release --verbose --install --fwd ACF_BUILD_OGLES_GPGPU=OFF ACF_USE_EGL=OFF ACF_OPENGL_ES2=OFF ACF_OPENGL_ES3=OFF --reconfig
This seems to build fine now w/ CPU only. PR #111 fixes the tests in this configuration. I'm going to close the issue.
I think it will work fine if you get the OpenGL ES 2.0 libs installed for your board. Once you install them you will just need to make sure CMake can find them. You can provide hints with
CMAKE_LIBRARY_PATH
andCMAKE_INCLUDE_PATH
. Remember, you will need to do something like what is sketched out inpipeline
in order to see a benefit using that configuration.
Yes, I have verified it. Great!
Migrated from (2) https://github.com/elucideye/acf/issues/102#issuecomment-487247357