triton.experimental.gluon.GluonASTSource

class triton.experimental.gluon.GluonASTSource(self, fn, signature, constexprs=None, attrs=None)

An AST source for compiling a Gluon kernel with triton.compile.

Pass an explicit target to triton.compile to compile without an active GPU driver. As with triton.compiler.ASTSource, callers supply the signature, constexpr values, and specialization attributes.

__init__(self, fn, signature, constexprs=None, attrs=None) → None

Methods

__init__(self, fn, signature[, constexprs, ...])

hash(self)

make_ir(self, target, options, codegen_fns, ...)

parse_options(self)