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 function name for FPGA in LibraryLoadException #1084

Merged
merged 1 commit into from
Aug 29, 2024

Conversation

amehra-ni
Copy link
Contributor

What does this Pull Request accomplish?

See Rohan's comment here.
Previously, we introduced a new parameter, c_dll_function_prefix, for FPGA because the function names in the header file did not match those in the DLL for FPGA. In the DLL, the functions are named NiFpgaDll_Open, whereas in the header file, they are named NiFpga_Open. Rohan mentioned that we should also update the function names in the LibraryLoadException message. This PR accomplishes that.

Why should this Pull Request be merged?

Updated the cname to use c_dll_function_prefix as it will contain the DLL prefix or the normal C prefix.

What testing has been done?

  • gRPC builds fine.

@amehra-ni amehra-ni self-assigned this Aug 28, 2024
@amehra-ni amehra-ni merged commit c56a89e into main Aug 29, 2024
10 of 11 checks passed
@amehra-ni amehra-ni deleted the users/amehra/fix-function-name branch August 29, 2024 08:12
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.

3 participants