Add export for GPU code on windows.
Merge pull request #1290 from nouiz/gpu_win

Add export for GPU code on windows.