Function mlir_sys::mlirExecutionEngineInvokePacked
source · pub unsafe extern "C" fn mlirExecutionEngineInvokePacked(
jit: MlirExecutionEngine,
name: MlirStringRef,
arguments: *mut *mut c_void
) -> MlirLogicalResult
Expand description
Invoke a native function in the execution engine by name with the arguments
and result of the invoked function passed as an array of pointers. The
function must have been tagged with the llvm.emit_c_interface
attribute.
Returns a failure if the execution fails for any reason (the function name
can’t be resolved for instance).