To load and launch louvain Modularity for multi compute units on multi boards, louvainRun API is provided with two kernel modes whose command is -kernel_mode.
- LOUVAINMOD_PRUNING_KERNEL, -kernel_mode 1, launch the pre-build L2 u50 1 cu kernel on multi boards.
- LOUVAINMOD_2CU_U55C_KERNEL, -kernel_mode 2, launch the pre-build L2 u55c 2 cu kernel on multi boards simultaneously.