Write the program as if such a library existed. Let's call it gpu_master.