Scroll to navigation

DATA_MOVER_DML_NEW(3) MINIASYNC Programmer's Manual DATA_MOVER_DML_NEW(3)

NAME

data_mover_dml_new(), data_mover_dml_delete() - allocate or free DML data mover structure

SYNOPSIS

#include <libminiasync.h>
struct data_mover_dml;
enum data_mover_dml_type {

DATA_MOVER_DML_SOFTWARE,
DATA_MOVER_DML_HARDWARE,
DATA_MOVER_DML_AUTO, }; struct data_mover_dml *data_mover_dml_new(enum data_mover_dml_type type); void data_mover_dml_delete(struct data_mover_dml *dmd);

For general description of DML data mover API, see miniasync_vdm_dml(7).

DESCRIPTION

The data_mover_dml_new() function allocates and initializes a new DML data mover structure. The type argument maps directly onto the DML path types. See the DML documentation for more details.

The data_mover_dml_delete() function frees and finalizes the DML data mover structure pointed by dmd.

RETURN VALUE

The data_mover_dml_new() function returns a pointer to struct data_mover_dml structure or NULL if the allocation or initialization failed.

The data_mover_dml_delete() function does not return any value.

SEE ALSO

miniasync(7), miniasync_vdm_dml(7), <https://github.com/intel/DML> and <https://pmem.io>

2022-06-04 MINIASYNC - miniasync version 0.1.0