Does this really have to be a macro? Quite huge one. Check under tests/kernel. There's a launcher that takes in a .cl file. Should that be used here aswell?