Merge pull request #6624 from uliegecsm/kokkos-graph-hip-fixgraph(HIP): adding inline keyword to fix #6623