You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
cuda.core: VirtualMemoryResource host locations ignore device_id and report is_device_accessible=False with peers #3466
Follow-up to #2910, which is now closed: its other items are fixed (#2917, #3149, #3343). Two gaps remain for host locations (location_type="host" or "host_numa"). Both were checked on main at ba7dcd0.
device_id is validated and then ignored.VirtualMemoryResource.__init__ builds Device(device_id) and then sets self.device = None for host locations. The argument is required and must name a valid device, but it has no effect.
A host resource with peers reports is_device_accessible == False. The resource maps its memory for each device in peers, but is_device_accessible is true only for location_type="device".
Both are small. Each needs a decision on the intended behavior before a fix.
Activity