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

share npu4 to npu2, 5, 6 #216

Merged
merged 1 commit into from
Aug 22, 2024
Merged

share npu4 to npu2, 5, 6 #216

merged 1 commit into from
Aug 22, 2024

Conversation

mamin506
Copy link
Contributor

NPU 2, 4, 5, 6 are from the same family. The only difference is firmware binary, PCIe revision ID.

Since NPU2 is the early prototype version, I move all of the shared code to npu4_family.h. The npu2 device might be obsoleted in the near future.

Ideally, after this change, if we have new data struct or macro to add, we should only update npu4_family.h and npu4_regs.c

Signed-off-by: Min Ma <min.ma@amd.com>
@mamin506 mamin506 merged commit 5771d8a into amd:main Aug 22, 2024
@mamin506 mamin506 deleted the share_npu4 branch August 22, 2024 17:31
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.

2 participants