SWDEV-491296 - Fix Unit_hipMemImportFromShareableHandle_Capture (#1564)

This commit is contained in:
marandje
2025-10-30 15:06:26 +01:00
committed by GitHub
parent 458c25c3a0
commit cfbb2230ea
@@ -576,8 +576,9 @@ TEST_CASE("Unit_hipMemImportFromShareableHandle_Capture") {
GENERATE_CAPTURE();
BEGIN_CAPTURE(stream);
HIP_CHECK(hipMemImportFromShareableHandle(&imported_handle, &shareable_handle,
hipMemHandleTypePosixFileDescriptor));
HIP_CHECK(hipMemImportFromShareableHandle(&imported_handle,
reinterpret_cast<void*>(static_cast<uintptr_t>(shareable_handle)),
hipMemHandleTypePosixFileDescriptor));
END_CAPTURE(stream);
HIP_CHECK(hipStreamDestroy(stream));