# How to configure GPU resource within PBSPro

**URL:** <https://community.openpbs.org/t/how-to-configure-gpu-resource-within-pbspro/1498>\
**Category:** Users/Site Administrators\
**Created:** [March 8, 2019, 8:45am UTC](https://community.openpbs.org/t/how-to-configure-gpu-resource-within-pbspro/1498 "2019-03-08T08:45:38Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![guillaumeeb](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.openpbs.org/guillaumeeb/32/104_2.png) [@guillaumeeb](https://community.openpbs.org/u/guillaumeeb)\
**Post date:** [March 11, 2019, 3:06pm UTC](https://community.openpbs.org/t/how-to-configure-gpu-resource-within-pbspro/1498/7 "2019-03-11T15:06:43Z")

</div>

Thanks again. Did anybody tried this solution? Is there some contribution that can be find somewhere using CUDA\_VISIBLE\_DEVICE into PBS hooks?

Other threads seem to mention cgroup hook as @jon: [Trying to get CUDA\_VISIBLE DEVICES set with hook](http://community.openpbs.org/t/trying-to-get-cuda-visible-devices-set-with-hook/1207/8), [GPU Access Limited by CGroup](http://community.openpbs.org/t/gpu-access-limited-by-cgroup/735/4).

Would this work on PBS version 13?

---

_[View the full topic](https://community.openpbs.org/t/how-to-configure-gpu-resource-within-pbspro/1498)._
