Adding Anyorder flag to HIP

Change-Id: Ie20931541b3febe23fa9ac36ebc0c90de75a5f0a


[ROCm/hip commit: 1340b3f07f]
Este commit está contenido en:
Jatin Chaudhary
2020-07-21 06:31:13 -04:00
cometido por Jatin Chaudhary
padre dd5cdce6d2
commit 788f07b626
Se han modificado 2 ficheros con 8 adiciones y 0 borrados
+5
Ver fichero
@@ -288,6 +288,11 @@ hipError_t ihipModuleLaunchKernel(hipFunction_t f, uint32_t globalWorkSizeX,
profileNDRange = (startEvent != nullptr && stopEvent != nullptr);
// Flag set to 1 signifies that kernel can be launched in anyorder
if (flags & hipExtAnyOrderLaunch) {
params |= amd::NDRangeKernelCommand::AnyOrderLaunch;
}
amd::NDRangeKernelCommand* command = new amd::NDRangeKernelCommand(
*queue, waitList, *kernel, ndrange, sharedMemBytes,
params, gridId, numGrids, prevGridSum, allGridSum, firstDevice, profileNDRange);