BOINC distributed computing client 預設是只會用第一個 GPU 進行計算,所以如果要在一個計算專案使用多個 GPU,那就需要在設定檔告訴 client 要用全部的 GPU。

Windows 的 BOINC 設定檔是放在 C:\ProgramData\BOINC\ 下面的 cc_config.xml,但預設是沒有這個檔案的,所以需要 touch 一下然後編輯,加入下列內容:

<cc_config>

<options>

<use_all_gpus>

1

</use_all_gpus>

</options>

</cc_config>

GPUGrid 的官方討論區 Q&A 還建議加上 <report_results_immediately>1</report_results_immediately>,但似乎 v7 之後的 client 本來就會馬上 report,不用再另外設定。

此外,如果要保留哪個 GPU 給系統(或其他軟體),不想要給 BOINC client 用的話,則可以在 <option> 段落內加上下列設定:

<exclude_gpu>

<url>http://www.gpugrid.net</url>

<device_num>0</device_num>

</exclude_gpu>

其中 device_num 編號可以在 BOINC Manager 的 Tools -> Event Log 的頭上看到 CUDA GPU 0 1 2 3 分別是哪張卡。

arrow
arrow
    全站熱搜

    origin2 發表在 痞客邦 留言(0) 人氣()