# Make 'mut' keyword work for GPU function parameters

**URL:** <https://forum.modular.com/t/make-mut-keyword-work-for-gpu-function-parameters/2812>\
**Category:** General\
**Tags:** gpu, gpu\_puzzle\
**Created:** [March 6, 2026, 6:58am UTC](https://forum.modular.com/t/make-mut-keyword-work-for-gpu-function-parameters/2812 "2026-03-06T06:58:32Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![laranzu](https://sea1.discourse-cdn.com/flex001/user_avatar/forum.modular.com/laranzu/32/724_2.png) [@laranzu](https://forum.modular.com/u/laranzu)\
**Post date:** [March 7, 2026, 11:42pm UTC](https://forum.modular.com/t/make-mut-keyword-work-for-gpu-function-parameters/2812/3 "2026-03-07T23:42:37Z")

</div>

Yes, it’s the difference between `const T *`and `T const *` in C or C++.

My point is that as a Python developer coming to Mojo, it’s not a distinction I care about, or even want to know about. In Mojo on the CPU, prefixing a parameter with `mut` means I can assign to it. I expect the same behaviour for GPU code.

---

_[View the full topic](https://forum.modular.com/t/make-mut-keyword-work-for-gpu-function-parameters/2812)._
