Hi Jan,
I think you can build for the PTX backend, and still run on the host CPU if you explicitly select the host “device”.
For example:
cl::sycl::device device;
try {
// try to select a SPIR or PTX backend
device = cl::sycl::device(cl::sycl::default_selector());
} catch(cl::sycl::exception const&) {
// fall back to the host device
device = cl::sycl::device(cl::sycl::host_selector());
}