Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Commit 932f70a

Browse files
committed
don't assume data is back in interop allocation
Signed-off-by: Sergey V Maslov <sergey.v.maslov@intel.com>
1 parent 8a211d4 commit 932f70a

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

SYCL/Plugin/interop-level-zero-buffer.cpp

100644100755
Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,6 @@ int main() {
9090
Queue.wait();
9191

9292
{
93-
char *Ptr = (char *)HostBuffer1;
94-
for (int i = 0; i < 10; i++) {
95-
assert(Ptr[i] == 'a');
96-
}
97-
9893
auto HostAcc1 = HostBufferInterop1.get_host_access();
9994
for (int i = 0; i < 10; i++) {
10095
assert(HostAcc1[i] == 'a');

0 commit comments

Comments
 (0)