Skip to content

Commit

Permalink
Remove workaroudns for DPC++ RT issues
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexeySachkov committed Apr 22, 2024
1 parent f757af0 commit 9dcded4
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,7 @@ TEST_CASE("Interoperability between composite and component devices",
cgh.parallel_for(sycl::range{count}, [=](sycl::id<1> it) {
acc[it] += ptrA[it] + ptrB[it];
});
})
.wait(); // why this wait is required?
});

auto hostAcc = bufC.get_host_access();
INFO("Verifying kernel (2 x vector add) results");
Expand Down Expand Up @@ -217,8 +216,7 @@ TEST_CASE("Sharing memory to a descendent device",
cgh.parallel_for(sycl::range{count}, [=](sycl::id<1> it) {
acc[it] += ptrA[it] + ptrB[it];
});
})
.wait(); // why is it required?
});

auto hostAcc = bufC.get_host_access();
INFO("Verifying kernel (2 x vector add) results");
Expand Down

0 comments on commit 9dcded4

Please sign in to comment.