Added a header file with GPU definitions and changed fill to use the header