Advertisement
LasterRooker

OpenCL

Jul 8th, 2022 (edited)
974
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.83 KB | None | 0 0
  1. ๐Ž๐ฉ๐ž๐ง๐‚๐‹
  2.  
  3. ๐…๐จ๐ซ ๐“๐ž๐ซ๐ฆ๐ฎ๐ฑ
  4.  
  5. pkg up -y && pkg install cmake git clinfo clvk opencl-headers -y && git clone https://github.com/KhronosGroup/OpenCL-Headers.git && cd ~/OpenCL-Headers && mkdir build && cmake -S . -B build -DCMAKE_INSTALL_PREFIX=$PREFIX && cmake --build build --target install && export LD_LIBRARY_PATH=$PREFIX/lib/clvk && clinfo
  6.  
  7.  
  8. ๐…๐จ๐ซ ๐‹๐ข๐ง๐ฎ๐ฑ
  9.  
  10. apt update && apt install -y git clinfo opencl-headers cmake lld llvm libuv1-dev libhwloc-dev libssl-dev libpocl-dev ocl-icd-dev ocl-icd-libopencl1 ocl-icd-opencl-dev  libcurl4-openssl-dev && git clone https://github.com/KhronosGroup/OpenCL-Headers.git && cd ~/OpenCL-Headers && mkdir build && cmake -S . -B build -DCMAKE_INSTALL_PREFIX=/ && cmake --build build --target install && export LD_LIBRARY_PATH=/lib/aarch64-linux-gnu/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement