updated gpu module API
Fixed documentation build
Merge pull request #520 from jet47:gpu-updates