This patch provides a fix to avoid continuous recompilation of execution plans that do not use batch processing.
TornadoVM was set to recompile every time, but we only need to recompile under certain conditions only when using batch processing, or when changing the device.
Side note: We need the benchmarking suite for the AERO project.
Problem description
The issue was that the benchmark suite, and therefore, user code, can trigger recompilation over and over again due to a condition for batch processing.
Description
This patch provides a fix to avoid continuous recompilation of execution plans that do not use batch processing. TornadoVM was set to recompile every time, but we only need to recompile under certain conditions only when using batch processing, or when changing the device.
Side note: We need the benchmarking suite for the AERO project.
Problem description
The issue was that the benchmark suite, and therefore, user code, can trigger recompilation over and over again due to a condition for batch processing.
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?