# Automatic GPU Code Generation

**URL:** <https://discourse.llvm.org/t/automatic-gpu-code-generation/50561>\
**Category:** LLVM Dev List Archives\
**Created:** [December 11, 2018, 10:34am UTC](https://discourse.llvm.org/t/automatic-gpu-code-generation/50561 "2018-12-11T10:34:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alexey\_Bataev1](https://avatars.discourse-cdn.com/v4/letter/a/c2a13f/32.png) [@Alexey\_Bataev1](https://discourse.llvm.org/u/Alexey_Bataev1)\
**Post date:** [December 11, 2018, 10:34am UTC](https://discourse.llvm.org/t/automatic-gpu-code-generation/50561/1 "2018-12-11T10:34:29Z")

</div>

You can use OpenMP. Clang supports offloading to the Nvidia GPUs using OpenMP directives. The work is still in progress, but mostly everything should work already.

Best regards,  
Alexey Bataev
