magma_cgesv w/ multiple GPU box

Open discussion for MAGMA

magma_cgesv w/ multiple GPU box

Postby mh1 » Thu Mar 14, 2013 4:42 pm

I have successfully download and integrated Magma 1.3. I am currently using magma_cgesv in one part of my application.

I have a machine with multiple GPU's. Will magma_cgesv automatically utilizes both of those GPU's? If not, how do I tell it which one to use (cudaSetDevice)?

Thank You
mh1
 
Posts: 11
Joined: Thu Mar 14, 2013 4:24 pm

Re: magma_cgesv w/ multiple GPU box

Postby mgates3 » Fri Mar 15, 2013 3:48 pm

You need to set the environment variable MAGMA_NUM_GPUS to the number that you want to use. E.g.:

setenv MAGMA_NUM_GPUS 2
./testing_cgesv

-mark
mgates3
 
Posts: 409
Joined: Fri Jan 06, 2012 2:13 pm


Return to User discussion

Who is online

Users browsing this forum: No registered users and 1 guest