From 73130808d800dfd663e6265d70c451cf97ce7caf Mon Sep 17 00:00:00 2001 From: haoyuan2 <98923620+haoyuan2@users.noreply.github.com> Date: Thu, 10 Feb 2022 11:00:25 -0800 Subject: [PATCH] SWDEV-316128 - HIP surface API support (#2468) [ROCm/hip commit: 09583b01835af26bc94d917364ac100e03424adc] --- projects/hip/include/hip/surface_types.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/projects/hip/include/hip/surface_types.h b/projects/hip/include/hip/surface_types.h index 42a91a5f0b..c7f588de09 100644 --- a/projects/hip/include/hip/surface_types.h +++ b/projects/hip/include/hip/surface_types.h @@ -1,5 +1,5 @@ /* -Copyright (c) 2021 Advanced Micro Devices, Inc. All rights reserved. +Copyright (c) 2022 Advanced Micro Devices, Inc. All rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights @@ -30,7 +30,8 @@ THE SOFTWARE. /** * An opaque value that represents a hip surface object */ -typedef unsigned long long hipSurfaceObject_t; +struct __hip_surface; +typedef struct __hip_surface* hipSurfaceObject_t; /** * hip surface reference