Skip to content

Latest commit

 

History

History

cuda_core

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

cuda.core: (experimental) pythonic CUDA module

Currently under active development; see the documentation for more details.

Installing

Please refer to the Installation page for instructions and required/optional dependencies.

Developing

This subpackage adheres to the developing practices described in the parent metapackage CONTRIBUTING.md.

Testing

To run these tests:

  • python -m pytest tests/ against editable installations
  • pytest tests/ against installed packages

Cython Unit Tests

Cython tests are located in tests/cython and need to be built. These builds have the same CUDA Toolkit header requirements as those of cuda.bindings where the major.minor version must match cuda.bindings. To build them:

  1. Setup environment variable CUDA_HOME with the path to the CUDA Toolkit installation.
  2. Run build_tests script located in test/cython appropriate to your platform. This will both cythonize the tests and build them.

To run these tests:

  • python -m pytest tests/cython/ against editable installations
  • pytest tests/cython/ against installed packages