Searched refs:is_pow2 (Results 1 – 6 of 6) sorted by relevance
28 bool is_pow2(uint64_t v) { return v == 0 || (v & (v - 1)) == 0; } in is_pow2() function32 bool pow2 = is_pow2(v); in log2ceil()
809 const bool is_pow2 = ((depth_multiplier & (depth_multiplier - 1)) == 0); in run_depthwise_quanitized8bit() local812 if(is_pow2 && is_quantized_per_tensor && depth_multiplier >= 8) in run_depthwise_quanitized8bit()
2361 static bool is_pow2(uint64_t v) { return v == 0 || (v & (v - 1)) == 0; } in is_pow2() function2371 bool pow2 = is_pow2(v); in log2ceil()
2331 static bool is_pow2(uint64_t v) { return v == 0 || (v & (v - 1)) == 0; } in is_pow2() function2341 bool pow2 = is_pow2(v); in log2ceil()