#pragma once

#include "shared_indices.h"
#include <cuda_runtime.h>

namespace caspar {

void PinholePosePredDecreaseTimesTwo(
    float* PinholePose_step,
    unsigned int PinholePose_step_num_alloc,
    float* PinholePose_precond_diag,
    unsigned int PinholePose_precond_diag_num_alloc,
    const float* const diag,
    float* PinholePose_njtr,
    unsigned int PinholePose_njtr_num_alloc,
    float* const out_PinholePose_pred_dec,
    size_t problem_size);

}  // namespace caspar