Skip to content

cuda_cores_per_mp KeyError: 7.5 #2

Open
@JingchaoZhang

Description

@JingchaoZhang

I got the following error when running the python deviceQuery.py command.

CUDA device query (PyCUDA version)

Detected 1 CUDA Capable device(s)

Device 0: Quadro T1000 with Max-Q Design
         Compute Capability: 7.5
         Total Memory: 4096 megabytes
Traceback (most recent call last):
  File "deviceQuery.py", line 35, in <module>
    cuda_cores_per_mp = { 5.0 : 128, 5.1 : 128, 5.2 : 128, 6.0 : 64, 6.1 : 128, 6.2 : 128}[compute_capability]
KeyError: 7.5

Can you update the code to include key 7.5 in the dict?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions