All I just recently created a tool to do basically the same thing. It can be found on GIT.
https://github.com/gr0d/AMD.Compute.Mode.Toggle/tree/master/AMD.Compute.Mode.Toggle/bin/ReleaseSome key features are- Run in list mode to determine all Radeon cards and whether or not compute mode is enabled/disabled
- Enable/disable all Radeon cards at once
- Enable/disable specific cards via index
Usage:
AMD.Compute.Mode.Toggle [/L] [/M:0/1] [/A:1,2,4,5] [/R]
/L List all AMD Devices and its configuration
/M Enable or Disable Compute Mode. 0 Disable, 1 Enable
/A Specify devices to modify. Devices mnust be separated by commas.
/R Reboot device after change is made, default is not to reboot.
Example: AMD.Compute.Mode.Toggle /L Lists all AMD devcies and their current compute mode setting. /L Can only be used by itself.
Example: AMD.Compute.Mode.Toggle /M:0 - Disable compute mode for all AMD devices. /M Can only be used with /A /R
Example: AMD.Compute.Mode.Toggle /M:1 - Enable compute mode for all AMD devices. /M Can only be used with /A /R
Example: AMD.Compute.Mode.Toggle /M:0 /R - Disable compute mode for all AMD devices and reboot. /M Can only be used with /A /R
Example: AMD.Compute.Mode.Toggle /M:1 /R - Enable compute mode for all AMD devices. and reboot. /M Can only be used with /A /R
Example: AMD.Compute.Mode.Toggle /M:1 /A:1,3,6,7 /R - Enable compute mode for AMD devices number 1, 3, 6, 7 and reboot. /M Can only be used with /A /R
Example: AMD.Compute.Mode.Toggle /M:0 /A:1,3,6,7 /R - Disable compute mode for AMD devices number 1, 3, 6, 7 and reboot. /M Can only be used with /A /R