GPU Glossary
GPU Glossary
/device-hardware/special-function-unit

What is a Special Function Unit?

SFU

The Special Function Units (SFUs) in Streaming Multiprocessors (SMs) accelerate certain arithmetic operations.

Notable for neural network workloads are transcendental mathematical operations, like exp, sin, and cos.

The Streaming Assembler (SASS) instructions associated with the SFUs generally begin with MUFU: MUFU.SQRT, MUFU.EX2. See this Godbolt link for sample assembly using the MUFU.EX2 instruction to implement the expf intrinsic in CUDA C++ .

Something seem wrong?
Or want to contribute?

Click this button to
let us know on GitHub.