- cuda 13.1 => Windows
- cuda 13.1 => Ubuntu
- OpenSSL 1.1.1
- boost 1.90.0
- OpenCL 3.0.19
- Visual Studio 2022
- Windows SDK 10.0.22621.0
- CMake >= 3.22.4
cmake :
https://github.com/Kitware/CMake/releases/tag/v3.22.4
cuda :
https://developer.nvidia.com/cuda-13-1-0-download-archive
boost :
https://archives.boost.io/release/1.90.0/source/boost_1_90_0.zip
bootstrap.bat
b2.exe debug release
b2.exe install --prefix=C:\\Boostopencl :
git clone https://github.com/KhronosGroup/OpenCL-SDK.git
cd OpenCL-SDK
git fetch --all
git checkout tags/v2025.07.23
git submodule init
git submodule update
if not exist build_opencl mkdir build_opencl
cd build_opencl
cmake .. -A x64 -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF -DBUILD_DOCS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TESTS=OFF -DOPENCL_SDK_BUILD_SAMPLES=ON -DOPENCL_SDK_TEST_SAMPLES=OFF -DCMAKE_INSTALL_PREFIX=C:/OpenCL
cmake --build . --target install
cd ..openssl : Install perl
git clone https://github.com/openssl/openssl.git
cd openssl
git fetch --all
git checkout tags/OpenSSL_1_1_1t
perl Configure VC-WIN64AOpen Visual Studio Developer Command Promp x86_x64 with privileges !!!
nmake
nmake install- clang++ == 11
- CMake >= 3.22
cmake :
wget https://github.com/Kitware/CMake/releases/download/v3.26.4/cmake-3.26.4-linux-x86_64.sh --no-check-certificate
sudo mv cmake-3.26.4-linux-x86_64.sh /opt/cmake-3.26.4-linux-x86_64.sh
sudo chmod +x /opt/cmake-3.26.4-linux-x86_64.sh
sudo /opt/cmake-3.26.4-linux-x86_64.sh
sudo cp -r cmake-3.26.4-linux-x86_64 /opt/
sudo rm -rf cmake-3.26.4-linux-x86_64
sudo ln -s /opt/cmake-3.26.4-linux-x86_64/bin/* /usr/local/bincompiler :
sudo apt install -y build-essential libstdc++-12-dev libc++abi-12-dev gnutls-dev cppcheck checkinstall clang-15 libx11-devopenssl :
git clone https://github.com/openssl/openssl.git
cd openssl
./Configure
make
sudo make installopencl :
git clone https://github.com/KhronosGroup/OpenCL-SDK.git
cd OpenCL-SDK
git fetch --all
git checkout tags/v2025.07.23
git submodule init
git submodule update
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF -DBUILD_DOCS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TESTS=OFF -DOPENCL_SDK_BUILD_SAMPLES=OFF -DOPENCL_SDK_TEST_SAMPLES=OFF -DCMAKE_INSTALL_PREFIX=/usr/local
sudo cmake --build . --target installcuda :
wget --no-check-certificate https://developer.download.nvidia.com/compute/cuda/repos/wsl-ubuntu/x86_64/cuda-wsl-ubuntu.pin
sudo mv cuda-wsl-ubuntu.pin /etc/apt/preferences.d/cuda-repository-pin-600
wget --no-check-certificate https://developer.download.nvidia.com/compute/cuda/13.1.0/local_installers/cuda-repo-wsl-ubuntu-13-1-local_13.1.0-1_amd64.deb
sudo dpkg -i cuda-repo-wsl-ubuntu-13-1-local_13.1.0-1_amd64.deb
sudo cp /var/cuda-repo-wsl-ubuntu-13-1-local/cuda-*-keyring.gpg /usr/share/keyrings/
sudo apt-get update
sudo apt-get -y install cuda-toolkit-13-1boost :
wget --no-check-certificate https://archives.boost.io/release/1.90.0/source/boost_1_90_0.tar.gz
tar -xvf boost_1_90_0.tar.gz
cd boost_1_90_0
./bootstrap.sh --prefix=/usr/local
./b2 debug release -j$(nproc)
sudo ./b2 installgpu performance api:
wget https://github.com/GPUOpen-Tools/gpu_performance_api/releases/download/v4.3-tag/GPUPerfAPI-Linux-4.3.0.2.tgz
tar -xvf GPUPerfAPI-Linux-4.3.0.2.tgz
mv 4_4 gpu_performance_apimkdir build
cd build
cmake .. -G "Visual Studio 17 2022" -DCMAKE_BUILD_TYPE=Release
cmake --build . --config Releasemkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
cmake --build . --config Release