(CPU/GPU/SPIR) based on policy. Support for scheduling per iteration included. Further testing required.