cms-patatrack / pixeltrack-standalone

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

[alpaka] Split shared objects to backend-specific libraries #322

Closed fwyzard closed 2 years ago

fwyzard commented 2 years ago

Move common code shared between plugins to a shared library.

fwyzard commented 2 years ago

Update alpaka using the same rules developed for alpakatest in #304 .

fwyzard commented 2 years ago

@makortel we don't expect any impact on the performance from this, do we ?

fwyzard commented 2 years ago

Mhm, this doesn't seem to be working:

$ ./alpaka --cuda
Found 0 devices.
Processing 1000 events, of which 1 concurrently, with 1 threads.
Floating point exception (core dumped)
fwyzard commented 2 years ago

However, alpakatest does not seem to be working either:

$ ./alpakatest --cuda
Found 0 devices.
Processing 1000 events, of which 1 concurrently, with 1 threads.
TestProducer  Event 1 stream 0 ES int 42 FED 1200 size 2152
Floating point exception (core dumped)
fwyzard commented 2 years ago

OK, that was probably a hardware problem, since just running nvidia-smi seems to have crashed the machine :-/

makortel commented 2 years ago

we don't expect any impact on the performance from this, do we ?

In the leading order there should no performance impact. In the sub-leading order shared library reorganization might result in performance differences.

Visually looks good to me.

fwyzard commented 2 years ago

OK, now it runs fine, and the perfornance and CPU usage look unchanged: image image