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

Fix initialization of nnpa_query_result at compile time for zdnn library calls #3034

Open
Sunny-Anand opened this issue Dec 20, 2024 · 0 comments

Comments

@Sunny-Anand
Copy link
Collaborator

Some of the zdnn library functions are called at compile time in onnx-mlir to handle constants in the model. In those calls, verify_transformed_descriptor() will be called indirectly. This function requires the value of nnpa_query_result. It is not clear to me how to initialize the Napa_query_result in onnx-mlir:
The value should be set to the target specified with compilation flag --mcpu. But the compiler may be running on a different machine.
Files containing the changessrc/Accelerators/NNPA/Support/Stickify/Stickify.cpp

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