// Copyright (c) Meta Platforms, Inc. and affiliates. // All rights reserved. // // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. #pragma once std::vector render_cuda(const torch::Tensor& v, const torch::Tensor& vi, const torch::Tensor& index_img); torch::Tensor render_cuda_backward( const torch::Tensor& v, const torch::Tensor& vi, const torch::Tensor& index_img, const torch::Tensor& grad_depth_img, const torch::Tensor& grad_bary_img);