Hi there, quick question about choosing the gpu i want to be my open cl device..
i have a GTX1080 in slot 1 with no displays and a 970 in slot 2 and it handles both my displays. Id like to use the 1080 for open CL.
Is this the correct command to add to my env file?
HOUDINI_OCL_DEVICENUMBER = 1
Thanks in advance
Setting Open CL device
12476 12 2- cybernetix
- Member
- 22 posts
- Joined: Sept. 2015
- Offline
- anon_user_37409885
- Member
- 4189 posts
- Joined: June 2012
- Offline
- cybernetix
- Member
- 22 posts
- Joined: Sept. 2015
- Offline
- illusionistics
- Member
- 46 posts
- Joined: Oct. 2015
- Offline
hey, did it work with the “_DEVICENUMBER” in your case? When trying it I get
an “incorrect device number” exception in Houdini -
could you perhaps hint me on how to switch the buses instead of the slots?
(Got this crappy optimus notebook and it defaults to the intelHD as openCL device
on Win - while on Linux (same device, employing bumblebee) the nvidia card
is used for both (GL/CL), as desired + it´s about twice as fast.
Would love to get this working on Win too…),
thnx + cheers!
an “incorrect device number” exception in Houdini -
could you perhaps hint me on how to switch the buses instead of the slots?
(Got this crappy optimus notebook and it defaults to the intelHD as openCL device
on Win - while on Linux (same device, employing bumblebee) the nvidia card
is used for both (GL/CL), as desired + it´s about twice as fast.
Would love to get this working on Win too…),
thnx + cheers!
…just
…evolving
…evolving
- cybernetix
- Member
- 22 posts
- Joined: Sept. 2015
- Offline
illusionistics
hey, did it work with the “_DEVICENUMBER” in your case? When trying it I get
an “incorrect device number” exception in Houdini -
could you perhaps hint me on how to switch the buses instead of the slots?
(Got this crappy optimus notebook and it defaults to the intelHD as openCL device
on Win - while on Linux (same device, employing bumblebee) the nvidia card
is used for both (GL/CL), as desired + it´s about twice as fast.
Would love to get this working on Win too…),
thnx + cheers!
Hi yes - HOUDINI_OCL_DEVICENUMBER = 0
worked perfectly for me
As Artye says: go to: help>about houdini>show details - to check and then try either 0 or 1 as device number.
Edited by cybernetix - Feb. 21, 2017 09:33:35
- illusionistics
- Member
- 46 posts
- Joined: Oct. 2015
- Offline
- anon_user_37409885
- Member
- 4189 posts
- Joined: June 2012
- Offline
- nisachar
- Member
- 83 posts
- Joined: Feb. 2016
- Offline
- johner
- Staff
- 823 posts
- Joined: July 2006
- Offline
- nisachar
- Member
- 83 posts
- Joined: Feb. 2016
- Offline
johner
You can also try the hgpuinfo command-line tool for diagnosing these issues faster than the about box.will list the current opencl device chosenhgpuinfo -c
It is showing the IRISpro as the Opencl Device ( On a Retina MacBook pro )
How do I change it to Nvidia ?
EDIT : Nevermind, got it. Many of these things need to be GUI based.
Feel like I am cheating in a need for speed LAN game by changing the config file ;D
Edited by nisachar - Feb. 21, 2017 21:03:35
- zengchen
- Member
- 77 posts
- Joined: Feb. 2017
- Offline
- Luxtrus
- Member
- 2 posts
- Joined: Oct. 2018
- Offline
Hi, can someone help me with it please? I got an error:
“OpenCL Context error: CL_MEM_OBJECT_ALLOCATION_FAILURE error executing CL_COMMAND_WRITE_BUFFER on GeForce RTX 2080 (Device 0).
OpenCL Exception: clEnqueueWrite
OpenCL Exception: Integer overflow building index for packed array attribute. (-4)
OpenCL Exception: Integer overflow building index for packed array attribute.”
I have no idea how to solve this when I'm using water sim and whitewater sim. I'm new to Houdini.
Thank you guys.
“OpenCL Context error: CL_MEM_OBJECT_ALLOCATION_FAILURE error executing CL_COMMAND_WRITE_BUFFER on GeForce RTX 2080 (Device 0).
OpenCL Exception: clEnqueueWrite
OpenCL Exception: Integer overflow building index for packed array attribute. (-4)
OpenCL Exception: Integer overflow building index for packed array attribute.”
I have no idea how to solve this when I'm using water sim and whitewater sim. I'm new to Houdini.
Thank you guys.
- Karlis Stigis
- Member
- 5 posts
- Joined: Jan. 2015
- Offline
-
- Quick Links