¶inline void init(
int* argc,
char*** argv,
const std::vector<sycl::device>& devices)
inline void init(
int* argc,
char*** argv,
const std::vector<sycl::device>& devices)
Description
Initializes the Celerity runtime and instructs it to use a particular set of devices.
Parameters
- int* argc
- char*** argv
- const std::vector<sycl::device>& devices
- The devices to be used on the current node. This can vary between nodes. If there are multiple nodes running on the same host, the list of devices must be the same across nodes on the same host.
¶inline void init(int* argc,
char*** argv,
const detail::device_selector&
device_selector)
inline void init(int* argc,
char*** argv,
const detail::device_selector&
device_selector)
Description
Initializes the Celerity runtime and instructs it to use a particular set of devices.
Parameters
- int* argc
- char*** argv
- const detail::device_selector& device_selector
- The device selector to be used on the current node. This can vary between nodes. If there are multiple nodes running on the same host, the selector must be the same across nodes on the same host.
¶inline void init(int* argc, char*** argv)
inline void init(int* argc, char*** argv)
Description
Initializes the Celerity runtime.
Parameters
- int* argc
- char*** argv