¶std::unique_ptr<backend> make_sycl_backend(
sycl_backend_type type,
const std::vector<sycl::device>& devices,
bool enable_profiling)
std::unique_ptr<backend> make_sycl_backend(
sycl_backend_type type,
const std::vector<sycl::device>& devices,
bool enable_profiling)
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. If enable_profiling
is true, events for asynchronous operations will report native execution times.
Parameters
- sycl_backend_type type
- const std::vector<sycl::device>& devices
- bool enable_profiling
¶std::unique_ptr<backend> make_sycl_backend(
sycl_backend_type type,
const std::vector<sycl::device>& devices,
bool enable_profiling)
std::unique_ptr<backend> make_sycl_backend(
sycl_backend_type type,
const std::vector<sycl::device>& devices,
bool enable_profiling)
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. If enable_profiling
is true, events for asynchronous operations will report native execution times.
Parameters
- sycl_backend_type type
- const std::vector<sycl::device>& devices
- bool enable_profiling