# Base function in Cuda kernels

**URL:** https://discourse.julialang.org/t/base-function-in-cuda-kernels/21866
**Category:** General Usage
**Tags:** cudanative, cuda
**Created:** [March 14, 2019, 1:55pm UTC](https://discourse.julialang.org/t/base-function-in-cuda-kernels/21866 "2019-03-14T13:55:01Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![ffevotte](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ffevotte/32/6587_2.png) [@ffevotte](https://discourse.julialang.org/u/ffevotte)
#### Post date: [March 14, 2019, 6:09pm UTC](https://discourse.julialang.org/t/base-function-in-cuda-kernels/21866/2 "2019-03-14T18:09:17Z")

</div>

Please quote your code, this will help us help you!

> [@PSA: how to quote code with backticks](https://discourse.julialang.org/t/psa-how-to-quote-code-with-backticks/7530):
>
> This is a short post on how to use backticks (` and ```) to quote code, so it is easy to read. This post can be linked to new users who are confused by this feature. Why By quoting your code, you get a monospaced font (which preserves indentation) and syntax highlighting. This makes it easier to read your code and help you. Displayed code looks like this: function displayed\_code(x::Int, y::Int) if x \< y println("x is smaller") else println("or not") end end Inline…

---

_[View the full topic](https://discourse.julialang.org/t/base-function-in-cuda-kernels/21866)._
