Skip to main content

Ray tracing using CUDA accessible from Python

Project description

RTXpy

Ray tracing using CUDA, accessible from Python.

Hardware requirements

  • Nvidia Maxwell GPU or newer
  • Nvidia driver version:
    • 456.71 or newer for Windows
    • 455.28 or newer for Linux

Installation

pip install rtxpy

Installation from source

Requires CMake 3.10 or higher to build.

To install RTXpy from source use

pip install -ve .

cupy is an optional runtime dependency. If you know the version of the CUDA toolkit you have installed, which can be obtained by running nvcc --version, you can install the appropriate cupy wheel. For example, for CUDA toolkit 11.2 use

pip install cupy-cuda112

To run tests

pip install -ve .[tests]
pytest -v rtxpy/tests

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

rtxpy-0.0.3.tar.gz (92.2 kB view hashes)

Uploaded Source

Built Distributions

rtxpy-0.0.3-cp310-cp310-win_amd64.whl (29.5 kB view hashes)

Uploaded CPython 3.10 Windows x86-64

rtxpy-0.0.3-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (45.2 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.12+ x86-64

rtxpy-0.0.3-cp39-cp39-win_amd64.whl (29.5 kB view hashes)

Uploaded CPython 3.9 Windows x86-64

rtxpy-0.0.3-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (45.2 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.12+ x86-64

rtxpy-0.0.3-cp38-cp38-win_amd64.whl (29.5 kB view hashes)

Uploaded CPython 3.8 Windows x86-64

rtxpy-0.0.3-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (45.2 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.12+ x86-64

rtxpy-0.0.3-cp37-cp37m-win_amd64.whl (29.5 kB view hashes)

Uploaded CPython 3.7m Windows x86-64

rtxpy-0.0.3-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (45.2 kB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.12+ 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