• 请不要在回答技术问题时复制粘贴 AI 生成的内容
misakawaque
V2EX  ›  程序员

wsl 安装 cuda 报检测不到驱动,怎么解决呢?

  •  
  •   misakawaque · Oct 27, 2022 · 1614 views
    This topic created in 1298 days ago, the information mentioned may be changed or developed.

    wsl 本来安装了 11.1 的 cuda 和不清楚哪里来的 340 驱动,因为不支持 gcc-11 决定重装 cuda,使用 apt-get remove purge 删除了驱动和旧 cuda

    在 windows 端更新驱动到最新版本,然后使用 nvidia 官网 wsl-ubuntu 的 runfile(即无驱动版本)安装了 cuda11.8,查看 nvcc 版本为 11.8.89

    安装时显示没有选中驱动,但我看官方文档说不需要下载驱动,编译自己写的 demo.cu 显示no CUDA-capable device is detected,怎么解决这个问题呢

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1146 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 17:33 · PVG 01:33 · LAX 10:33 · JFK 13:33
    ♥ Do have faith in what you're doing.