MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / is_bit_set

Function is_bit_set

src/core/utils/helpers/bit_ops.h:45–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43 */
44template <typename T, ARM_COMPUTE_REQUIRES_TA(std::is_integral<T>::value)>
45bool is_bit_set(T v, unsigned int idx)
46{
47 return (v & 1 << idx) != 0;
48}
49} // namespace bit_ops
50} // namespace helpers
51} // namespace arm_compute

Callers 5

calculate_start_on_indexFunction · 0.85
calculate_end_on_indexFunction · 0.85
run_opMethod · 0.85
configureMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected