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

Function getComputeUnits

src/backend/opencl/platform.hpp:113–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111}
112
113inline unsigned getComputeUnits(const cl::Device& device) {
114 return device.getInfo<CL_DEVICE_MAX_COMPUTE_UNITS>();
115}
116
117// maximum nr of threads the device really can run in parallel, without
118// scheduling

Callers 2

getMaxParallelThreadsFunction · 0.70
threadsMgtMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected