We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I got the following error when running the python deviceQuery.py command.
python deviceQuery.py
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?
The text was updated successfully, but these errors were encountered:
I have a similar issue as well, however, my KeyError value is 8.6.
KeyError
8.6
Sorry, something went wrong.
You can add the version and cores in to the dict cuda_cores_per_mp. For example, add: 7.5 : 128
7.5 : 128
Adding 8.6 : 128 to cuda_cores_per_mp works, thanks!
8.6 : 128
cuda_cores_per_mp
FYI, if using Python3, replace gpu_device.get_attributes().iteritems() to gpu_device.get_attributes().items()
gpu_device.get_attributes().iteritems()
gpu_device.get_attributes().items()
No branches or pull requests
I got the following error when running the
python deviceQuery.py
command.Can you update the code to include key 7.5 in the dict?
The text was updated successfully, but these errors were encountered: