starpu_malloc_on_node_flags

Function starpu_malloc_on_node_flags 

Source
pub unsafe extern "C" fn starpu_malloc_on_node_flags(
    dst_node: c_uint,
    size: usize,
    flags: c_int,
) -> usize
Expand description

Allocate \p size bytes on node \p dst_node with the given allocation \p flags. This returns 0 if allocation failed, the allocation method should then return -ENOMEM as allocated size. Deallocation must be done with starpu_free_on_node_flags().

See \ref VariableSizeDataInterface for more details.