Hi,
On 10/9/25 12:58, Tobias Burnus wrote:
Still, I think enabling it always with -O2 - or at least when
'static' and only called once makes sense.
Enabling it by default for static functions only called once is a good
start. It makes a lot of sense and it will also allow me to gauge the
complexity of solving the rest.
Whether cloning or not, I don't know - but I would like if the
offloading example below could be made to work such that there
is no call to 'sin' on neither the host nor device side.
Thank you for the detailed explanation :) It should be fairly easy to
implement if ipa-cp acts before the tables are dumped. Otherwise it
would probably require a bit of work, but if we implement some
reorganizing logic for the tables, then we might be able to drop the
noclone attribute altogether (if I understand it correctly). I will
tinker around with it in the future, unfortunately I can't get the
output_offload_tables to run, so I will have to figure that out. But
the application sounds really exciting.
Best regards,
Josef