Sperm Wash Question

When an <a href="https://glowing.com/glow-fertility-program">IUI</a> is done, do they take a male’s entire sperm sample and wash it? Or do they take a portion of that sample to wash?