History

uapi/habanalabs: fix some comments

MAP/UNMAP are done also for device memory.

Oded Gabbay committed 6 years ago

Commit 3bf1c021 parent 6c07bab1 file · +3 −3Browse files

Showing the changes to include/uapi (1 of 1 file). Show all

Unified · Split

include/uapi/misc/habanalabs.h+3−3
@@ -530,13 +530,13 @@ union hl_wait_cs_args { · 529 unmodified lines
530 struct hl_wait_cs_out out;530 struct hl_wait_cs_out out;
531};531};
532 532
533/* Opcode to alloc device memory */533/* Opcode to allocate device memory */
534#define HL_MEM_OP_ALLOC 0534#define HL_MEM_OP_ALLOC 0
535/* Opcode to free previously allocated device memory */535/* Opcode to free previously allocated device memory */
536#define HL_MEM_OP_FREE 1536#define HL_MEM_OP_FREE 1
537/* Opcode to map host memory */537/* Opcode to map host and device memory */
538#define HL_MEM_OP_MAP 2538#define HL_MEM_OP_MAP 2
539/* Opcode to unmap previously mapped host memory */539/* Opcode to unmap previously mapped host and device memory */
540#define HL_MEM_OP_UNMAP 3540#define HL_MEM_OP_UNMAP 3
541 541
542/* Memory flags */542/* Memory flags */