File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,3 +43,9 @@ traccc_add_executable( throughput_st_alpaka "throughput_st.cpp"
4343
4444traccc_add_executable ( throughput_mt_alpaka "throughput_mt.cpp"
4545 LINK_LIBRARIES TBB::tbb indicators::indicators ${LIBRARIES} ${DETRAY} traccc_examples_alpaka )
46+
47+ add_test ( NAME throughput_st_alpaka
48+ COMMAND traccc_throughput_st_alpaka --finding-run-mbf-smoother=0 --read-bfield-from-file --cold-run-events=1 --processed-events=1 )
49+
50+ add_test ( NAME throughput_mt_alpaka
51+ COMMAND traccc_throughput_mt_alpaka --finding-run-mbf-smoother=0 --read-bfield-from-file --cold-run-events=1 --processed-events=1 )
Original file line number Diff line number Diff line change @@ -97,9 +97,13 @@ full_chain_algorithm::full_chain_algorithm(
9797 std::cout << traccc::alpaka::get_device_info () << std::endl;
9898
9999 // Copy the detector (description) to the device.
100+ m_vecmem_objects.async_copy ().setup (m_device_det_descr)->wait ();
100101 m_vecmem_objects
101102 .async_copy ()(::vecmem::get_data (m_det_descr.get ()), m_device_det_descr)
102- ->ignore ();
103+ ->wait ();
104+ m_vecmem_objects
105+ .async_copy ()(::vecmem::get_data (m_det_cond.get ()), m_device_det_cond)
106+ ->wait ();
103107 if (m_detector != nullptr ) {
104108 m_device_detector = traccc::buffer_from_host_detector (
105109 *m_detector, m_vecmem_objects.device_mr (),
@@ -177,9 +181,13 @@ full_chain_algorithm::full_chain_algorithm(const full_chain_algorithm& parent)
177181 m_fitting_config(parent.m_fitting_config) {
178182
179183 // Copy the detector (description) to the device.
184+ m_vecmem_objects.async_copy ().setup (m_device_det_descr)->wait ();
180185 m_vecmem_objects
181186 .async_copy ()(::vecmem::get_data (m_det_descr.get ()), m_device_det_descr)
182- ->ignore ();
187+ ->wait ();
188+ m_vecmem_objects
189+ .async_copy ()(::vecmem::get_data (m_det_cond.get ()), m_device_det_cond)
190+ ->wait ();
183191 if (m_detector != nullptr ) {
184192 m_device_detector = traccc::buffer_from_host_detector (
185193 *m_detector, m_vecmem_objects.device_mr (),
You can’t perform that action at this time.
0 commit comments