Allocate global memory for acceleration.
Add comments and rename the file.