nvmath.fft.compile_prolog — NVIDIA nvmath-python (original) (raw)

nvmath.fft.compile_prolog(

prolog_fn,

element_dtype,

user_info_dtype,

*,

compute_capability=None,

)[source]#

Compile a Python function to LTO-IR to provide as a prolog function forfft() and plan().

Parameters:

Returns:

The function compiled to LTO-IR as bytes object.

Notes