Can I use GPU?
-
But this is outdated information. Now standard OpenCL. In QT does not have the required functions?
@Mikee said in Can I use GPU in QT?:
OpenCL
Nope, Qt does not contain that library.
But you can use it like in any C++ program.And it has QThread to use CPU multithreaded.
-
@VRonin
why did you delete your post?
Just out of curiosity what was wrong with the CUDA reference?
i see -
-
-
No need to use
QThread
when you want to run the same function on the GPU and CPU: you can use OpenCL for both (if it's supported on your system, ofc). -
No need to use
QThread
when you want to run the same function on the GPU and CPU: you can use OpenCL for both (if it's supported on your system, ofc). -
@Mikee Has nothing to do with Qt. Qt is only yet another C++ framework (although a quite big one). Just google "opencl tutorial c++".
-
@Mikee I never used OpenCL but did what @Wieland suggested: entered "opencl tutorial c++" in Google and the first match is:
http://simpleopencl.blogspot.de/2013/06/tutorial-simple-start-with-opencl-and-c.htmlOn which platform are you?
-
@Mikee said in Can I use GPU?:
On Qt.
Qt is just a set of C++ libraries; not a platform, not a programming language.
OpenCV will use CPU and GPU ?
Is that a typo or do you really mean OpenCV?
Anyway: the question is completely off-topic (not related to our framework). please use google search.