Skip to main content

No project description provided

Project description

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]

Project details


Download files

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

Source Distribution

hf_egl_probe-1.0.2.tar.gz (217.7 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: hf_egl_probe-1.0.2.tar.gz
  • Upload date:
  • Size: 217.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for hf_egl_probe-1.0.2.tar.gz
Algorithm Hash digest
SHA256 0cbc6352236f5c14f681328e2e0d2cb4d101828c81aa58793dbc9a91feee5e93
MD5 fe9fa8596e38f3f1d525e4fdf4c31939
BLAKE2b-256 e63effad88145b342d5a972711d0b47e202f2e51c9a436d9b6bdd55f10ed893e

See more details on using hashes here.

Supported by

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