MCPcopy Create free account
hub / github.com/ValveSoftware/steam-audio / getNumDevices

Method getNumDevices

core/src/core/api_opencl_device.cpp:70–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70IPLint32 COpenCLDeviceList::getNumDevices()
71{
72#if defined(IPL_USES_OPENCL)
73 auto _deviceList = mHandle.get();
74 if (!_deviceList)
75 return 0;
76
77 return _deviceList->numDevices();
78#else
79 return 0;
80#endif
81}
82
83void COpenCLDeviceList::getDeviceDesc(IPLint32 index,
84 IPLOpenCLDeviceDesc* deviceDesc)

Calls 2

numDevicesMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected