GpuContext restructuring and new convert operator