Skip to content

Commit

Permalink
Switch filter test to using a host memory resource.
Browse files Browse the repository at this point in the history
On WSL2 asynchronous copying into shared memory (with an
NVIDIA backend) does not work for some reason. Leading to
a very weird crash.
  • Loading branch information
krasznaa committed Nov 10, 2023
1 parent ef85bb8 commit f6bb77b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/sycl/test_sycl_jagged_containers.sycl
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,8 @@ TEST_F(sycl_jagged_containers_test, filter) {
.wait_and_throw();

// Copy the filtered output back into the host's memory.
vecmem::jagged_vector<int> output(&m_mem);
vecmem::sycl::host_memory_resource host_resource(&m_queue);
vecmem::jagged_vector<int> output(&host_resource);
copy(output_data_device, output)->wait();

// Check the output. Note that the order of elements in the "inner vectors"
Expand Down

0 comments on commit f6bb77b

Please sign in to comment.