Skip to content

Commit 3bf1c02

Browse files
committed
uapi/habanalabs: fix some comments
MAP/UNMAP are done also for device memory. Reviewed-by: Omer Shpigelman <oshpigelman@habana.ai> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
1 parent 6c07bab commit 3bf1c02

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎include/uapi/misc/habanalabs.h‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -530,13 +530,13 @@ union hl_wait_cs_args {
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 */

0 commit comments

Comments
 (0)