-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Investigate moving alpaka device code to .dev.cc files #44625
Comments
cms-bot internal usage |
A new Issue was created by @fwyzard. @Dr15Jones, @antoniovilela, @smuzaffar, @rappoccio, @makortel, @sextonkennedy can you please review it and eventually sign/assign? Thanks. cms-bot commands are listed here |
assign heterogeneous |
I agree the explicit I'd further argue the |
Just to record, change from |
The common approach for alpaka device code is to template all functions on the accelerator type:
Another approach could be to move the code inside the
ALPAKA_ACCELERATOR_NAMESPACE
and use the accelerator type explicitly:This should let us move alpaka code that is not otherwise templated from header files to
.dev.cc
files.Now that we start to have a sizeable alpaka-based code base, we should maybe re-evaluate both options.
The text was updated successfully, but these errors were encountered: