Debian Codegraph @

src/deps/miniasync/extras/dml/include/libminiasync-vdm-dml/data_mover_dml.h

raw
1 /* SPDX-License-Identifier: BSD-3-Clause */
2 /* Copyright 2021-2022, Intel Corporation */
3
4 #ifndef VDM_DML_H
5 #define VDM_DML_H 1
6
7 #include <dml/dml.h>
8 #include <libminiasync.h>
9
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13
14 struct data_mover_dml;
15
16 enum data_mover_dml_type {
17 DATA_MOVER_DML_SOFTWARE,
18 DATA_MOVER_DML_HARDWARE,
19 DATA_MOVER_DML_AUTO,
20 };
21
22 struct data_mover_dml *data_mover_dml_new(enum data_mover_dml_type type);
23 struct vdm *data_mover_dml_get_vdm(struct data_mover_dml *dmd);
24 void data_mover_dml_delete(struct data_mover_dml *dmd);
25
26 #ifdef __cplusplus
27 }
28 #endif
29 #endif /* VDM_DML_H */