I can use cudaSetDevice from a program just fine. But I am developing a shared library and it doesn’t seem to work when I use it inside a lib. Is there a way to do that?
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Define Which Device Code Runs on | 4 | 1482 | August 13, 2009 | |
| How to hook cudaSetDevice by dynamically link (i.e use cudart.so)? | 0 | 496 | April 10, 2019 | |
| PROBLEMS (probably minor) | 3 | 5154 | August 29, 2008 | |
| cudaSetDevice bug? | 1 | 828 | November 15, 2010 | |
| Quick Question on cudaSetDevice()? It does not work in my case. | 5 | 12000 | November 20, 2009 | |
| cudaSetDevice switch to different thread? | 2 | 3302 | April 16, 2008 | |
| cudasetdevice no effect cudasetdevice question | 6 | 6216 | May 5, 2011 | |
| A question about using cudaSetDevice | 4 | 9453 | November 2, 2011 | |
| Help: A problem with cudaSetDevice() | 6 | 1951 | April 3, 2010 | |
| Sharing GPUs on multi-gpu, multiuser systems When cudaSetDevice() goes bad. | 5 | 4624 | March 17, 2009 |