autodiff: typetree recursive depth query from enzyme with fallback

Signed-off-by: Karan Janthe <karanjanthe@gmail.com>
This commit is contained in:
Karan Janthe
2025-09-12 06:11:18 +00:00
parent 4520926bb5
commit 3ba5f19182
6 changed files with 26 additions and 22 deletions

View File

@@ -127,7 +127,6 @@ pub(crate) mod Enzyme_AD {
);
pub(crate) fn EnzymeTypeTreeToString(arg1: CTypeTreeRef) -> *const c_char;
pub(crate) fn EnzymeTypeTreeToStringFree(arg1: *const c_char);
pub(crate) fn EnzymeGetMaxTypeDepth() -> ::std::os::raw::c_uint;
}
unsafe extern "C" {