ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
Gpu.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 #include <string>
11 
12 namespace cloudViewer {
13 namespace gpu {
14 
22 bool gpuSupportCUDA(int minComputeCapabilityMajor,
23  int minComputeCapabilityMinor,
24  int minTotalDeviceMemory = 0);
25 
30 std::string gpuInformationCUDA();
31 
32 } // namespace gpu
33 } // namespace cloudViewer
bool gpuSupportCUDA(int minComputeCapabilityMajor, int minComputeCapabilityMinor, int minTotalDeviceMemory)
Check if the system support CUDA with the given parameters.
Definition: Gpu.cpp:22
std::string gpuInformationCUDA()
gpuInformationCUDA
Definition: Gpu.cpp:73
Generic file read and write utility for python interface.