Since the last couple of versions of Windows this is no longer controlled by the Graphics Driver and is controlled by Windows itself. IMHO to lackluster success. While this is true Nvidia still offers an easy working override in their control panel that allows you, to easily set this. AMD has removed all ability to set this from their drivers. Not sure why AMD made this choice when obviously the OS does a poor job of managing this. About the best thing you can do is before playing a game set the power profile to High Performance.
Then Windows has these settings that may help:
Note the advice they give on the following page for AMD no longer exists in current drivers.
How to Force An App To Use The Dedicated GPU On Windows
Windows 10 Settings
You must be running Windows 10 1809 or later for this to work. It doesn’t matter which GPU you have because this will work for both.
- Open the Settings app and go to the System group of settings.
- Select the Display tab and scroll down.
- Click the ‘Graphic Settings‘ option.
- On the Graphics Settings screen, open the ‘Choose an app to set preference‘ dropdown.
- Select the type of app you want to set the GPU use for; Classic app for desktop apps, and Universal app for UWP or Store apps.
Once selected, click the Browse button and select the app. Click the ‘Options‘ button under the app once it has been added.
In the window that opens, select ‘High Performance‘ and click ‘Save‘.