Intel® oneAPI Collective Communications Library Developer Guide and Reference
ID
772609
Date
11/07/2023
Public
A newer version of this document is available. Customers should click here to go to the newest version.
Device
template<class native_device_type, class = typename std::enable_if<is_device_supported<native_device_type>()>::type> device CCL_API create_device (native_device_type &&native_device)
Creates a new device from @native_device_type.
Parameters:native_device - the existing handle of device
Returns: device object
device CCL_API create_device ()