ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
cuda.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // - CloudViewer: www.cloudViewer.org -
3 // ----------------------------------------------------------------------------
4 // Copyright (c) 2018-2024 www.cloudViewer.org
5 // SPDX-License-Identifier: MIT
6 // ----------------------------------------------------------------------------
7 
8 #pragma once
9 
10 namespace colmap {
11 
12 int GetNumCudaDevices();
13 
14 void SetBestCudaDevice(const int gpu_index);
15 
16 } // namespace colmap
CUDA_SAFE_CALL
#define CUDA_SAFE_CALL(error)
Definition: cudacc.h:14
cuda.h
result
core::Tensor result
Definition: VtkUtils.cpp:76
colmap::SetBestCudaDevice
void SetBestCudaDevice(const int gpu_index)
Definition: cuda.cc:67
colmap::GetNumCudaDevices
int GetNumCudaDevices()
Definition: cuda.cc:57
cudacc.h
logging.h
colmap
Definition: AutomaticReconstructionController.h:17