# \_\_device\_\_ function parameter?

**URL:** <https://forums.developer.nvidia.com/t/device-function-parameter/7960>\
**Category:** CUDA Programming and Performance\
**Created:** [February 23, 2009, 9:59pm UTC](https://forums.developer.nvidia.com/t/device-function-parameter/7960 "2009-02-23T21:59:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kmlhy](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@kmlhy](https://forums.developer.nvidia.com/u/kmlhy)\
**Post date:** [February 23, 2009, 9:59pm UTC](https://forums.developer.nvidia.com/t/device-function-parameter/7960/1 "2009-02-23T21:59:26Z")

</div>

**global** function parameters are passed via shared memory to the device.

I wonder memory which **device** function parameters are passed via.

---

<div class="post-metadata">

**Author:** ![tmurray](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@tmurray](https://forums.developer.nvidia.com/u/tmurray)\
**Post date:** [February 23, 2009, 11:21pm UTC](https://forums.developer.nvidia.com/t/device-function-parameter/7960/2 "2009-02-23T23:21:20Z")

</div>

**device** functions are always inlined.
