From de1a5c5a510b1570b60b5fc7239e9587e50a4bef Mon Sep 17 00:00:00 2001 From: Jaydeep Patel Date: Fri, 12 Apr 2024 09:01:47 +0000 Subject: [PATCH] SWDEV-456279 - Adding new HIP flag to access contiguous memory. Change-Id: I1948b267b294369e774755744c3209c5af42b5cd --- include/hip/hip_runtime_api.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/hip/hip_runtime_api.h b/include/hip/hip_runtime_api.h index 4541a39a88..8b281824b1 100644 --- a/include/hip/hip_runtime_api.h +++ b/include/hip/hip_runtime_api.h @@ -747,6 +747,9 @@ enum hipLimit_t { /** Memory allocated will be uncached. */ #define hipDeviceMallocUncached 0x3 +/** Memory allocated will be contiguous. */ +#define hipDeviceMallocContiguous 0x4 + //Flags that can be used with hipHostRegister. /** Memory is Mapped and Portable.*/ #define hipHostRegisterDefault 0x0