1.安装内核source
yum install kernel-source -y(yum install kernel* -y)
2.下载NVIDIA驱动并安装
wget https://us.download.nvidia.cn/tesla/460.106.00/NVIDIA-Linux-x86_64-460.106.00.run
sudo sh NVIDIA-Linux-x86_64-460.106.00.run
3.检验驱动安装
nvidia-smi
4.安装gcc/make/cmake/gcc-c++/unzip/git
yum install -y gcc make cmake gcc-c++ unzip git
5.从gitee上下载clpeak源码
git clone https://gitee.com/gxw1141446823/clpeak.git
6.编译clpeak
cd clpeak/
git init
git submodule update --init --recursive --remote
mkdir build
cd build
cmake …
cmake --build .
7.运行clpeak
./clpeak
基于OpenEuler操作系统,在NVIDIA V100的GPU上编译clpeak并进行基准测试
于 2022-11-30 16:03:14 首次发布