进行tensort加速,cmake编译失败,缺少zlibwapi.dll
Could not locate zlibwapi.dll. Please make sure it is in your library path
解决该问题:
lib文件放到C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\lib
dll文件放到C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\bin
下载地址:
https://docs.nvidia.com/deeplearning/cudnn/install-guide/index.html#install-zlib-windows
下载ZLIB DLL,不要下载32-bit ZLIB DLL
Download and extract the zlib package from ZLIB DLL. Users with a 32-bit machine should download the 32-bit ZLIB DLL.
1