Welcome to od|forum

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

Sign in to follow this  
Followers 0
angelous4x

enabling all avialiable GPU for openCL

Hi all, 

is it possible or a way to enable all my GPUs for OpenCL?

i have 3x titan-x and a quadro m4000 total of 4 cards. 

 

thanks

Share this post


Link to post
Share on other sites

Unless things have changed recently you can use only one device. Though you can load other instances of Houdini with different OpenCL devices and run them concurrently working on different simulations. See the documentation for the environment variable to define the device to use.

1 person likes this

Share this post


Link to post
Share on other sites

You can use the slicing method to distribute it on 2 gpus, but You have to set it up on Your own. just launch every batch for sim with a differen GPUDEVICE variable

1 person likes this

Share this post


Link to post
Share on other sites

thanks guys (epic beard Luke)

@luke

I might change my main device to a non-used on used one. could I change my gpu device variable within the text port or it has to be in the environment variables file?

@Martin

is there a tutorial that I can do the slicing method to distribute on gpus? I am still a total peon, and getting a slow grasp on Houdini. 

 

thanks

Share this post


Link to post
Share on other sites

I've only heard of env var 'HOUDINI_OCL_DEVICENUMBER' for changing the GPU device

 

HOUDINI_OCL_DEVICENUMBER
    In the case of multiple OpenCL devices existing of the type specified by
    HOUDINI_OCL_DEVICETYPE, this variable selects which of these devices to
    use for OpenCL processing.  For example, with a computer with more than
    one GPU this allows selection of a GPU other than the default for OpenCL.

 

1 person likes this

Share this post


Link to post
Share on other sites
3 hours ago, angelous4x said:

I might change my main device to a non-used on used one. could I change my gpu device variable within the text port or it has to be in the environment variables file?

Open a terminal, set the variable, then launch the Houdini instance. Exactly how you do this depends on the platform you're using.

1 person likes this

Share this post


Link to post
Share on other sites

thank you, i got it as my main device now HOUDINI _OCL_DEVICENUMBER = 3,  but when I get an error it says device 0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0