It is unclear what I was thinking when authoring the original code...

[ROCm/hip commit: 9938edb636]
This commit is contained in:
Alex Voicu
2018-07-17 14:04:57 +01:00
parent 918ed2305e
commit 5739384c3e
+12 -16
View File
@@ -123,21 +123,17 @@ namespace hip_impl
};
}
for (auto&& agent_kernel : it0->second) {
if (agent.handle == agent_kernel.first.handle) {
hipModuleLaunchKernel(
agent_kernel.second,
numBlocks.x,
numBlocks.y,
numBlocks.z,
dimBlocks.x,
dimBlocks.y,
dimBlocks.z,
sharedMemBytes,
stream,
nullptr,
kernarg);
}
}
hipModuleLaunchKernel(
it1->second,
numBlocks.x,
numBlocks.y,
numBlocks.z,
dimBlocks.x,
dimBlocks.y,
dimBlocks.z,
sharedMemBytes,
stream,
nullptr,
kernarg);
}
}