# Feb 25 Invited Talk: Faster and simpler Numba CUDA kernels using CUB and cuda.cooperative

**URL:** <https://numba.discourse.group/t/feb-25-invited-talk-faster-and-simpler-numba-cuda-kernels-using-cub-and-cuda-cooperative/2909>\
**Category:** Announcements\
**Created:** [February 10, 2025, 8:06pm UTC](https://numba.discourse.group/t/feb-25-invited-talk-faster-and-simpler-numba-cuda-kernels-using-cub-and-cuda-cooperative/2909 "2025-02-10T20:06:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sklam](https://yyz2.discourse-cdn.com/free1/user_avatar/numba.discourse.group/sklam/32/9_2.png) [@sklam](https://numba.discourse.group/u/sklam)\
**Post date:** [February 10, 2025, 8:06pm UTC](https://numba.discourse.group/t/feb-25-invited-talk-faster-and-simpler-numba-cuda-kernels-using-cub-and-cuda-cooperative/2909/1 "2025-02-10T20:06:29Z")

</div>

Hello everyone,

On Feb 25, Ashwin Srinath, senior software engineer at Nvidia, will present a talk on `cuda.cooperative`. The talk will take place during the office-hour/dev-meeting time slot. The session will be recorded and published on our Youtube channel at [https://www.youtube.com/@numba\_jit](https://www.youtube.com/@numba_jit). To join live, please see our calendar for instruction: [Numba Dev Meetings](https://calendar.google.com/calendar/embed?src=5rqnddm4gjrdfjm31fsv182epk%40group.calendar.google.com).

Here’s the abstract for the talk:

## Faster and simpler Numba CUDA kernels using CUB and cuda.cooperative

Numba has become the _de facto_ standard tool for writing CUDA kernels in Python, providing easy access to many CUDA features.

However, a key feature set available in CUDA C++ that is missing from Numba CUDA are the generic collectives provided by the [CUB](https://nvidia.github.io/cccl/cub/index.html) library. These enable CUDA C++ developers to easily author complex kernels that are optimized for their specific CUDA architecture.

This presentation will introduce cuda.cooperative, a set of Numba CUDA extensions that bring CUB’s functionality to Numba. I’ll demonstrate how it simplifies writing Numba CUDA kernels for complex algorithms like segmented sorts and scans, reducing hundreds of lines of code to just a few -while achieving up to 2x speedup.

---

<div class="post-metadata">

**Author:** ![sklam](https://yyz2.discourse-cdn.com/free1/user_avatar/numba.discourse.group/sklam/32/9_2.png) [@sklam](https://numba.discourse.group/u/sklam)\
**Post date:** [February 28, 2025, 3:27pm UTC](https://numba.discourse.group/t/feb-25-invited-talk-faster-and-simpler-numba-cuda-kernels-using-cub-and-cuda-cooperative/2909/2 "2025-02-28T15:27:28Z")

</div>

Recording is available at [https://www.youtube.com/watch?v=wpzHDI6eGjY](https://www.youtube.com/watch?v=wpzHDI6eGjY)
