You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This would make the few EDModules that only reformat and copy a data product to device simpler. It would also make those cases a bit more efficient if another EDModule consumes the corresponding host product (avoiding the implicit device->host copy). It would also make the EDProducer behavior more consistent with ESProducers.
Given that the Alpaka EDModules can produce "legacy data products" that are not intended to be copied to device, the implicit copy can be done only if the copy function (CopyToDevice<T> specialization) is defined. This is in contrast to implicit device-to-host copies, where the copy function (CopyToHost<T> specialization) is required to exists, and thus leaves door open for subtle problems if a developer expects the implicit host-to-device copy to happen but it isn't, and the error message might not help towards a solution.
The text was updated successfully, but these errors were encountered:
This would make the few EDModules that only reformat and copy a data product to device simpler. It would also make those cases a bit more efficient if another EDModule consumes the corresponding host product (avoiding the implicit device->host copy). It would also make the EDProducer behavior more consistent with ESProducers.
Given that the Alpaka EDModules can produce "legacy data products" that are not intended to be copied to device, the implicit copy can be done only if the copy function (
CopyToDevice<T>
specialization) is defined. This is in contrast to implicit device-to-host copies, where the copy function (CopyToHost<T>
specialization) is required to exists, and thus leaves door open for subtle problems if a developer expects the implicit host-to-device copy to happen but it isn't, and the error message might not help towards a solution.The text was updated successfully, but these errors were encountered: