diff --git a/projects/hip-tests/catch/unit/virtualMemoryManagement/hipGetProcAddressVmmApis.cc b/projects/hip-tests/catch/unit/virtualMemoryManagement/hipGetProcAddressVmmApis.cc index fe664bc3e7..45acf33109 100644 --- a/projects/hip-tests/catch/unit/virtualMemoryManagement/hipGetProcAddressVmmApis.cc +++ b/projects/hip-tests/catch/unit/virtualMemoryManagement/hipGetProcAddressVmmApis.cc @@ -182,7 +182,7 @@ TEST_CASE("Unit_hipGetProcAddress_VMM") { hipMemAllocationProp prop{}; prop.type = hipMemAllocationTypePinned; - prop.requestedHandleType = hipMemHandleTypeNone; + prop.requestedHandleTypes = hipMemHandleTypeNone; prop.location.type = hipMemLocationTypeDevice; prop.location.id = 0; @@ -238,7 +238,7 @@ TEST_CASE("Unit_hipGetProcAddress_VMM") { HIP_CHECK(dyn_hipMemGetAllocationPropertiesFromHandle_ptr( &requiredProp, handle)); REQUIRE(requiredProp.type == hipMemAllocationTypePinned); - REQUIRE(requiredProp.requestedHandleType == hipMemHandleTypeNone); + REQUIRE(requiredProp.requestedHandleTypes == hipMemHandleTypeNone); REQUIRE(requiredProp.location.type == hipMemLocationTypeDevice); REQUIRE(requiredProp.location.id == 0); diff --git a/projects/hip-tests/catch/unit/virtualMemoryManagement/hipMemExportToShareableHandle.cc b/projects/hip-tests/catch/unit/virtualMemoryManagement/hipMemExportToShareableHandle.cc index dd6c19e11b..e7a859ec7d 100644 --- a/projects/hip-tests/catch/unit/virtualMemoryManagement/hipMemExportToShareableHandle.cc +++ b/projects/hip-tests/catch/unit/virtualMemoryManagement/hipMemExportToShareableHandle.cc @@ -54,7 +54,7 @@ TEST_CASE("Unit_hipMemExportToShareableHandle_Positive_Basic") { hipMemAllocationProp prop = {}; prop.type = hipMemAllocationTypePinned; - prop.requestedHandleType = hipMemHandleTypePosixFileDescriptor; + prop.requestedHandleTypes = hipMemHandleTypePosixFileDescriptor; prop.location.type = hipMemLocationTypeDevice; prop.location.id = device; @@ -93,7 +93,7 @@ TEST_CASE("Unit_hipMemExportToShareableHandle_Negative_Parameters") { hipMemAllocationProp prop = {}; prop.type = hipMemAllocationTypePinned; - prop.requestedHandleType = hipMemHandleTypePosixFileDescriptor; + prop.requestedHandleTypes = hipMemHandleTypePosixFileDescriptor; prop.location.type = hipMemLocationTypeDevice; prop.location.id = device; diff --git a/projects/hip-tests/catch/unit/virtualMemoryManagement/hipMemImportFromShareableHandle.cc b/projects/hip-tests/catch/unit/virtualMemoryManagement/hipMemImportFromShareableHandle.cc index be379b7153..72670d7755 100644 --- a/projects/hip-tests/catch/unit/virtualMemoryManagement/hipMemImportFromShareableHandle.cc +++ b/projects/hip-tests/catch/unit/virtualMemoryManagement/hipMemImportFromShareableHandle.cc @@ -66,7 +66,7 @@ TEST_CASE("Unit_hipMemImportFromShareableHandle_Positive_Basic") { hipMemAllocationProp prop = {}; prop.type = hipMemAllocationTypePinned; - prop.requestedHandleType = hipMemHandleTypePosixFileDescriptor; + prop.requestedHandleTypes = hipMemHandleTypePosixFileDescriptor; prop.location.type = hipMemLocationTypeDevice; prop.location.id = device; @@ -105,7 +105,7 @@ TEST_CASE("Unit_hipMemImportFromShareableHandle_Negative_Parameters") { hipMemAllocationProp prop = {}; prop.type = hipMemAllocationTypePinned; - prop.requestedHandleType = hipMemHandleTypePosixFileDescriptor; + prop.requestedHandleTypes = hipMemHandleTypePosixFileDescriptor; prop.location.type = hipMemLocationTypeDevice; prop.location.id = device; @@ -224,7 +224,7 @@ TEST_CASE("Unit_hipMemImportFromShareableHandle_MulProc_ChldUseHdl") { // Set property hipMemAllocationProp prop = {}; prop.type = hipMemAllocationTypePinned; - prop.requestedHandleType = hipMemHandleTypePosixFileDescriptor; + prop.requestedHandleTypes = hipMemHandleTypePosixFileDescriptor; prop.location.type = hipMemLocationTypeDevice; prop.location.id = device; // Set Granularity of the VMM memory @@ -349,7 +349,7 @@ TEST_CASE("Unit_hipMemImportFromShareableHandle_MulProc_ParntChldUseHdl") { // Set property hipMemAllocationProp prop = {}; prop.type = hipMemAllocationTypePinned; - prop.requestedHandleType = hipMemHandleTypePosixFileDescriptor; + prop.requestedHandleTypes = hipMemHandleTypePosixFileDescriptor; prop.location.type = hipMemLocationTypeDevice; prop.location.id = device; // Set Granularity of the VMM memory @@ -508,7 +508,7 @@ TEST_CASE("Unit_hipMemImportFromShareableHandle_MulProc_GrndChldUseHdl") { // Set property hipMemAllocationProp prop = {}; prop.type = hipMemAllocationTypePinned; - prop.requestedHandleType = hipMemHandleTypePosixFileDescriptor; + prop.requestedHandleTypes = hipMemHandleTypePosixFileDescriptor; prop.location.type = hipMemLocationTypeDevice; prop.location.id = device; // Set Granularity of the VMM memory