Selecting a GPU to run Cula Sparse on

General CULA Sparse support and troubleshooting. Use this forum if you are having a general problem or have encountered a bug.

Selecting a GPU to run Cula Sparse on

Postby reilya » Thu Jul 30, 2015 5:30 pm


I am having trouble selecting the device on which to run Cula Sparse on. I have two identical GPUs on my node. I have tried to set deviceId=1 in the PlatformOptions to tell the code to use the second GPU, but no matter what I do Cula Sparse seems to want to use the first one.

When I try to use the CudaPlatform in the plan, it runs correctly in the first GPU (even though I wanted to use the second one). When I use the CudaDevicePlatform the solver fails before it starts because the matrices have been correctly allocated in the second GPU, but the solver tries to run in the first one.

Is there anything else I need to set to select the GPU?

Any help is appreciated
Posts: 1
Joined: Thu Sep 02, 2010 11:13 am

Return to CULA Sparse Support

Who is online

Users browsing this forum: No registered users and 1 guest