I am trying to compile this project for an AMD GPU: GitHub - webmaster128/lisk-vanity: A tool to generate short Lisk addresses with GPU support
The c.l files are in lisk-vanity/src/opencl at master · webmaster128/lisk-vanity · GitHub which are concatenated as follows:
Unfortuntly the compilation never terminates.
- It works fine for NVIDIA GPU and Apple/Intel CPU
- It shows proper erros when there are syntax errors
- It compiles when I comment out enough code. Which code does not matter.
This is how to reproduce on Ubuntu:
# Install rust curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly source $HOME/.cargo/env git clone https://github.com/webmaster128/lisk-vanity && cd lisk-vanity export RUSTFLAGS='-L /opt/rocm/opencl/lib/x86_64/' cargo build ./target/debug/lisk-vanity --gpu --threads 0
System/Driver is AMD-ROCm1.9.224+TensorFlow1.10 Ubuntu16.04 x64