MCPcopy Create free account
hub / github.com/RenderKit/oidn / cudaGetDeviceCount

Function cudaGetDeviceCount

devices/cuda/curtn.cpp:586–590  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

584 }
585
586 cudaError_t CUDARTAPI cudaGetDeviceCount(int* count)
587 {
588 CUresult result = cuDeviceGetCount(count);
589 return Runtime::setError(result);
590 }
591
592 cudaError_t CUDARTAPI cudaGetDeviceProperties(cudaDeviceProp* prop, int device)
593 {

Callers 1

getPhysicalDevicesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected