Don't use __attribute__((always_inline)) on windows.
Merge pull request #1189 from nouiz/win_gpu

WIP: fix compilation problem for GPU on windows.