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

move tensor_holder.hpp and gpuMemTensor.hpp from test to src #3294

Draft
wants to merge 5 commits into
base: bg/bn_driver_enable_nhwc
Choose a base branch
from

Conversation

bghimireamd
Copy link
Contributor

@bghimireamd bghimireamd commented Oct 3, 2024

This PR expose tensor_holder.hpp and gpuMemTensor.hpp headers outside of the current module. This change allows third-party libraries to directly include and utilize the MIOpen's tensor holder functionality that help easy data initialization and transfer between cpu and gpu.

Copy link
Collaborator

@averinevg averinevg left a comment

Choose a reason for hiding this comment

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

This PR expose tensor_holder.hpp and gpuMemTensor.hpp headers outside of the current module.

We shouldn't do that. This code is not used within the library itself and will only pollute it. We should not mix test and library code.

This change allows third-party libraries to directly include and utilize the MIOpen's tensor holder functionality that help easy data initialization and transfer between cpu and gpu.

These are our internal helpers. Third-party libraries should have their own stuff.

@CAHEK7 CAHEK7 added the ON_HOLD label Oct 4, 2024
@CAHEK7
Copy link
Contributor

CAHEK7 commented Oct 4, 2024

We need to discuss it one more time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants