new kernel loading function in oclCommon.cpp