add cuda event management wrapper functions