Commit 3bf1c021 authored by Oded Gabbay's avatar Oded Gabbay

uapi/habanalabs: fix some comments

MAP/UNMAP are done also for device memory.
Reviewed-by: default avatarOmer Shpigelman <oshpigelman@habana.ai>
Signed-off-by: default avatarOded Gabbay <oded.gabbay@gmail.com>
parent 6c07bab3
...@@ -530,13 +530,13 @@ union hl_wait_cs_args { ...@@ -530,13 +530,13 @@ union hl_wait_cs_args {
struct hl_wait_cs_out out; struct hl_wait_cs_out out;
}; };
/* Opcode to alloc device memory */ /* Opcode to allocate device memory */
#define HL_MEM_OP_ALLOC 0 #define HL_MEM_OP_ALLOC 0
/* Opcode to free previously allocated device memory */ /* Opcode to free previously allocated device memory */
#define HL_MEM_OP_FREE 1 #define HL_MEM_OP_FREE 1
/* Opcode to map host memory */ /* Opcode to map host and device memory */
#define HL_MEM_OP_MAP 2 #define HL_MEM_OP_MAP 2
/* Opcode to unmap previously mapped host memory */ /* Opcode to unmap previously mapped host and device memory */
#define HL_MEM_OP_UNMAP 3 #define HL_MEM_OP_UNMAP 3
/* Memory flags */ /* Memory flags */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment