void init_gpu(); double timeval_diff(struct timeval *a, struct timeval *b);