Beaver.Native.Memory (beaver v0.3.7)
A piece of memory managed by BEAM and can by addressed by a generated native function as MLIR MemRef descriptor
Summary
Functions
return a opaque pointer to the memory
return a opaque pointer to the memory descriptor. Usually used in the invoking of a generated function. If it is a array, will return the pointer of the array to mimic a struct of packed memory descriptors
Functions
Link to this function
aligned(memory)
return a opaque pointer to the memory
Link to this function
allocated(memory)
Link to this function
deallocate(m)
Link to this function
dense_strides(shape)
Link to this function
descriptor_ptr(arg1)
return a opaque pointer to the memory descriptor. Usually used in the invoking of a generated function. If it is a array, will return the pointer of the array to mimic a struct of packed memory descriptors
Link to this function