From 43ffe259795faf3c65ef16baed986dc6172ecaa1 Mon Sep 17 00:00:00 2001 From: kpyzhov Date: Wed, 3 Jul 2019 20:44:06 -0400 Subject: [PATCH] Change the type of hipTextureObject_t to pointer to a struct. (#1199) This is necessary to allow Runtime to perform required texture buffer handling. --- hipamd/include/hip/hcc_detail/texture_types.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hipamd/include/hip/hcc_detail/texture_types.h b/hipamd/include/hip/hcc_detail/texture_types.h index bc334de248..ec3c78532c 100644 --- a/hipamd/include/hip/hcc_detail/texture_types.h +++ b/hipamd/include/hip/hcc_detail/texture_types.h @@ -45,7 +45,8 @@ THE SOFTWARE. /** * An opaque value that represents a hip texture object */ -typedef unsigned long long hipTextureObject_t; +struct __hip_texture; +typedef struct __hip_texture* hipTextureObject_t; /** * hip texture address modes