---
layout: stdlib-reference
---
# \_WaveCountBits
## Description
## Signature
uint _WaveCountBits(vector<uint, 4> value);
## Parameters
#### value : [vector](../types/vector/index.html)\
## Availability and Requirements
Defined for the following targets:
#### hlsl
Available in all stages.
#### glsl
Available in all stages.
#### cuda
Available in all stages.
#### metal
Available in all stages.
#### spirv
Available in all stages.
Requires capabilities: `spvGroupNonUniform`, `spvGroupNonUniformBallot`.