Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Makefile
README.md
analysis.py
evaluate.py
evolve.py
fuzzycompare.cpp
irind.py
profile.json
stage_analyze.py

README.md

CUDA_EVOLVE

Package prerequisite


NVIDIA CUDA

sudo bash -c 'echo "deb http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64 /" > /etc/apt/sources.list.d/cuda.list'
sudo apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/7fa2af80.pub
sudo apt update
sudo apt install cuda-9.2

LLVM

sudo bash -c 'echo "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial main" > /etc/apt/sources.list.d/llvm.list'
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add -
sudo apt update
sudo apt install llvm-8 llvm-8-dev clang-8

The following command only install the meta package which soft-link the current clang/llvm binaries.

sudo apt install llvm clang

If the above meta package is not functional as expected, manually soft-link the necessary binaries as follows

sudo ln -s /usr/local/bin/clang++-8 /usr/local/bin/clang++
sudo ln -s /usr/local/bin/clang-8 /usr/local/bin/clang
sudo ln -s /usr/local/bin/opt-8 /usr/local/bin/opt
sudo ln -s /usr/local/bin/llvm-dis-8 /usr/local/bin/llvm-dis

Python and the related packages

sudo apt install python3 python3-pip
pip3 install --user deap
pip3 install --user matplotlib
pip3 install --user python-pptx
pip3 install --user pybind11

Installation


Download cuda_evolve and llvm-mutate

git clone ssh://git@www.lioujheyu.com:10022/elvis/cuda_evolve.git
git clone git@github.com:lioujheyu/llvm-mutate.git

Compile and install llvm-mutate

cd llvm-mutate
git checkout cuda
mkdir build
cd build
cmake ../
sudo make && make install

Compile fuzzycompare in cuda_evolve

cd cuda_evolve
sudo make && make install
You can’t perform that action at this time.