Initialize hip when single kernel is called
这个提交包含在:
1 父节点
831fa31eea
当前提交
5efc4ce08a
2 个文件已更改
+9
没有与搜索条件相匹配的文件
@@ -1090,6 +1090,7 @@ inline hipStream_t ihipSyncAndResolveStream(hipStream_t stream)
|
||||
// Allows runtime to track some information about the stream.
|
||||
hipStream_t ihipPreLaunchKernel(hipStream_t stream, hc::accelerator_view **av)
|
||||
{
|
||||
std::call_once(hip_initialized, ihipInit);
|
||||
stream = ihipSyncAndResolveStream(stream);
|
||||
|
||||
stream->preKernelCommand();
|
||||
|
||||
在新工单中引用
屏蔽一个用户