load kernel to GPU only when needed