Changed setArg of the Kernel class to a compile time rather than a runti...

...me function.