Merge pull request #575 from ROCm-Developer-Tools/fix_functional_gridlaunch_nonsense

It is unclear what I was thinking when authoring the original code...
이 커밋은 다음에 포함됨:
Maneesh Gupta
2018-07-18 09:34:16 +05:30
커밋한 사람 GitHub
+12 -16
파일 보기
@@ -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);
}
}