From 47fe20522389934a9c3adbf9b22a9dfe88fb343c Mon Sep 17 00:00:00 2001 From: Rahul Garg Date: Wed, 6 Jan 2021 19:40:41 +0000 Subject: [PATCH] SWDEV-266973 - Add missing HIP_RETURN Change-Id: Ib569a8cb030179b71406d47fd08c7e1e7ab6eb7c --- hipamd/rocclr/hip_module.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hipamd/rocclr/hip_module.cpp b/hipamd/rocclr/hip_module.cpp index 53f17ffdf1..6b61b2c6ff 100755 --- a/hipamd/rocclr/hip_module.cpp +++ b/hipamd/rocclr/hip_module.cpp @@ -631,16 +631,16 @@ hipError_t hipLaunchCooperativeKernelMultiDevice(hipLaunchParams* launchParamsLi { HIP_INIT_API(hipLaunchCooperativeKernelMultiDevice, launchParamsList, numDevices, flags); - return ihipLaunchCooperativeKernelMultiDevice(launchParamsList, numDevices, flags, + return HIP_RETURN(ihipLaunchCooperativeKernelMultiDevice(launchParamsList, numDevices, flags, (amd::NDRangeKernelCommand::CooperativeGroups | - amd::NDRangeKernelCommand::CooperativeMultiDeviceGroups)); + amd::NDRangeKernelCommand::CooperativeMultiDeviceGroups))); } hipError_t hipExtLaunchMultiKernelMultiDevice(hipLaunchParams* launchParamsList, int numDevices, unsigned int flags) { HIP_INIT_API(hipExtLaunchMultiKernelMultiDevice, launchParamsList, numDevices, flags); - return ihipLaunchCooperativeKernelMultiDevice(launchParamsList, numDevices, flags, 0); + return HIP_RETURN(ihipLaunchCooperativeKernelMultiDevice(launchParamsList, numDevices, flags, 0)); } hipError_t hipModuleGetTexRef(textureReference** texRef, hipModule_t hmod, const char* name) {