Hello.
I want to find a method that convert sycl kernel source code to sycl::kernel, similar to opencl’s clCreateProgramWithSource and clCreateKernel.
There is an API in the SYCL 2020 specification which is a little hidden but should help.
https://registry.khronos.org/SYCL/specs/sycl-2020/html/sycl-2020.html#_offline_linking_with_opencl_c_libraries
This is implemented in ComputeCpp but I don’t think it is yet in in DPC++.