This a video on how to install the PreJob script that modifies the environment variables of the deadline slave. The scrip that is used allows users to force GPU affinity in the Solaris network so that you can send renders to the farm without conflicting workorders. There are two scripts provided which allows Karma and Redshift to work.
For the Prejob script used in this video as well as the testing hipfile check out the following github repository: here