The CUDA driver API supports multiple threads using the same context. The CUDA driver API is thread safe with certain exceptions around graph usage. You may still hit a memory limit at some point.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Questions about multiple CPU threads on a single device Multiple context? | 1 | 3346 | September 4, 2009 | |
| Limit to the number of contexts created? | 2 | 3343 | July 17, 2009 | |
| questions memory allocation and CUDA contexts | 7 | 11315 | February 4, 2008 | |
| CUDA,Context and Threading | 6 | 19659 | May 29, 2012 | |
| Contexts and cudaMallocHost Same rules? | 17 | 11271 | November 15, 2008 | |
| How to share GPU memory from different host threads? | 6 | 2345 | July 14, 2010 | |
| Predictable? how much device memory per device context creation. | 6 | 1920 | March 31, 2016 | |
| Bound multiple host threads to the same context? | 3 | 1947 | September 26, 2017 | |
| Support for multi-threaded apps on cuda and multiple applications on cuda | 13 | 12782 | January 24, 2011 | |
| Is there a maximum number of contexts per GPU encoded into the driver? | 4 | 3127 | February 17, 2018 |