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 -
wrote on 23 Nov 2017, 06:39 last edited by
-
@Mikee no
-
@Mikee No, but you can use
OpenCL & QThread
, and combine those two. QThread to use all of your cpu, OpenCL to use all of your GPU.Just make sure your cooling is adequate.
-
wrote on 23 Nov 2017, 08:09 last edited by
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).wrote on 23 Nov 2017, 08:37 last edited by@Wieland How can I add a function from OpenCL in QT?
-
wrote on 23 Nov 2017, 08:42 last edited by A Former User
@Mikee Has nothing to do with Qt. Qt is only yet another C++ framework (although a quite big one). Just google "opencl tutorial c++".
-
wrote on 24 Nov 2017, 10:34 last edited by
Maybe you know where I can download OpenCL ?
-
@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?
-
wrote on 25 Nov 2017, 16:30 last edited by
On Qt.
OpenCV will use CPU and GPU? -
wrote on 25 Nov 2017, 19:50 last edited by
@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.
15/17