This patch fixes the copy in events to be used in the profiler when the profiler option is on. Consecuently, it fixes a bug triggering more copies that needed when the device selected was not the default one.
Problem description
The profiler used to print COPY_IN for read_only data if the execution plan was executed multiple times. The problem was that the internal copy functions were not returning the list of events properly.
Description
This patch fixes the copy in events to be used in the profiler when the profiler option is on. Consecuently, it fixes a bug triggering more copies that needed when the device selected was not the default one.
Problem description
The profiler used to print COPY_IN for read_only data if the execution plan was executed multiple times. The problem was that the internal copy functions were not returning the list of events properly.
Backend/s tested
Mark the backends affected by this PR.
OS tested
Mark the OS where this PR is tested.
Did you check on FPGAs?
If it is applicable, check your changes on FPGAs.
How to test the new patch?