Marshall large kernel parameters through global memory

Fixes #7