# Concurrent Kernels

**URL:** <https://forums.developer.nvidia.com/t/concurrent-kernels/18041>\
**Category:** CUDA Programming and Performance\
**Created:** [July 31, 2010, 5:58am UTC](https://forums.developer.nvidia.com/t/concurrent-kernels/18041 "2010-07-31T05:58:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![elbuo](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@elbuo](https://forums.developer.nvidia.com/u/elbuo)\
**Post date:** [July 31, 2010, 5:58am UTC](https://forums.developer.nvidia.com/t/concurrent-kernels/18041/1 "2010-07-31T05:58:12Z")

</div>

Hello :)

I’m currently implementing pthreads to my existing CUDA code. I was wondering cause I’m a little confused. Ever since 3.0 came out we can run concurrent kernels or it’s just for the fermi arch?

I’m running on a GeForce GT 220. I wish to run 6 threads and each of them containing a kernel call. The code runs to a certain point and then crashes.

---

<div class="post-metadata">

**Author:** ![Deus](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Deus](https://forums.developer.nvidia.com/u/Deus)\
**Post date:** [July 31, 2010, 3:09pm UTC](https://forums.developer.nvidia.com/t/concurrent-kernels/18041/2 "2010-07-31T15:09:36Z")

</div>

It is only for Fermi. You must launch the kernels with different streams, not with different threads… :D

---

<div class="post-metadata">

**Author:** ![elbuo](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@elbuo](https://forums.developer.nvidia.com/u/elbuo)\
**Post date:** [July 31, 2010, 6:21pm UTC](https://forums.developer.nvidia.com/t/concurrent-kernels/18041/3 "2010-07-31T18:21:58Z")

</div>

So my approach with pthreads is never going to work?

What do you mean streams?

---

<div class="post-metadata">

**Author:** ![Deus](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Deus](https://forums.developer.nvidia.com/u/Deus)\
**Post date:** [August 1, 2010, 11:21am UTC](https://forums.developer.nvidia.com/t/concurrent-kernels/18041/4 "2010-08-01T11:21:40Z")

</div>

> [@](#):
>
> So my approach with pthreads is never going to work?

I think yes…

> [@](#):
>
> What do you mean streams?

You can read about it in CUDA C Programming Guide Version 3.1.1

Page 37-38 (3.2.7.3 and 3.2.7.5)
