MCPcopy Create free account
hub / github.com/colmap/colmap / BindCudaUtils

Function BindCudaUtils

src/pycolmap/util/cuda.cc:10–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8#if defined(COLMAP_CUDA_ENABLED)
9
10void BindCudaUtils(py::module& m) {
11 m.def("get_num_cuda_devices",
12 &GetNumCudaDevices,
13 "Get the number of available CUDA devices.");
14}
15
16#endif // COLMAP_CUDA_ENABLED

Callers 1

BindUtilFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected