From a254e35fd6f86affedb4fe33d33f86a283c56d73 Mon Sep 17 00:00:00 2001 From: Longlong Yao Date: Tue, 11 Mar 2025 13:43:32 +0800 Subject: [PATCH] rocr: export pointer type for OnlyAddress Signed-off-by: Longlong Yao --- runtime/hsa-runtime/inc/hsa_ext_amd.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/runtime/hsa-runtime/inc/hsa_ext_amd.h b/runtime/hsa-runtime/inc/hsa_ext_amd.h index 222287f108..1aac90ba5b 100644 --- a/runtime/hsa-runtime/inc/hsa_ext_amd.h +++ b/runtime/hsa-runtime/inc/hsa_ext_amd.h @@ -2378,7 +2378,11 @@ typedef enum { /* Memory has been shared with the local process via ROCr IPC APIs. */ - HSA_EXT_POINTER_TYPE_IPC = 4 + HSA_EXT_POINTER_TYPE_IPC = 4, + /* + No backend memory but virtual address + */ + HSA_EXT_POINTER_TYPE_RESERVED_ADDR = 5 } hsa_amd_pointer_type_t; /**