cms-patatrack / pixeltrack-standalone

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

[OpenMP] Initial port of PixelVertexFinding #393

Closed markdewing closed 1 year ago

markdewing commented 1 year ago

Port code in the PixelVertexFinding plugin to use OpenMP offload.

What remains to be done:

The atomicInc function, which performs a clipped or bounded increment doesn't have a directly compatible version in OpenMP. The workaround (which I didn't use here), is to perform a bounds check after the increment to guard whatever action is using the variable, and fix up the final value of the variable at the end of the loop.