SWDEV-491296 - Fix Unit_hipMemImportFromShareableHandle_Capture (#1564)

このコミットが含まれているのは:
marandje authored and GitHub committed 2025-10-30 15:06:26 +01:00
1 親 458c25c3a0
コミット cfbb2230ea
1ファイル変更
+3 -2
@@ -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));