fix graphlib prototypes
now all calling convention declaration to device functions are in grdev.h