gpu.c: use new schedule interface