cms-patatrack / pixeltrack-standalone

Standalone Patatrack pixel tracking
Apache License 2.0
17 stars 35 forks source link

[alpaka] Initialize devices in many alpaka unit test #330

Closed makortel closed 2 years ago

makortel commented 2 years ago

Fixes assertion failure in DeviceCachingAllocator. With this PR all the unit tests in alpaka run successfully for Serial, TBB, and CUDA backends.

makortel commented 2 years ago

The changes look good - but we need the same changes also in src/alpaka/test/alpaka/HistoContainer_t.cc, src/alpaka/test/alpaka/clustering_t.cc, etc..

Thanks, somehow I missed those.

makortel commented 2 years ago

Done now. make test_alpaka runs (although so I thought before too).

fwyzard commented 2 years ago

:+1: