madgraph5 / madgraph4gpu

GPU development for the Madgraph5_aMC@NLO event generator software package
29 stars 33 forks source link

Add support for Intel GPUs via SYCL in cudacpp (using the same #ifdef approach as for HIP and CUDA) #805

Open valassi opened 6 months ago

valassi commented 6 months ago

Hi this is the task we have discussed at length in the last few meetings. @nscottnichols can you start to have a look? (I added you to the project so that it can be "assigned" even in github). CC @jtchilders @oliviermattelaer @roiser for info.

The idea is to add support for Intel GPUs via SYCL in cudacpp (using the same #ifdef approach as for HIP and CUDA), rather than in a separate plugin.

This is essentially the analog of what Jorgen did for AMD GPUs with HIP in PR #774 (superseded by PR #801). More details are provided in issue #311. Very briefly the task will probably be: easier/shorter, in the sense that replacing CUDACC by MGONGPUCPP_GPUIMPL in all ifdefs has been done by Jorgen already; more complex, because it is not as easy as replacing cudaMalloc by hipMalloc.

I guess the main points will be

Thanks, Andrea