SWDEV-433745 - Changed hipExtModuleLaunchKernel declaration to extern C

Change-Id: I793471dfe3a0a580faa7a9b2672839db191fbe4f
This commit is contained in:
Ioannis Assiouras
2023-11-27 13:27:41 +00:00
rodzic 35f3e2cb0f
commit ef2b5f174a
+7 -7
Wyświetl plik
@@ -66,26 +66,26 @@ THE SOFTWARE.
*
*/
HIP_PUBLIC_API
hipError_t hipExtModuleLaunchKernel(hipFunction_t f, uint32_t globalWorkSizeX,
extern "C" hipError_t hipExtModuleLaunchKernel(hipFunction_t f, uint32_t globalWorkSizeX,
uint32_t globalWorkSizeY, uint32_t globalWorkSizeZ,
uint32_t localWorkSizeX, uint32_t localWorkSizeY,
uint32_t localWorkSizeZ, size_t sharedMemBytes,
hipStream_t hStream, void** kernelParams, void** extra,
hipEvent_t startEvent = nullptr,
hipEvent_t stopEvent = nullptr,
uint32_t flags = 0);
hipEvent_t startEvent __dparm(NULL),
hipEvent_t stopEvent __dparm(NULL),
uint32_t flags __dparm(0));
/**
* @brief This HIP API is deprecated, please use hipExtModuleLaunchKernel() instead.
*
*/
HIP_PUBLIC_API
hipError_t hipHccModuleLaunchKernel(hipFunction_t f, uint32_t globalWorkSizeX,
extern "C" hipError_t hipHccModuleLaunchKernel(hipFunction_t f, uint32_t globalWorkSizeX,
uint32_t globalWorkSizeY, uint32_t globalWorkSizeZ,
uint32_t localWorkSizeX, uint32_t localWorkSizeY,
uint32_t localWorkSizeZ, size_t sharedMemBytes,
hipStream_t hStream, void** kernelParams, void** extra,
hipEvent_t startEvent = nullptr,
hipEvent_t stopEvent = nullptr)
hipEvent_t startEvent __dparm(NULL),
hipEvent_t stopEvent __dparm(NULL))
__attribute__((deprecated("use hipExtModuleLaunchKernel instead")));
#if defined(__cplusplus)