SWDEV-494221 - Fix hipPerfDispatchSpeed test
- Do an hipEventRecord on null stream, that creates the streams and
avoids stream creation overhead when we time the core functionality
Change-Id: I117dccc42c92836fa113214d31bf14da49deba77
[ROCm/hip-tests commit: fb5e1d33d9]
このコミットが含まれているのは:
1 親
7d8eb4adb8
コミット
3e10bf3e5e
2ファイル変更
+69
-60
検索条件に一致するファイルはありません
@@ -132,6 +132,10 @@ int main(int argc, char* argv[]) {
|
||||
|
||||
CHECK_RESULT(err != hipSuccess, "hipEventCreate failed");
|
||||
|
||||
// Do a warm up event record and sync
|
||||
hipEventRecord(start, NULL);
|
||||
hipStreamSynchronize(0);
|
||||
|
||||
if (doWarmup)
|
||||
{
|
||||
hipLaunchKernelGGL(_dispatchSpeed, dim3(blocks), dim3(threads_per_block), 0, hipStream_t(0), srcBuffer);
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする