# Backend-cuda in ini file?

**URL:** <https://pyfr.discourse.group/t/backend-cuda-in-ini-file/205>\
**Category:** Just Starting\
**Created:** [31 March 2018 15:30 UTC](https://pyfr.discourse.group/t/backend-cuda-in-ini-file/205 "2018-03-31T15:30:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mahmood\_Naderan](https://avatars.discourse-cdn.com/v4/letter/m/839c29/32.png) [@Mahmood\_Naderan](https://pyfr.discourse.group/u/Mahmood_Naderan)\
**Post date:** [31 March 2018 15:30 UTC](https://pyfr.discourse.group/t/backend-cuda-in-ini-file/205/1 "2018-03-31T15:30:27Z")

</div>

Hi,  
When I look at the `couette_flow_2d.ini`, I see that the `backend-openmp`  
is blank. Also there is no `[backend-cuda]` entry. So, is the command

`$ pyfr run -b cuda -p couette_flow_2d.pyfrm couette_flow_2d.ini`

correct?

Regards,  
Mahmood

---

<div class="post-metadata">

**Author:** ![Simon\_Hubbard](https://avatars.discourse-cdn.com/v4/letter/s/bbe5ce/32.png) [@Simon\_Hubbard](https://pyfr.discourse.group/u/Simon_Hubbard)\
**Post date:** [21 June 2018 18:18 UTC](https://pyfr.discourse.group/t/backend-cuda-in-ini-file/205/2 "2018-06-21T18:18:46Z")

</div>

Hi,

Default settings are used when none are specified in the .ini file. You can see the defaults by looking at the source for **pyfr.backends.cuda.base**

Regards,

Simon.
