+
Skip to content

cargo run --example 01-allocate error: Error: DriverError(CUDA_ERROR_NO_DEVICE, "no CUDA-capable device is detected") #300

Open
@phial3

Description

@phial3

What's wrong with it?

root@73624c6f4c4e:/code/cudarc# nvcc -V
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2023 NVIDIA Corporation
Built on Tue_Aug_15_22:02:13_PDT_2023
Cuda compilation tools, release 12.2, V12.2.140
Build cuda_12.2.r12.2/compiler.33191640_0

root@73624c6f4c4e:/code/cudarc# cargo run --example  01-allocate --features cuda-12020
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.03s
     Running `target/debug/examples/01-allocate`
Error: DriverError(CUDA_ERROR_NO_DEVICE, "no CUDA-capable device is detected")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载