# How do I check which GPU backend I should use

**URL:** <https://discourse.julialang.org/t/how-do-i-check-which-gpu-backend-i-should-use/108108>\
**Category:** General Usage\
**Tags:** gpu\
**Created:** [December 27, 2023, 5:14pm UTC](https://discourse.julialang.org/t/how-do-i-check-which-gpu-backend-i-should-use/108108 "2023-12-27T17:14:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Torkel](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/torkel/32/5030_2.png) [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Post date:** [December 27, 2023, 5:14pm UTC](https://discourse.julialang.org/t/how-do-i-check-which-gpu-backend-i-should-use/108108/1 "2023-12-27T17:14:30Z")

</div>

I want to try some GPU computation (for a tutorial). I use DiffEqGPU, and need to designate a backend of these: CUDA.functional().

Is there a good way (more than installing, compiling, and checking all alternatives) to figure out which one I should use?

(In my case I have an ubuntu 22.04 laptop)

---

<div class="post-metadata">

**Author:** ![maleadt](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/maleadt/32/10097_2.png) [@maleadt](https://discourse.julialang.org/u/maleadt)\
**Post date:** [December 28, 2023, 9:51am UTC](https://discourse.julialang.org/t/how-do-i-check-which-gpu-backend-i-should-use/108108/2 "2023-12-28T09:51:18Z")

</div>

There isn’t yet. We’ve considered creating a meta package that would allow identifying which GPU is available, but that hasn’t been done yet. The answer right now is to generally defer that to the user, and load/enable conditional functionality using package extensions.
