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

Unable to Read/Write AIE2 Registers – Missing aie2_internal.h #376

Open
ngdxzy opened this issue Feb 6, 2025 · 0 comments
Open

Unable to Read/Write AIE2 Registers – Missing aie2_internal.h #376

ngdxzy opened this issue Feb 6, 2025 · 0 comments

Comments

@ngdxzy
Copy link

ngdxzy commented Feb 6, 2025

Description:

I am attempting to read and write to the registers in the NPU (AIE2), but I encounter an error indicating that the operation is not supported.

Upon investigating the source code (aie2_pci.c), I found that the aie2_read_aie_reg operation is not compiled because AMDXDNA_AIE2_PRIV is not set. After enabling AMDXDNA_AIE2_PRIV in the Makefile, I encountered another issue: the header file aie2_internal.h is missing from the repository.

Could you clarify whether this file is considered confidential or if it has simply not been released yet?

Steps to Reproduce:

1.	Attempt to read/write AIE2 registers.
2.	Encounter an error stating the operation is not supported.
3.	Check aie2_pci.c and notice aie2_read_aie_reg is not compiled.
4.	Set AMDXDNA_AIE2_PRIV in the Makefile.
5.	Compilation fails due to missing aie2_internal.h.

Questions:

  • Is aie2_internal.h an internal/confidential file?
  • If not, will it be made available in a future release?

Any guidance on this issue would be greatly appreciated. Thank you!

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

No branches or pull requests

1 participant