Skip to content

wedesoft/aiscm

Repository files navigation

The _    ___
   / \  |_ _|___  ___ _ __ ___
  / _ \  | |/ __|/ __| '_ ` _ \
 / ___ \ | |\__ \ (__| | | | | |
/_/   \_\___|___/\___|_| |_| |_| extension

GPLv3

AIscm is a Guile extension for numerical arrays and tensors. Performance is achieved by using the LLVM JIT compiler.

AIscm

Download and installation

See doc/installation.md or website for installation instructions.

Creating a Docker container

make -f Makefile.docker run

Within the tests folder, you'll find that all unit tests have already been run; you might also have seen the respective log output during the Docker build. Integration tests are not yet completely running within Docker, but you can e.g. run one using:

cd tests/integration/
make 2d_array.tmp

Run tests

Unit tests

You can run all tests like this

make check -j

One can use recheck to run only the test suites which have not completed successfully:

make recheck -j

To run a single test suite, you can delete the log file and regenerate it using make:

cd tests
rm -f test_core.log && make test_core.log
cd ..

Integration tests

Running the integration tests requires a graphical display, keyboard interaction, a camera, and a sound device.

make integration

One can use reintegration to run only the integration tests which have not completed successfully:

make reintegration

See also