added function wrapper and avoid problem of onLoad causing class CUresult to be sought before actually available
added .async
return enums
added .async
async