fixed compiling error
Merge pull request #387 from thefarcry118/master

fixed GPU compiler error