WriteFunc

Type Alias WriteFunc 

Source
pub type WriteFunc<R> = unsafe extern "C" fn(*const R, *mut R, *const u64, *const u64, u64, *const bool);
Expand description

Function signature for a JIT-compiled expression

ยงParams

  • (*const R): Pointer to input parameter vector
  • (*mut R): Pointer to output buffer
  • (*const u64): Pointer to parameter map
  • (*const u64): Pointer to output map
  • (u64): offset for each function unit (0offset = function, 1offset = first partial grad, ..)
  • (*const bool): Pointer to constant parameter map