Skip to content

Commit

Permalink
Merge branch 'SYCL-2020' into steffen/move_fract_impl
Browse files Browse the repository at this point in the history
  • Loading branch information
bader authored May 20, 2022
2 parents 5a7a0ac + 78e3ed9 commit 85ff6e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion ci/dpcpp.filter
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
buffer
exceptions
host_task
multi_ptr
reduction
5 changes: 3 additions & 2 deletions tests/host_task/host_task_interop_api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,9 @@ class TEST_NAME : public sycl_cts::util::test_base {
auto buf_acc_dev{buf.get_access<sycl::access_mode::read_write>(cgh)};
cgh.host_task([=](sycl::interop_handle ih) {
cl_command_queue native_queue = ih.get_native_queue();
cl_mem native_mem = ih.get_native_mem(buf_acc_dev);
call_opencl(native_queue, native_mem, size, pattern);
std::vector<cl_mem> native_mems = ih.get_native_mem(buf_acc_dev);
for (auto native_mem : native_mems)
call_opencl(native_queue, native_mem, size, pattern);
});
});

Expand Down

0 comments on commit 85ff6e2

Please sign in to comment.