¶std::unique_ptr<backend> make_sycl_backend(
sycl_backend_type type,
const std::vector<sycl::device>& devices,
const sycl_backend::configuration& config)
std::unique_ptr<backend> make_sycl_backend(
sycl_backend_type type,
const std::vector<sycl::device>& devices,
const sycl_backend::configuration& config)
Description
Creates a SYCL backend instance of the specified type with the devices listed. Requires that Celerity has been compiled with the given backend and all devices are compatible with it.
Declared at: include/backend/sycl_backend.h:181
Parameters
- sycl_backend_type type
- const std::vector<sycl::device>& devices
- const sycl_backend::configuration& config