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 .

Parameters

native_device – the existing handle of device

Returns

device object

device CCL_API create_device ()