Skip to content

Remove warnings of CUDA #20012-D.

Daniel Campora Perez requested to merge dcampora_remove_warnings_cuda into master

This MR removes the warnings caused by having default constructors with __host__ __device__ attributes. Default constructors do not need these attributes, and hence CUDA was complaining with warnings similar to these:

warning #20012-D: __host__ annotation is ignored on a function("MultiEventContainer") that is explicitly defaulted on its first declaration

Separately, the fact we did not see this one is due to warnings in CUDA not being treated as errors in the relevant builds, which we should fix (in a separate MR).

Merge request reports