Beaver.Native (beaver v0.4.2)

This module provide higher level interface to primitive data types and MemRefDescriptor C struct in MemRef dialect. It aims to manage memory with BEAM and help a Erlang/Elixir function play well with function generated by MLIR and other NIFs.

Summary

Functions

apply_dirty(fun, args, dirty_flag)

array(data, module, opts \\ [mut: false])

check!(ret)

dump(struct)

forward(element_kind, kind_func_name, args)

opaque_ptr(array)

ptr(struct)

to_term(arg1)