Docker
To avoids any troubles that can be encountered when building EvSpikeSim, we provide Dockerfiles for both CPU and GPU implementations. Both the C++ Library and Python API are installed in the docker images.
EvSpikeSim CPU Docker Image
To build the docker image of EvSpikeSim for CPU, run from the project root:
docker build -t evspikesim_cpu -f docker/cpu/Dockerfile .
EvSpikeSim GPU Docker Image
Note
nvidia-docker is required to be able to use GPUs in Docker containers.
After installing nvidia-docker, run the following command from the project root to build the docker image of EvSpikeSim for GPU:
nvidia-docker build -t evspikesim_gpu -f docker/gpu/Dockerfile .