ELU on MLIR GPU

Exponential Linear Unit

⏳ PENDING — not yet measured

Operation

OperationELU (bpd_elu)
Formulaf(x) = x if x > 0, else α(exp(x) - 1), α=1.0
CategoryTranscendental (exp)

Kernel Specification (Prolog/Logtalk)

This is the backend-neutral op_expr fact that specifies the operation. The same term is lowered to LLVM IR, CUDA C, MLIR, and every other backend — one specification, many targets.

op_expr(bpd_elu,
    sel(le(var, const(0.0)),
        sub(call(exp, var), const(1.0)),
        var)).

Backend

BackendMLIR GPU (mlir_gpu)
Targetgpu
DescriptionMLIR GPU dialect. Lowered through MLIR pipeline to PTX.

Verification

This (operation, backend) pair has not yet been measured. When the backend emitter and verification infrastructure are ready, this cell will be tested against the PyTorch reference.