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.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

pynvx-1.0.0-cp311-cp311-win_amd64.whl (97.3 kB view hashes)

Uploaded CPython 3.11 Windows x86-64

pynvx-1.0.0-cp311-cp311-manylinux2014_x86_64.whl (214.4 kB view hashes)

Uploaded CPython 3.11

pynvx-1.0.0-cp311-cp311-macosx_10_9_x86_64.whl (131.8 kB view hashes)

Uploaded CPython 3.11 macOS 10.9+ x86-64

pynvx-1.0.0-cp310-cp310-win_amd64.whl (89.5 kB view hashes)

Uploaded CPython 3.10 Windows x86-64

pynvx-1.0.0-cp310-cp310-manylinux2010_x86_64.whl (209.3 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.12+ x86-64

pynvx-1.0.0-cp310-cp310-macosx_10_9_x86_64.whl (120.1 kB view hashes)

Uploaded CPython 3.10 macOS 10.9+ x86-64

pynvx-1.0.0-cp39-cp39-win_amd64.whl (89.5 kB view hashes)

Uploaded CPython 3.9 Windows x86-64

pynvx-1.0.0-cp39-cp39-manylinux2010_x86_64.whl (70.1 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.12+ x86-64

pynvx-1.0.0-cp39-cp39-macosx_10_9_x86_64.whl (119.6 kB view hashes)

Uploaded CPython 3.9 macOS 10.9+ x86-64

pynvx-1.0.0-cp38-cp38-win_amd64.whl (89.5 kB view hashes)

Uploaded CPython 3.8 Windows x86-64

pynvx-1.0.0-cp38-cp38-manylinux2010_x86_64.whl (70.2 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.12+ x86-64

pynvx-1.0.0-cp38-cp38-macosx_10_9_x86_64.whl (119.6 kB view hashes)

Uploaded CPython 3.8 macOS 10.9+ x86-64

pynvx-1.0.0-cp37-cp37m-win_amd64.whl (90.0 kB view hashes)

Uploaded CPython 3.7m Windows x86-64

pynvx-1.0.0-cp37-cp37m-manylinux2010_x86_64.whl (69.7 kB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.12+ x86-64

pynvx-1.0.0-cp37-cp37m-macosx_10_7_x86_64.whl (118.6 kB view hashes)

Uploaded CPython 3.7m macOS 10.7+ x86-64

pynvx-1.0.0-cp36-cp36m-win_amd64.whl (89.1 kB view hashes)

Uploaded CPython 3.6m Windows x86-64

pynvx-1.0.0-cp36-cp36m-manylinux2010_x86_64.whl (69.6 kB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.12+ x86-64

pynvx-1.0.0-cp36-cp36m-macosx_10_7_x86_64.whl (117.7 kB view hashes)

Uploaded CPython 3.6m macOS 10.7+ x86-64

pynvx-1.0.0-cp35-cp35m-win_amd64.whl (89.1 kB view hashes)

Uploaded CPython 3.5m Windows x86-64

pynvx-1.0.0-cp35-cp35m-manylinux2010_x86_64.whl (69.6 kB view hashes)

Uploaded CPython 3.5m manylinux: glibc 2.12+ x86-64

pynvx-1.0.0-cp35-cp35m-macosx_10_9_x86_64.whl (118.5 kB view hashes)

Uploaded CPython 3.5m macOS 10.9+ x86-64

pynvx-1.0.0-cp27-cp27mu-manylinux2010_x86_64.whl (70.1 kB view hashes)

Uploaded CPython 2.7mu manylinux: glibc 2.12+ x86-64

pynvx-1.0.0-cp27-cp27m-win_amd64.whl (90.5 kB view hashes)

Uploaded CPython 2.7m Windows x86-64

pynvx-1.0.0-cp27-cp27m-manylinux2010_x86_64.whl (70.1 kB view hashes)

Uploaded CPython 2.7m manylinux: glibc 2.12+ x86-64

pynvx-1.0.0-cp27-cp27m-macosx_10_6_x86_64.whl (118.7 kB view hashes)

Uploaded CPython 2.7m macOS 10.6+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page