# multiple GPUs with Accelerate

**URL:** <https://forums.developer.nvidia.com/t/multiple-gpus-with-accelerate/131468>\
**Category:** Legacy PGI Compilers (archived)\
**Created:** [November 25, 2009, 1:08pm UTC](https://forums.developer.nvidia.com/t/multiple-gpus-with-accelerate/131468 "2009-11-25T13:08:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tuan](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Tuan](https://forums.developer.nvidia.com/u/Tuan)\
**Post date:** [November 25, 2009, 1:08pm UTC](https://forums.developer.nvidia.com/t/multiple-gpus-with-accelerate/131468/1 "2009-11-25T13:08:24Z")

</div>

Im not sure if Accelerate in Fortran 10 support multiple GPUs automatically.

In both cases, are there any technical resources that I can references?

Thanks,  
Tuan

---

<div class="post-metadata">

**Author:** ![MatColgrove](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/matcolgrove/32/14047_2.png) [@MatColgrove](https://forums.developer.nvidia.com/u/MatColgrove)\
**Post date:** [November 25, 2009, 4:31pm UTC](https://forums.developer.nvidia.com/t/multiple-gpus-with-accelerate/131468/2 "2009-11-25T16:31:59Z")

</div>

Hi Tuan,

Currently NVIDIA only allow a single host thread/process to access a single GPU at a time. So in order to use multiple GPUs, you need to add a higher level of parallelization (OpenMP, MPI, pthreads, etc.).

Things aren’t yet as seem less with OpenMP as we’ed like. So you will need to distribute the work to each thread. Eventually we’ll have the compiler do this for you.

Hope this helps,  
Mat
