Skip to content

[BUG]: Tab completion with DeviceMemoryResource is broken #2053

@leofang

Description

@leofang

Is this a duplicate?

Type of Bug

Runtime Error

Component

cuda.core

Describe the bug

Tab completion is not prompting anything for the MR's method:

mr.<tab>

git bisect tells me the offending commit is 8b55a6c

How to Reproduce

  • build cuda-core locally
  • run this script via python -I test_mr.py to enter the Python REPL:
from cuda.core import Device
from cuda.core import DeviceMemoryResource
dev = Device(0)
dev.set_current()
mr = DeviceMemoryResource(dev)
  • hit tab completion for mr.

Expected behavior

it should just work

Operating System

No response

nvidia-smi output

No response

Metadata

Metadata

Assignees

Labels

P0High priority - Must do!bugSomething isn't workingcuda.coreEverything related to the cuda.core moduletriageNeeds the team's attention

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions