1#ifndef ENZYME_MLIR_INTEGRATIONS_C_ENZYMEMLIR_H_
2#define ENZYME_MLIR_INTEGRATIONS_C_ENZYMEMLIR_H_
8#include "mlir-c/Support.h"
24MLIR_CAPI_EXPORTED MlirAttribute
38 double lowerBound,
bool hasUpperBound,
double upperBound);
41 double trajectoryLength,
43 bool adaptMassMatrix);
46 MlirContext ctx, int64_t maxTreeDepth,
bool hasMaxDeltaEnergy,
47 double maxDeltaEnergy,
bool adaptStepSize,
bool adaptMassMatrix);
MLIR_CAPI_EXPORTED MlirAttribute enzymeSymbolAttrGet(MlirContext ctx, uint64_t ptr)
MLIR_CAPI_EXPORTED MlirAttribute enzymeHMCConfigAttrGet(MlirContext ctx, double trajectoryLength, bool adaptStepSize, bool adaptMassMatrix)
MLIR_CAPI_EXPORTED MlirAttribute enzymeNUTSConfigAttrGet(MlirContext ctx, int64_t maxTreeDepth, bool hasMaxDeltaEnergy, double maxDeltaEnergy, bool adaptStepSize, bool adaptMassMatrix)
MLIR_CAPI_EXPORTED MlirAttribute enzymeRngDistributionAttrGet(MlirContext ctx, EnzymeRngDistribution dist)
@ EnzymeRngDistribution_MultiNormal
@ EnzymeRngDistribution_Uniform
@ EnzymeRngDistribution_Normal
@ EnzymeSupportKind_UnitInterval
@ EnzymeSupportKind_LessThan
@ EnzymeSupportKind_Interval
@ EnzymeSupportKind_GreaterThan
@ EnzymeSupportKind_Positive
MLIR_CAPI_EXPORTED MlirAttribute enzymeSupportAttrGet(MlirContext ctx, EnzymeSupportKind kind, bool hasLowerBound, double lowerBound, bool hasUpperBound, double upperBound)