KernelAbstractions.jl
  • Home
  • Quickstart
  • Writing kernels
  • Examples
    • Memcopy
    • Memcopy with static NDRange
    • Naive Transpose
    • Measuring performance
    • Matmul
  • API
  • Extras
    • Unroll macro
Version
  • Extras
  • Unroll macro
  • Unroll macro
Edit on GitHub

Unroll macro

KernelAbstractions.Extras.LoopInfo.@unroll — Macro
@unroll expr

Takes a for loop as expr and informs the LLVM unroller to fully unroll it, if it is safe to do so and the loop count is known.

source
@unroll N expr

Takes a for loop as expr and informs the LLVM unroller to unroll it N times, if it is safe to do so.

source
« API

Settings


This document was generated with Documenter.jl on Sunday 20 November 2022. Using Julia version 1.8.3.