louvainModularity - 2023.2 English

Vitis Libraries

Release Date
2023.2 English
#include "xf_graph_L3.hpp"
void louvainModularity (
    std::shared_ptr <xf::graph::L3::Handle> handle,
    int flowMode,
    GLV* glv,
    GLV* pglv,
    LouvainPara* para_lv

louvain algorithm is implemented.


handle Graph library L3 handle
flowMode flowMode of multi louvain kernel. LOUVAINMOD_PRUNING_KERNEL = 1 is a 1cu kernel design fit for u50 LOUVAINMOD_2CU_U55C_KERNEL = 2 a 2cu kernel design fit for u55c the performance of one compute unit by different board is the same
glv the original graph info before partition.
pglv one of the partitioned sub-graph info to input to kernel.
para_lv parameters of louvain kernel