--- layout: stdlib-reference --- # attribute [unroll] ## Description A hint to the downstream compiler to unroll the loop until the specified number of iterations reached. This attribute does not affect Slang compiler's behavior. To unroll a loop in the Slang compiler before emitting target code, use the [ForceUnroll] attribute. ## Signature
[unroll(count : int)]
## Parameters #### count : int = 0