Skip to main content

Python bindings for NVIDIA CUDA APIs.

Project description

Pynvx

Python bindings for NVIDIA CUDA APIs.

APIs

Initialization

cudaInit

cudaInit() -> int

> Initialize CUDA Runtime.

System Queries

cudaSystemGetDriverVersion

cudaSystemGetDriverVersion() -> int

> Get CUDA Driver version.

cudaSystemGetRuntimeVersion

cudaSystemGetRuntimeVersion() -> int

> Get CUDA Runtime version.

cudaDeviceGetCount

cudaDeviceGetCount() -> int

> Get CUDA device count.

cudaDeviceGetHandles

cudaDeviceGetHandles() -> List[int]

> Get CUDA device handles in list.

Device Queries

cudaGetName

cudaGetName(handle) -> str

> Get CUDA device name.

cudaGetClockRate

cudaGetClockRate(handle) -> int

> Get CUDA device clock rate in kilohertz.

cudaGetComputeCapability

cudaGetComputeCapability(handle) -> List[int]

> Get CUDA revision numbers in list [major, minor], defining the device’s compute capability.

cudaGetMajor

cudaGetMajor(handle) -> int

> Get CUDA major revision numbers defining the device’s compute capability.

cudaGetMinor

cudaGetMinor(handle) -> int

> Get CUDA minor revision numbers defining the device’s compute capability.

cudaGetMemInfo

cudaGetMemInfo(handle) -> List[int]

> Get CUDA memory information of the device in list [total, free, used].

cudaGetMemTotal

cudaGetMemTotal(handle) -> int

> Get CUDA total memory of the device.

cudaGetMemFree

cudaGetMemFree(handle) -> int

> Get CUDA free memory of the device.

cudaGetMemUsed

cudaGetMemUsed(handle) -> int

> Get CUDA used memory of the device.

cudaGetMultiProcessorCount

cudaGetMultiProcessorCount(handle) -> int

> Get CUDA multiprocessor numbers on the device.

cudaGetPciBusID

cudaGetPciBusID(handle) -> int

> Get CUDA PCI bus identifier of the device.

cudaGetPciDeviceID

cudaGetPciDeviceID(handle) -> int

> Get CUDA PCI device (sometimes called slot) identifier of the device.

cudaGetPciDomainID

cudaGetPciDomainID(handle) -> int

> Get CUDA PCI domain identifier of the device.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pynvx, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size pynvx-1.0.0-cp27-cp27m-macosx_10_6_x86_64.whl (118.7 kB) File type Wheel Python version cp27 Upload date Hashes View hashes
Filename, size pynvx-1.0.0-cp27-cp27m-win_amd64.whl (90.5 kB) File type Wheel Python version cp27 Upload date Hashes View hashes
Filename, size pynvx-1.0.0-cp35-cp35m-macosx_10_9_x86_64.whl (118.5 kB) File type Wheel Python version cp35 Upload date Hashes View hashes
Filename, size pynvx-1.0.0-cp35-cp35m-win_amd64.whl (89.1 kB) File type Wheel Python version cp35 Upload date Hashes View hashes
Filename, size pynvx-1.0.0-cp36-cp36m-macosx_10_7_x86_64.whl (117.7 kB) File type Wheel Python version cp36 Upload date Hashes View hashes
Filename, size pynvx-1.0.0-cp36-cp36m-win_amd64.whl (89.1 kB) File type Wheel Python version cp36 Upload date Hashes View hashes
Filename, size pynvx-1.0.0-cp37-cp37m-macosx_10_7_x86_64.whl (118.6 kB) File type Wheel Python version cp37 Upload date Hashes View hashes
Filename, size pynvx-1.0.0-cp37-cp37m-win_amd64.whl (90.0 kB) File type Wheel Python version cp37 Upload date Hashes View hashes
Filename, size pynvx-1.0.0.tar.gz (150.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page