Intel® oneAPI Collective Communications Library (oneCCL) Developer Guide and Reference
                    
                        ID
                        772609
                    
                
                
                    Date
                    6/30/2025
                
                
                    Public
                
            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 ()