Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Expose pinned memory resource as public API #596

@leofang

Description

@leofang

We've meant to do this but I noticed we haven't had any issue to track this need. This is to avoid users from having to use the private API like this

mr = _DefaultPinnedMemorySource()
b = mr.allocate(4)

However, unlike the device MR for which we make it accessible through the Device instance (dev.memory_resource), we probably need to think about the way(s) to expose it. I think starting with a free-standing MR is probably fine.

Metadata

Metadata

Assignees

Labels

P0High priority - Must do!cuda.coreEverything related to the cuda.core modulefeatureNew feature or request

Type

No type

Projects

Status

Todo

Relationships

None yet

Development

No branches or pull requests

Issue actions