Skip to content

tests(cg): use Kokkos::Graph#154

Merged
romintomasetti merged 1 commit into
mainfrom
cg-graph
Jul 11, 2025
Merged

tests(cg): use Kokkos::Graph#154
romintomasetti merged 1 commit into
mainfrom
cg-graph

Conversation

@romintomasetti

Copy link
Copy Markdown
Collaborator

Summary

This PR tries to build the CG algorithm from #150 with Kokkos::Graph.

Description

For now, there are many restrictions / issues.

For instance, I cannot use KokkosSparse::spmv for the following reasons:

  • It will not return the new Kokkos node. Adding successors is hard.
  • KokkosSparse::spmv is not graph-compatible because it computes/create stuff that will eventually not persist (descriptors and what not). Wrapper a KokkosSparse::spmv in a pred.cuda_capture is a guaranteed highway to hell.

Related to

@romintomasetti romintomasetti self-assigned this Apr 22, 2025
@romintomasetti romintomasetti marked this pull request as ready for review April 25, 2025 07:25
@romintomasetti romintomasetti force-pushed the cg-graph branch 5 times, most recently from c291ddf to 30d5c16 Compare April 25, 2025 14:30
Comment thread tests/cg/test_kokkos.cpp Outdated
@romintomasetti

Copy link
Copy Markdown
Collaborator Author

@maartenarnst I need uliegecsm/kokkos-utils#48 to make it better.

Comment thread tests/cg/Kokkos.hpp Outdated
@romintomasetti romintomasetti force-pushed the cg-graph branch 2 times, most recently from d52b30d to 084b5c9 Compare May 13, 2025 07:38
@romintomasetti romintomasetti force-pushed the cg-graph branch 5 times, most recently from 4f307e8 to 0f56808 Compare May 15, 2025 10:22
@romintomasetti romintomasetti force-pushed the cg-graph branch 2 times, most recently from b00057a to 2e48d59 Compare May 30, 2025 08:01
@romintomasetti romintomasetti force-pushed the cg-graph branch 2 times, most recently from 7d95136 to 0829d66 Compare June 23, 2025 19:57
@romintomasetti romintomasetti force-pushed the cg-graph branch 3 times, most recently from 9e0a697 to 5449050 Compare June 24, 2025 10:56
@romintomasetti romintomasetti force-pushed the cg-graph branch 10 times, most recently from 1151b88 to c312cfe Compare July 2, 2025 12:09
Comment thread algorithms/cg/Graph.hpp Outdated
Comment thread algorithms/cg/Graph.hpp Outdated
Comment thread algorithms/cg/Graph.hpp Outdated
Comment thread algorithms/cg/Graph.hpp
Comment thread algorithms/cg/Graph.hpp
Comment thread benchmarks/cg/benchmark_compare.cpp
Signed-off-by: romintomasetti <romin.tomasetti@gmail.com>
@romintomasetti romintomasetti merged commit 25beedc into main Jul 11, 2025
20 checks passed
@romintomasetti romintomasetti deleted the cg-graph branch July 11, 2025 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants