# Thread local storage is not implemented

**URL:** <https://discourse.julialang.org/t/thread-local-storage-is-not-implemented/46656>\
**Category:** GPU\
**Created:** [September 15, 2020, 7:11pm UTC](https://discourse.julialang.org/t/thread-local-storage-is-not-implemented/46656 "2020-09-15T19:11:09Z")\
**Posts on this page:** 1\
**Showing post:** 5

<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:** [February 22, 2021, 12:53pm UTC](https://discourse.julialang.org/t/thread-local-storage-is-not-implemented/46656/5 "2021-02-22T12:53:50Z")

</div>

StaticArrays are implemented as structs containing tuples, so it’ll be using registers and not PTX’s local memory. You can inspect generated code using `@device_code_ptx`.

---

_[View the full topic](https://discourse.julialang.org/t/thread-local-storage-is-not-implemented/46656)._
