Thread 'How to allow only specific GPU to use?'

Message boards : BOINC Manager : How to allow only specific GPU to use?
Message board moderation

To post messages, you must log in.

AuthorMessage
Vitalii
New member

Send message
Joined: 11 Dec 25
Posts: 4
Message 117679 - Posted: 11 Dec 2025, 6:18:42 UTC

Hello. I'd like to allow specific GPU(GPU in AMD 7950x), not 3080, to compute.
Is there any settings? Or mb task filter with tasks for AMD GPUs?
ID: 117679 · Report as offensive     Reply Quote
ProfileJord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15756
Netherlands
Message 117680 - Posted: 11 Dec 2025, 11:47:44 UTC - in response to Message 117679.  

With Notepad, make a file called cc_config.xml in your BOINC Data directory (if it not already exists) and add into it:

<cc_config>
<log_flags>
</log_flags>
<options>
<<ignore_cuda_dev>1</ignore_cuda_dev>
</options>
</cc_config>

Save it as cc_config.xml, making sure it doesn't get an added .txt (which Windows likes to do), and make sure it's set to UTF-8 encoding.
After that, exit BOINC completely and restart it.
ID: 117680 · Report as offensive     Reply Quote
computezrmle

Send message
Joined: 2 Feb 22
Posts: 94
Germany
Message 117681 - Posted: 11 Dec 2025, 14:35:36 UTC - in response to Message 117680.  

The system has 1 AMD GPU and 1 NVIDIA GPU, so shouldn't it be
<ignore_nvidia_dev>0</ignore_nvidia_dev>

According to the manual (https://boinc.berkeley.edu/wiki/Client_configuration) it should be <ignore_nvidia_dev> instead of <ignore_cuda_dev>.
The latter is deprecated but still works according to the source code.

Please remove the typo at the beginning of line 5.
'<<ignore...' should be ''<ignore...''.
ID: 117681 · Report as offensive     Reply Quote
ProfileJord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15756
Netherlands
Message 117715 - Posted: 12 Dec 2025, 22:50:39 UTC - in response to Message 117681.  

Well, I can't remove typo's anymore than you can. But you're right, it should've been nvidia instead of cuda.

<cc_config>
<log_flags>
</log_flags>
<options>
<ignore_nvidia_dev>1</ignore_nvidia_dev>
</options>
</cc_config> 
ID: 117715 · Report as offensive     Reply Quote
Vitalii
New member

Send message
Joined: 11 Dec 25
Posts: 4
Message 117730 - Posted: 13 Dec 2025, 19:21:09 UTC

It appears to be good config.
Some tasks ended with computation error :)[/img]
ID: 117730 · Report as offensive     Reply Quote
Vitalii
New member

Send message
Joined: 11 Dec 25
Posts: 4
Message 117743 - Posted: 14 Dec 2025, 9:46:16 UTC

Next day - NVIDIA computations is running...
cc_config.xml:
<cc_config>
<log_flags>
</log_flags>
<options>
<<ignore_cuda_dev>1</ignore_cuda_dev>
</options>
</cc_config>

https://fastpic.org/view/126/2025/1214/04d0a863871fb5a62c19a8c1f6bbfd5c.png.html
ID: 117743 · Report as offensive     Reply Quote
Vitalii
New member

Send message
Joined: 11 Dec 25
Posts: 4
Message 117744 - Posted: 14 Dec 2025, 9:48:40 UTC - in response to Message 117743.  

<cc_config>
<log_flags>
</log_flags>
<options>
<ignore_nvidia_dev>1</ignore_nvidia_dev>
</options>
</cc_config>

Updated info on config.
Still running nvidia
ID: 117744 · Report as offensive     Reply Quote
ProfileJord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15756
Netherlands
Message 117745 - Posted: 14 Dec 2025, 11:18:12 UTC - in response to Message 117744.  

In reply to Vitalii's message of 14 Dec 2025:
Updated info on config.
Still running nvidia

>> After that, exit BOINC completely and restart it.

GPU detection and decisions are made at BOINC client startup. So also make sure that when you exit BOINC Manager, that you select to stop running apps and exit. As it's very much possible to only stop BOINC Manager (the GUI) but continue to run the client. It's the client that needs to be restarted for this to stick.

And double check that cc_config.xml doesn't have an added (but invisible) .txt extension, as Windows likes to hide extensions on everything.
ID: 117745 · Report as offensive     Reply Quote
computezrmle

Send message
Joined: 2 Feb 22
Posts: 94
Germany
Message 117748 - Posted: 14 Dec 2025, 11:52:21 UTC - in response to Message 117744.  

In reply to Vitalii's message of 14 Dec 2025:
<cc_config>
<log_flags>
</log_flags>
<options>
<ignore_nvidia_dev>1</ignore_nvidia_dev>
</options>
</cc_config>

Updated info on config.
Still running nvidia

The BOINC manual page linked in my previous post states this:
"<ignore_nvidia_dev>N</ignore_nvidia_dev>
Ignore (don't use) a specific NVIDIA GPU. You can ignore more than one. Replaces <ignore_cuda_dev/>. Requires a client restart.
Example: <ignore_nvidia_dev>0</ignore_nvidia_dev> will ignore the first NVIDIA GPU in the system."

So, as long as you only have 1 NVIDIA GPU replace your
<ignore_nvidia_dev>1</ignore_nvidia_dev> with
<ignore_nvidia_dev>0</ignore_nvidia_dev>.

And don't forget to restart the BOINC client.
ID: 117748 · Report as offensive     Reply Quote
ProfileJord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15756
Netherlands
Message 117749 - Posted: 14 Dec 2025, 12:04:05 UTC - in response to Message 117748.  

I most def must brush up on my older knowledge of options and logs. Thanks for the second pat on my fingers.
ID: 117749 · Report as offensive     Reply Quote

Message boards : BOINC Manager : How to allow only specific GPU to use?

Copyright © 2025 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.