SPAI: Fixed two bugs in the GPU implementation.

The first was due to the behavioral change of copy() in d81c7c57ca883afd73b8bfb090d712251f8e5a0d.
The second was a wrong work size, which was probably in there for a longer period of time already.