All SYCL devices can be used by the host to submit tasks. You may need to adjust this code.
In SYCL*, the host can freely submit tasks to all SYCL devices. There’s no need to check for device compute mode.
Review the code and adjust accordingly.