pub(crate) fn fixup_gpu_options(
    gpu_params: GpuParameters
) -> Result<FixedGpuParameters, String>