SWDEV-440746 - Fix Windows compilation

Use DEPRECATED()  macro

Change-Id: I78436032fd574c9ddd74be28365b718b21a49730
Bu işleme şunda yer alıyor:
German authored and German Andryeyev committed 2024-01-17 11:26:16 -05:00
1 ebeveyn 72a245881c
işleme 7b7776e928
1 file changed
+2 -2
+2 -2
Dosyayı Görüntüle
@@ -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)