Create a new small utility library that can initialize ACCL and the network kernels if the user adheres to the naming in the standard ACCL configs. This approach allows users to easily start using ACCL without having to write/copy a lot of setup code from the XRT test, while still allowing more advanced users to keep using ACCL in the current way.
Using the network utils library, a user now only has to call generate_ranks and initialize_accl to get an ACCL instance started.
Other advantages from using this library:
Less duplicate code in XRT host and HLS tests (and upcoming benchmark code).
If changes are required to the setup code, users will now automatically pull those changes in as well.
PR has been tested against hardware (UDP, TCP, axis3x) and emulator.
Create a new small utility library that can initialize ACCL and the network kernels if the user adheres to the naming in the standard ACCL configs. This approach allows users to easily start using ACCL without having to write/copy a lot of setup code from the XRT test, while still allowing more advanced users to keep using ACCL in the current way.
Using the network utils library, a user now only has to call
generate_ranks
andinitialize_accl
to get an ACCL instance started.Other advantages from using this library:
PR has been tested against hardware (UDP, TCP, axis3x) and emulator.