Message boards : GPUs : Cuda or OpenCL?
Message board moderation
Author | Message |
---|---|
Send message Joined: 8 Nov 19 Posts: 718 |
Nvidia RTX/GTX GPUs, on Ubuntu 18.04/19.10: Is installing CUDA beneficial for Boinc, or should I just stay with Nvidia OpenCL from the driver package? |
Send message Joined: 5 Oct 06 Posts: 5133 |
It depends on the project. Some write their applications in CUDA, some write them in Open CL, some write them in both (different applications, obviously). BOINC handles both, so you'd be safest installing both. But I believe there's some doubt about OpenCL compatibility for some drivers at some projects... |
Send message Joined: 8 Nov 19 Posts: 718 |
It depends on the project. Some write their applications in CUDA, some write them in Open CL, some write them in both (different applications, obviously). Will CUDA interfere with OpenCL tasks? I remember folding in the early days of CUDA, and some projects were slowed down on a GPU that was sharing data from a task from another GPU. It wasn't working very efficient back then (on windows). I don't know if in Linux nowadays most of these issues are resolved? |
Send message Joined: 25 May 09 Posts: 1302 |
It all depends on how well the two applications have been written and how they manage memory and other GPU resources - generally they work quite well together but with a slight performance hit over two of the same. |
Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License,
Version 1.2 or any later version published by the Free Software Foundation.