Skip to content

Graph Coloring

Nathan Ellingwood edited this page Mar 20, 2019 · 2 revisions

Graph Coloring

The graph_color_symbolic function resides in the KokkosGraph::Experimental namespace. A kernel handle is used to set options such as execution space, memory space, team size, and which algorithm implementation is used.

Header File: KokkosGraph_graph_color.hpp

Usage:

KokkosGraph::Experimental::graph_color (
    KernelHandle *handle,
    typename KernelHandle::nnz_lno_t num_rows,
    typename KernelHandle::nnz_lno_t num_cols,
    lno_row_view_t_ row_map,
    lno_nnz_view_t_ entries,
    bool is_symmetric = true)

Requirements:

Coloring Algorithms:

  • COLORING_DEFAULT
  • COLORING_SERIAL
  • COLORING_VB
  • COLORING_VBBIT
  • COLORING_VBCS
  • COLORING_EB

EXAMPLE

https://github.com/kokkos/kokkos-kernels/blob/master/unit_test/graph/Test_Graph_graph_color.hpp

Clone this wiki locally