Fix hipExtLaunchMultiKernelMultiDevice compilation issue

Fix compilation error on hip-hcc+clang , hip-vdi+clang
Enabled hipExtLaunchMultiKernelMultiDevice test on hip-vdi path
hipExtLaunchMultiKernelMultiDevice common declaration for all paths

Change-Id: I76031840614fce8e12a8e845548fa43a389a741a


[ROCm/hip commit: 6a5d04209c]
This commit is contained in:
agodavar
2020-02-27 20:06:10 +05:30
committed by Tao Sang
parent 428d4842ae
commit 76ee85ff82
4 changed files with 9 additions and 13 deletions
+8
View File
@@ -392,6 +392,14 @@ hipError_t ihipExtLaunchMultiKernelMultiDevice(hipLaunchParams* launchParamsList
return result;
}
__attribute__((visibility("default")))
hipError_t hipExtLaunchMultiKernelMultiDevice(hipLaunchParams* launchParamsList,
int numDevices, unsigned int flags) {
HIP_INIT_API(hipExtLaunchMultiKernelMultiDevice, launchParamsList, numDevices, flags);
auto& ps = hip_impl::get_program_state();
return ihipExtLaunchMultiKernelMultiDevice(launchParamsList, numDevices, flags, ps);
}
namespace {
// kernel for initializing GWS
// nwm1 is the total number of work groups minus 1