# Compiling CUDA code with Cxx.jl

**URL:** https://discourse.julialang.org/t/compiling-cuda-code-with-cxx-jl/28382
**Category:** General Usage
**Tags:** cxx
**Created:** [September 4, 2019, 5:57pm UTC](https://discourse.julialang.org/t/compiling-cuda-code-with-cxx-jl/28382 "2019-09-04T17:57:45Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Qiyamah](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/qiyamah/32/2660_2.png) [@Qiyamah](https://discourse.julialang.org/u/Qiyamah)
#### Post date: [September 4, 2019, 5:57pm UTC](https://discourse.julialang.org/t/compiling-cuda-code-with-cxx-jl/28382/1 "2019-09-04T17:57:45Z")

</div>

Hi,  
I was wondering whether there is an example where they compile a CUDA code with Cxx.jl with specific compiler flags.

So my question is actually two fold:

1. how to pass specific compiler flags?
2. how to compile cuda code with Cxx

Thanks
