Initialize hip when single kernel is called
이 커밋은 다음에 포함됨:
1 부모
34e81c57ff
커밋
ce7ae41d42
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();
|
||||
|
||||
새 이슈에서 참조
사용자 차단