-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Interplay of LCG_DICT_HEADER and LCG_DICT_XML with ALPAKA_BACKENDS #40846
Comments
assign core,heterogeneous |
New categories assigned: heterogeneous,core @fwyzard,@Dr15Jones,@smuzaffar,@makortel,@makortel you have been requested to review this Pull request/Issue and eventually sign? Thanks |
A new Issue was created by @makortel Matti Kortelainen. @Dr15Jones, @perrotta, @dpiparo, @rappoccio, @makortel, @smuzaffar can you please review it and eventually sign/assign? Thanks. cms-bot commands are listed here |
@smuzaffar Just as a guess we tried <flags LCG_DICT_HEADER="classes_1.h classes_2.h alpaka/classes_serial.h alpaka/classes_cuda.h"/>
<flags LCG_DICT_XML="classes_def_1.xml classes_def_2.xml alpaka/classes_serial_def.xml alpaka/classes_cuda_def.xml"/> but that didn't work either. I'm not sure if that would even be a good way to declare the |
@makortel , yes this is known issue with the build rules. I already have it on my to do list to fix it but did not realized that we will hit it this soon :-)
|
In this specific case the Alpaka backend's did not need to be split in multiple files. I'd also expect that in the near-to-medium term we would not really need the ability (but for long term it could be useful). The problem was that already the presence of As a quick workaround we merged the |
yes presence of |
@smuzaffar Could you remind me if this issue was fixed? |
No, not yet @makortel |
Ok. There is now a PR merging two |
@makortel , cms-sw/cmsdist#8705 addresses this issue. It should allow multiple header/xml files for alpaka backend too. |
It seems that if a data format package
BuildFile.xml
specifies explicitly theclasses.h
headers and theclasses_def.xml
selection XML files like herecmssw/DataFormats/ParticleFlowReco/BuildFile.xml
Lines 20 to 21 in c56dd8a
and one enables the Alpaka backend compilation with
<flags ALPAKA_BACKENDS="1"/>
, thesrc/alpaka/classes_<backend>.h
andsrc/alpaka/classes_<backend>.def.xml
files are not being considered.The text was updated successfully, but these errors were encountered: