From 228748a9d8d13032463925151b9b2c48e60be04f Mon Sep 17 00:00:00 2001 From: German Andryeyev Date: Fri, 16 Feb 2024 16:37:42 -0500 Subject: [PATCH] SWDEV-311270 - Fix HIP tests for mempool IPC Change-Id: Ib5065a259e66fd53c3ffd6bc038dd65be00a3a3d --- .../stream/hipMemPoolImportFromShareableHandle.cc | 9 +++++++-- catch/performance/stream/hipMemPoolImportPointer.cc | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/catch/performance/stream/hipMemPoolImportFromShareableHandle.cc b/catch/performance/stream/hipMemPoolImportFromShareableHandle.cc index fb37f6c951..180efbf3de 100644 --- a/catch/performance/stream/hipMemPoolImportFromShareableHandle.cc +++ b/catch/performance/stream/hipMemPoolImportFromShareableHandle.cc @@ -29,14 +29,19 @@ class MemPoolImportFromShareableHandleBenchmark : public Benchmark(device_ptr_import), mem_pool, &exp_data)); + HIP_CHECK(hipMemPoolImportPointer(reinterpret_cast(&device_ptr_import), mem_pool, &exp_data)); } HIP_CHECK(hipFree(device_ptr));