Skip to content

Commit af670a0

Browse files
committed
fix in urVirtualMemGranularityGetInfo UT
1 parent 1477d5a commit af670a0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

unified-runtime/test/conformance/virtual_memory/urVirtualMemGranularityGetInfo.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,9 @@ void urVirtualMemGranularityGetInfoTest_successCase(
3434

3535
size_t property_value = 0;
3636
ASSERT_QUERY_RETURNS_VALUE(
37-
urVirtualMemGranularityGetInfo(context, device, 1, property_name,
38-
property_size, &property_value, nullptr),
37+
urVirtualMemGranularityGetInfo(context, device, allocation_size,
38+
property_name, property_size,
39+
&property_value, nullptr),
3940
property_value);
4041

4142
ASSERT_GT(property_value, 0);

0 commit comments

Comments
 (0)