Skip to content

Commit f09b616

Browse files
committed
fixed gets that were just used without actual checking this values
1 parent 0b16625 commit f09b616

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

sycl/test-e2e/VirtualMem/virtual_mem_operations.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,7 @@ int main() {
5151
size_t AlignedByteSize = GetAlignedByteSize(BytesRequired, UsedGranularity);
5252

5353
syclext::physical_mem PhysicalMem{Device, Context, AlignedByteSize};
54-
55-
PhysicalMem.get_context();
56-
PhysicalMem.get_device();
57-
PhysicalMem.size();
58-
54+
5955
assert(PhysicalMem.get_device() == Device &&
6056
"device passed to physical_mem must be the same as returned from "
6157
"get_device()");

0 commit comments

Comments
 (0)