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

Method OpenCLDeviceList

core/src/core/opencl_device.cpp:36–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34// --------------------------------------------------------------------------------------------------------------------
35
36OpenCLDeviceList::OpenCLDeviceList(OpenCLDeviceType type,
37 int numCUsToReserve,
38 float fractionCUsForIRUpdate,
39 bool requiresTAN)
40{
41#if defined(IPL_USES_TRUEAUDIONEXT)
42 if (numCUsToReserve > 0 || requiresTAN)
43 {
44 enumerateAMF(type, numCUsToReserve, fractionCUsForIRUpdate, requiresTAN);
45 }
46 else
47#endif
48 {
49 enumerateOpenCL(type);
50 }
51}
52
53void OpenCLDeviceList::enumerateOpenCL(OpenCLDeviceType type)
54{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected