diff --git a/README.md b/README.md index 334c40006d59ec8ddb3de0335185e92c01bbc515..da935817fc91ea5dbf9b3da5499cafe5c1520d2d 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,23 @@ # HPVM +## Dependencies +You would need to download and install the following components for using AVX and NVIDIA GPUs to speed up your programs + +* Intel OpenCL SDK for Linux from [software.intel.com/sdk/opencl](software.intel.com/sdk/opencl). Follow the installation instructions (no special requirements). +* CUDA + ## Build ```shell # Get dependencies cd llvm/projects git pull https://github.com/llvm-mirror/compiler-rt -git checkout release_39 +git checkout release_40 cd ../.. # Build +mkdir install mkdir build && cd build -cmake ../llvm -make -j -``` +cmake ../llvm -DCMAKE_BUILD_TYPE=Debug -DLLVM_TARGETS_TO_BUILD="X86;NVPTX" -DCMAKE_INSTALL_PREFIX=../install +make -j<number of threads you want to use to build hpvm> +``` \ No newline at end of file