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
530530 struct hl_wait_cs_out out;
531531 };
532532
533−/* Opcode to alloc device memory */
533+/* Opcode to allocate device memory */
534534 #define HL_MEM_OP_ALLOC 0
535535 /* Opcode to free previously allocated device memory */
536536 #define HL_MEM_OP_FREE 1
537−/* Opcode to map host memory */
537+/* Opcode to map host and device memory */
538538 #define HL_MEM_OP_MAP 2
539−/* Opcode to unmap previously mapped host memory */
539+/* Opcode to unmap previously mapped host and device memory */
540540 #define HL_MEM_OP_UNMAP 3
541541
542542 /* Memory flags */