Skip to main content

egl_probe

Author: Fei Xia (feixia@stanford.edu)

Adapted from (https://github.com/erwincoumans/egl_example).

Install from pypi

pip install egl_probe
python -m egl_probe.get_available_devices

Install from source

pip install -e .
python get_available_devices.py

Example output

INFO:root:Device 0 is available for rendering
INFO:root:Device 1 is available for rendering
INFO:root:Device 2 is available for rendering
INFO:root:Device 3 is available for rendering
INFO:root:Graphics Devices: [0, 1, 2, 3]
INFO:root:Graphics Device CUDA Ids: [3, 2, 1, 0]

Download files

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

Source Distribution

egl_probe-1.0.2.tar.gz (217.5 kB view details)

Uploaded Source

File details

Details for the file egl_probe-1.0.2.tar.gz.

File metadata

  • Download URL: egl_probe-1.0.2.tar.gz
  • Upload date:
  • Size: 217.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.8

File hashes

Hashes for egl_probe-1.0.2.tar.gz
Algorithm Hash digest
SHA256 29bdca7b08da1e060cfb42cd46af8300a7ac4f3b1b2eeb16e545ea16d9a5ac93
MD5 7167f3af39b988ee1d96acfff5d168b9
BLAKE2b-256 b3c3c5fea892e18631721a7d7e492a790bde8e3dc930861866bedb38762d0d7c

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.2 This release

1 file

1.0.1

1 file

1.0.0

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page