MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / getDeviceTypeEnum

Function getDeviceTypeEnum

src/backend/opencl/device_manager.cpp:85–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85static afcl::deviceType getDeviceTypeEnum(const Device& dev) {
86 return static_cast<afcl::deviceType>(dev.getInfo<CL_DEVICE_TYPE>());
87}
88
89static inline bool compare_default(const unique_ptr<Device>& ldev,
90 const unique_ptr<Device>& rdev) {

Callers 1

DeviceManagerMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected