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
void SetBestCudaDevice(const int gpu_index)
Definition: cuda.cc:67
int GetNumCudaDevices()
Definition: cuda.cc:57