All DPC++ devices can be used by the host to submit tasks. You may need to adjust this code.
In DPC++, the host can freely submit tasks to all DPC++ devices.
Review the code and adjust accordingly.