# Notes on GPU Programming with Julia

**URL:** <https://discourse.julialang.org/t/notes-on-gpu-programming-with-julia/40678>\
**Category:** Teaching & Outreach\
**Created:** [June 3, 2020, 3:04pm UTC](https://discourse.julialang.org/t/notes-on-gpu-programming-with-julia/40678 "2020-06-03T15:04:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![eaubanel](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/eaubanel/32/13327_2.png) [@eaubanel](https://discourse.julialang.org/u/eaubanel)\
**Post date:** [June 3, 2020, 3:04pm UTC](https://discourse.julialang.org/t/notes-on-gpu-programming-with-julia/40678/1 "2020-06-03T15:04:12Z")

</div>

I’m planning to use Julia as the language in my intro to parallel computing course next year. My personal favorite type of parallel programming is on GPUs, so I’ve started with some notes on [GPU programming with Julia](http://www.cs.unb.ca/~aubanel/JuliaGPUNotes.html), which may be of interest to others.

---

<div class="post-metadata">

**Author:** ![sylvaticus](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sylvaticus/32/203883_2.png) [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Post date:** [June 4, 2020, 3:49pm UTC](https://discourse.julialang.org/t/notes-on-gpu-programming-with-julia/40678/2 "2020-06-04T15:49:49Z")

</div>

I don’t know anything about GPU programming, but… your linked document seems much more complex than GPU programming with Python, like on these posts: [1](https://www.geeksforgeeks.org/running-python-script-on-gpu/),[2](https://weeraman.com/put-that-gpu-to-good-use-with-python-e5a437168c01),[3](https://github.com/ContinuumIO/gtc2017-numba/blob/master/2%20-%20CUDA%20Basics.ipynb) or [4](https://linuxhint.com/gpu-programming-python/)

Is there any easy/practical tutorial for GPU programming in Julia for those that know nothing about CS ?

---

<div class="post-metadata">

**Author:** ![eaubanel](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/eaubanel/32/13327_2.png) [@eaubanel](https://discourse.julialang.org/u/eaubanel)\
**Post date:** [June 5, 2020, 12:30pm UTC](https://discourse.julialang.org/t/notes-on-gpu-programming-with-julia/40678/3 "2020-06-05T12:30:09Z")

</div>

Yes, I do assume a CS background. Have you looked at the [`CUDA.jl` introduction](https://juliagpu.gitlab.io/CUDA.jl/tutorials/introduction/)? I’d suggest starting with `CuArray`s. They key is to have enough work to keep many GPU threads busy, and to use Julia’s dot notation. A good way to learn is to explore on your own.
