From 94bb7e57d451af07dccde256bd17e866cbc2ba88 Mon Sep 17 00:00:00 2001 From: Satyanvesh Dittakavi Date: Thu, 30 Jun 2022 13:53:02 +0000 Subject: [PATCH] SWDEV-341992 - Add hipRefTex data types mapping on nvidia path Change-Id: Icec2ec110f2647bfb4c571ff16dd3852cfc9fe4a [ROCm/hipother commit: 5a485e33930ed8dac7394af4a55eab274f847b6a] --- .../hipnv/include/hip/nvidia_detail/nvidia_hip_runtime_api.h | 5 +++++ 1 file changed, 5 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 16a3a97101..6fdf4dc2d6 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 @@ -230,6 +230,11 @@ inline static CUresourcetype hipResourcetype_enumToCUresourcetype( #define hiparray CUarray typedef CUmipmappedArray hipMipmappedArray_t; +#define HIP_TRSA_OVERRIDE_FORMAT CU_TRSA_OVERRIDE_FORMAT +#define HIP_TRSF_READ_AS_INTEGER CU_TRSF_READ_AS_INTEGER +#define HIP_TRSF_NORMALIZED_COORDINATES CU_TRSF_NORMALIZED_COORDINATES +#define HIP_TRSF_SRGB CU_TRSF_SRGB + // hipTextureAddressMode typedef enum cudaTextureAddressMode hipTextureAddressMode; #define hipAddressModeWrap cudaAddressModeWrap