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

Add deprecated message to cu::Context #310

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

wvbbreu
Copy link
Contributor

@wvbbreu wvbbreu commented Jan 20, 2025

Description
This pull request introduces a deprecated message when instantiating a cu::Context instance. Since contexts are deprecated in HIP, their use should be discouraged.

Please note that this pull request will require additional changes, hence it is marked as a draft. For example, the Context::getTotalMemory() and Context::getFreeMemory() methods are not implemented outside a context scope. We may want to implement these functions outside a cu::Context-scope, or hint the user to use an alternative, e.g., cu::totalMem.
In case of the Context::getLimit() and Context::setLimit() methods; they are not supported in HIP.

Related issues:

Instructions to review the pull request

  • TBA

@wvbbreu wvbbreu self-assigned this Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant