Only Using GPU when in XPU mode?

   1570   3   1
User Avatar
Member
8 posts
Joined: 7月 2018
Online
Recently I am trying to use a multi-GPU render farm for Karma. However that machine is for GPU render, which is not supposed to let CPU run full speed all time. So I am thinking of is there a place that I can only let GPU render at XPU mode?
I guess probably the SideFX developed Karma XPU in a way that cpu and gpu are deeply working together? Or has anyone meet the similar issue?
Thank you!
Edited by Boning - 2023年1月9日 16:42:44
User Avatar
Member
160 posts
Joined: 2月 2016
Offline
Here is a way, its all in the environment variables
https://www.sidefx.com/forum/topic/87885/?page=1#post-379392 [www.sidefx.com]
User Avatar
Member
710 posts
Joined: 7月 2005
Online
From the docs here: https://www.sidefx.com/docs/houdini/solaris/karma_xpu.html [www.sidefx.com]

KARMA_XPU_DISABLE_EMBREE_DEVICE
If this env var is set, Karma XPU will not use any Embree CPU devices.

So it sounds like you can set this variable to 1 in your houdini.env or system environment and it should no longer bother with the CPU.

-Edit: AslakKS beat me to it
Edited by Siavash Tehrani - 2023年1月9日 17:07:40
User Avatar
Member
8 posts
Joined: 7月 2018
Online
That works! Thank you AslakKS and Siavash!
  • Quick Links