Skip to content
New issue

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

Design the TensorMap object #200

Open
leofang opened this issue Oct 30, 2024 · 1 comment
Open

Design the TensorMap object #200

leofang opened this issue Oct 30, 2024 · 1 comment
Labels
cuda.core Everything related to the cuda.core module feature New feature or request P0 High priority - Must do!

Comments

@leofang
Copy link
Member

leofang commented Oct 30, 2024

I am not sure if we even need a class full of states, attributes, and methods to wrap CUtensorMap. I suspect we just need a lightweight class object + a free, factory function that takes a variety of configs and returns the object (i.e. no class constructor).

Unanswered question: Is CUtensorMap bound to a CUDA context?

@leofang leofang added P0 High priority - Must do! feature New feature or request cuda.core Everything related to the cuda.core module labels Oct 30, 2024
@leofang leofang added this to the cuda.core beta 3 milestone Oct 30, 2024
@leofang
Copy link
Member Author

leofang commented Oct 30, 2024

Is CUtensorMap bound to a CUDA context?

Asked internally and the answer is yes. It means the TensorMap object would need to offer a reverse lookup to device/context, as done in other objects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cuda.core Everything related to the cuda.core module feature New feature or request P0 High priority - Must do!
Projects
None yet
Development

No branches or pull requests

1 participant