From 5e4c00c4fbfdc083d65ddd7d39c5227d5eecffbb Mon Sep 17 00:00:00 2001 From: sdashmiz Date: Mon, 18 Jul 2022 14:51:24 -0400 Subject: [PATCH] SWDEV-346448 - fix the missing defines for nvdi compile Signed-off-by: sdashmiz Change-Id: Ifd0e50a6f8636609fa61680cc719a2f82fb1320c [ROCm/hipother commit: b875936c5d0b31545b8afdb7f780f1c80e5565cf] --- .../include/hip/nvidia_detail/nvidia_hip_runtime_api.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/projects/hipother/hipnv/include/hip/nvidia_detail/nvidia_hip_runtime_api.h b/projects/hipother/hipnv/include/hip/nvidia_detail/nvidia_hip_runtime_api.h index d6a8bc05cb..a0e05cf2dd 100644 --- a/projects/hipother/hipnv/include/hip/nvidia_detail/nvidia_hip_runtime_api.h +++ b/projects/hipother/hipnv/include/hip/nvidia_detail/nvidia_hip_runtime_api.h @@ -1135,6 +1135,13 @@ typedef enum cudaStreamCaptureStatus hipStreamCaptureStatus; typedef union cudaKernelNodeAttrValue hipKernelNodeAttrValue; typedef enum cudaKernelNodeAttrID hipKernelNodeAttrID; +#define hipKernelNodeAttributeAccessPolicyWindow cudaKernelNodeAttributeAccessPolicyWindow +#define hipKernelNodeAttributeCooperative cudaKernelNodeAttributeCooperative +typedef enum cudaAccessProperty hipAccessProperty; +#define hipAccessPropertyNormal cudaAccessPropertyNormal +#define hipAccessPropertyStreaming cudaAccessPropertyStreaming +#define hipAccessPropertyPersisting cudaAccessPropertyPersisting +typedef struct cudaAccessPolicyWindow hipAccessPolicyWindow; typedef enum cudaGraphMemAttributeType hipGraphMemAttributeType;