Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cuGraph examples #32

Open
ashvardanian opened this issue Jan 29, 2025 · 10 comments
Open

Add cuGraph examples #32

ashvardanian opened this issue Jan 29, 2025 · 10 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@ashvardanian
Copy link
Owner

We currently have a pretty extensive list of graph storage and processing approaches on the CPU, but lack GPU analogs. This can be a great opportunity to showcase both the more advanced and rarely used parts of the Nvidia libraries, as well as explore atomic variables and concurrent data-structure implementations on massively parallel chip architectures.

This is also worth covering on the Python side with the available Python cuGraph bindings:

@ashvardanian ashvardanian added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Jan 29, 2025
@syedshazli
Copy link

I can get started on this, can you elaborate on what you'd like to see as well as where in the project structure this should be placed?

@ashvardanian
Copy link
Owner Author

The cuGraph invocations should go into less_slow.cu, while the benchmark logic should go after the CPU-side Graph-related benchmarks in less_slow.cpp.

@syedshazli
Copy link

Nice, I think you might have to assign the issue to me and I'll get started. I'll ask any questions in here along the way

@ashvardanian
Copy link
Owner Author

Done! Looking forward to your PR @syedshazli!

@syedshazli
Copy link

Hi Ash, thanks for assigning me the issue. I've worked with Google benchmark in the past, but I was trying to use cmake as described in the README. Was wondering if you had anything like this message pop up before? I think my current version of Cmake (3.22) won't allow me to run the commands which require Cmake 3.25. When I try to upgrade versions, I get this.

Image

@ashvardanian
Copy link
Owner Author

ashvardanian commented Feb 15, 2025

@syedshazli , you can fetch a newer CMake from PyPi 🤗

@syedshazli
Copy link

Hi Ash, I'm currently a University student having finals and projects due this week and next week, so I won't be able to set aside much time until next Friday. If you want to assign this PR to someone else or work on it yourself, feel free,if not then I can get started next week. Sorry for the inconvenience

@ashvardanian
Copy link
Owner Author

No rush! Best of luck with exams! Submit a PR whenever ready, @syedshazli 🤗

@syedshazli
Copy link

Thank you!

@syedshazli
Copy link

Hey Ash, I really like the way the repo is right now, but to be honest I've never used CUDA which is why I'm learning CUDA C right now. Sicne it might take some time to get the basics of CUDA down, I'm not sure how much help I can be when referencing Cugraph. This repo seeks to get the most efficient C++/Cuda code out there, and I don't know if I can writie it given I don't have the basics of it down yet.

So far reading the Cuda_by_example pdf out there by Nvidia.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants