-
Notifications
You must be signed in to change notification settings - Fork 228
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
Conversation
There was a problem hiding this 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
andgpuMemTensor.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.
We need to discuss it one more time. |
PR no longer needed |
This PR expose
tensor_holder.hpp
andgpuMemTensor.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.