Comments (2)
Thank you for raising this issue, it is not one that I have come across before.
Is the bug repeatable or not?
Passing -a STEREO_SGBM
as the algorithm makes the program use the OpenCV stereosgbm functions. This version does not have thread control or an explicit opencl implementation (stereosgbm may still use the GPU, through the TAPI, depending on how you have installed OpenCV).
I am working on an improved OpenCL implementation of the CVF at the moment, to solve the CL_OUT_OF_RESOURCES error and improve the execution time.
You shouldn't need to run with sudo. This may be just be masking the same problem and causing the program to crash. By using sudo you are just giving it permission to allocate memory where it shouldn't.
However, I can say for certain whetehr this is the source of the bug,
In the meantime, you can hard code the construction of sm to only use the pthread functions by passing 0 to the gotOpenCLDev field: StereoMatch *sm = new StereoMatch(argc, argv, 0);
This will stop the OpenCL compiler and OpenCL functions from being run.
from primestereomatch.
Thanks for replying.
No difference without sudo. I reinstalled ubuntu (for another reason) and same error came up no CL_OUT_OF_RESOURCES this time, however:
1-Passing -a STEREO_SGBM gave the same error. (without sudo)
2-Passing -a STEREO_GIF gave the same things plus the ones pasted below: (without sudo)
HCI: Error threshold set to 4.
Here
Here
Here
Here
OpenCL error: CL_INVALID_COMMAND_QUEUE
Failed waiting for kernel execution to finish. /media/mohammad/E/NewVolume/STEREO/PRiMEStereoMatch/src/CVF_cl.cpp:312
Segmentation fault (core dumped)
from primestereomatch.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from primestereomatch.