Skip to content

(WIP) Update device workspace usage #921

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

Draft
wants to merge 5 commits into
base: develop
Choose a base branch
from

Conversation

jmachado-amd
Copy link
Collaborator

This draft PR includes initial code to make device workspace memory management internal to individual roclapack_* and rocauxiliary_* methods. This is a work in progress, meant to illustrate where we might go if decide to keep rocSOLVER's original approach to manage device memory.

@jmachado-amd jmachado-amd added noOptimizations Disable optimized kernels for small sizes for some routines ci:no-ccache Disable ccache labels Mar 27, 2025
@jmachado-amd jmachado-amd marked this pull request as draft March 27, 2025 19:59
throw(std::domain_error("Error at merge::merge_item(): id >= N"));
}

std::size_t size = std::max(size_, w_out.size(id));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is merge() mean always taking the max, and join() mean taking the sum? Maybe some comments can be helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci:no-ccache Disable ccache noOptimizations Disable optimized kernels for small sizes for some routines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants