SWDEV-440746 - Fix Windows compilation
Use DEPRECATED() macro
Change-Id: I78436032fd574c9ddd74be28365b718b21a49730
[ROCm/hip commit: 7b7776e928]
This commit is contained in:
committato da
German Andryeyev
parent
9af6945c84
commit
90f8f14cc5
@@ -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)
|
||||
|
||||
|
||||
Fai riferimento in un nuovo problema
Block a user