-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi,

On 25/06/2015 19:13, CatDog wrote:
> I have cuda 7.0, AMD APP SDK and clBLAS installed, and the output
> of clinfo is in the last part. My question is how to set
> *platform-id* and *device-id *when I want to use cpu or gpu.
> 
> platform-id = 0, device-id =0 for GPU? platform-id = 1, device-id
> =0 for CPU?

That is correct.

platform-id = 0
device-id = 0

will run on the first device (a GPU) of the first platform (NVIDIA).

platform-id = 1
device-id = 0

will run on the first device (of type CPU) of the second platform (AMD).

Regards, Freddie.
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iQIcBAEBCAAGBQJVjEWBAAoJEJ5wYUFIoPofUCEP/1lGqZ/5VTgQX0JaAc2NbiU1
bDZPPcLNc4lLWNG/D/ZsT3G7rwAqRzalkyMrRTAF7TqmITUMBra+YfmRjQJrqlV/
bAx88HfqOVNigeYfBDbrk1r2PBjD/r3IZFUqNc39lOHwEXHpJHOcgD6bPgR+h0c8
dpYwIT4hvftJk/A4H2LNwY1KMPg5ZuLNqbWxzIodZrrjjVbTZvB2RaBOTG6x64Z0
Z+92P8lxgatlDw8qtzPGBq3CZotC/KqsNk1rfpQjIaXCbxdl5Ur+LGJV5mHIZTdS
JWHeGQWxlkBcUBF1nxidvbDZSeJlZgV7tsRD8igxonbkxsFFlSNlSiDJmKpmwQLX
V3qyNBAUtBuaC+DpCckCk8pO9vPSaDWZ6bVCyqoqkew0Cbr2MNOiMelSqUKYzpK9
77Vo0EQjlhhGRoptchpwJdeBk8WfLVqkcYSu2qiPC2EEKzEfBU9UbpfKqQv/trb3
214AdH2xEtr+zLZUvVKevZWlVMc7V74ZH9L9wgTnzYWIAIVuL/KyNAHBQJ6xHfCs
Q3jO/I2dg1uQNTfOzn8UvtlvsWRTClIlDJSvOnF5HEnttIEegLIRADDW3V0KvAbr
8xgpzJ1DS3hEUIzeP6uS/5SW21vAukDu4x9ilBx8cY5dWldBypkm4u8tkYcEX/o7
sP7FJT2TlKP+0JEGFEno
=Xf+l
-----END PGP SIGNATURE-----

-- 
You received this message because you are subscribed to the Google Groups "PyFR 
Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send an email to [email protected].
Visit this group at http://groups.google.com/group/pyfrmailinglist.
For more options, visit https://groups.google.com/d/optout.

Reply via email to