From 90f8f14cc5fdbbc3496d28c3064c58430dbb2deb Mon Sep 17 00:00:00 2001 From: German Date: Mon, 15 Jan 2024 18:38:33 -0500 Subject: [PATCH] SWDEV-440746 - Fix Windows compilation Use DEPRECATED() macro Change-Id: I78436032fd574c9ddd74be28365b718b21a49730 [ROCm/hip commit: 7b7776e92810db245006d2987f5e40db83050ee6] --- projects/hip/include/hip/hip_ext.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/hip/include/hip/hip_ext.h b/projects/hip/include/hip/hip_ext.h index 5d5d9b6fa2..7e8847e956 100644 --- a/projects/hip/include/hip/hip_ext.h +++ b/projects/hip/include/hip/hip_ext.h @@ -78,6 +78,7 @@ HIP_PUBLIC_API * @brief This HIP API is deprecated, please use hipExtModuleLaunchKernel() instead. * */ +DEPRECATED("use hipExtModuleLaunchKernel instead") HIP_PUBLIC_API extern "C" hipError_t hipHccModuleLaunchKernel(hipFunction_t f, uint32_t globalWorkSizeX, uint32_t globalWorkSizeY, uint32_t globalWorkSizeZ, @@ -85,8 +86,7 @@ extern "C" hipError_t hipHccModuleLaunchKernel(hipFunction_t f, uint32_t globalW uint32_t localWorkSizeZ, size_t sharedMemBytes, hipStream_t hStream, void** kernelParams, void** extra, hipEvent_t startEvent __dparm(NULL), - hipEvent_t stopEvent __dparm(NULL)) - __attribute__((deprecated("use hipExtModuleLaunchKernel instead"))); + hipEvent_t stopEvent __dparm(NULL)); #if defined(__cplusplus)