Skip to content

Algorithm Harmonization #6 KF, main branch (2026.06.22.)#1355

Open
krasznaa wants to merge 12 commits into
acts-project:mainfrom
krasznaa:KFHarmonization-main-20260515
Open

Algorithm Harmonization #6 KF, main branch (2026.06.22.)#1355
krasznaa wants to merge 12 commits into
acts-project:mainfrom
krasznaa:KFHarmonization-main-20260515

Conversation

@krasznaa

Copy link
Copy Markdown
Member

I started working on this a while ago, but thought that I'd hold off with it until the move to the acts repository.

But @niermann999 told me that her ongoing development could possibly make use of the "harmonized" code. So, here we go.

Indeed, as we discussed with @niermann999, one needs to pass "detector specific" payloads between the kernels during fitting. I actually forgot last week that I had "a solution" for this already. As I use an internal polymorphic payload type for this purpose.

Have a look! Let's see if it works for you!

@krasznaa krasznaa requested a review from niermann999 June 22, 2026 09:46
@krasznaa krasznaa added refactor Change the structure of the code cuda Changes related to CUDA sycl Changes related to SYCL alpaka Changes related to Alpaka labels Jun 22, 2026
@krasznaa krasznaa force-pushed the KFHarmonization-main-20260515 branch 2 times, most recently from 5f3d39c to 7ecd4b3 Compare June 23, 2026 12:55
Comment on lines +31 to +34
const device::fit_payload& payload, const device::fit_tpayload<
fitter::detector_type::const_view_type,
fitter::bfield_type,
fitter::surface_type>* tpayload);

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ahh, forgot that pre-commit does not format these files...

@krasznaa krasznaa force-pushed the KFHarmonization-main-20260515 branch from 7ecd4b3 to 3aeac82 Compare June 26, 2026 08:45
@sonarqubecloud

Copy link
Copy Markdown

@stephenswat stephenswat left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code doesn't look bad but I am once again asking you to please stop trying to sneak in unrelated changes into this codebase under the guise of meaningful improvements.

Comment thread .vscode/settings.json
Comment on lines +5 to +6
"*.ipp": "cpp",
"*.cu.in": "cpp"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated change.

Comment on lines +116 to 119
if (!is<obj_t>()) {
throw std::bad_any_cast();
}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated change.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a really, really good reason why you feel that splitting this code into an .ipp file should be done in this PR? Because if not, this is really just polluting what is already a sufficiently complicated changeset.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

alpaka Changes related to Alpaka cuda Changes related to CUDA refactor Change the structure of the code sycl Changes related to SYCL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants