MCPcopy Create free account
hub / github.com/boostorg/compute / clock_frequency

Method clock_frequency

include/boost/compute/device.hpp:240–243  ·  view source on GitHub ↗

Returns the clock frequency for the device's compute units.

Source from the content-addressed store, hash-verified

238
239 /// Returns the clock frequency for the device's compute units.
240 uint_ clock_frequency() const
241 {
242 return get_info<uint_>(CL_DEVICE_MAX_CLOCK_FREQUENCY);
243 }
244
245 /// Returns the number of compute units in the device.
246 uint_ compute_units() const

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected