public static List <ComputeDeviceDesc> GetComputeDevices() { List <ComputeDeviceDesc> ret = new List <ComputeDeviceDesc>(); ret.AddRange(CPUComputeDevice.GetDevices()); ret.AddRange(OpenCL.OpenCLDevice.GetDevices()); return(ret); }
public static ComputeDevice CreateFallbackComputeDevice() { return(CreateComputeDevice(CPUComputeDevice.GetDevices()[0])); }