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

cudax MVP Example #2159

Closed
Tracked by #1646
jrhemstad opened this issue Aug 1, 2024 · 0 comments · Fixed by #2160
Closed
Tracked by #1646

cudax MVP Example #2159

jrhemstad opened this issue Aug 1, 2024 · 0 comments · Fixed by #2160

Comments

@jrhemstad
Copy link
Collaborator

jrhemstad commented Aug 1, 2024

I'd like a minimal example of cudax:: that illustrates the most important features:

  • Allocate and initialize device memory
  • Copy data to<->from host
  • Manage devices and create resources like streams and events
  • Launch a kernel on a particular device/stream

I think it would be appropriate for our example to showcase a new and improved vectorAdd that showcases the following pieces of new machinery:

  • cuda::mr data structures for allocation
  • cudax device, stream, event data structures
  • cudax::launch to launch a kernel
  • (anything else important I'm missing)

Let's put this under the cudax/examples directory. In time, I think it will be a good idea for us to mirror some of the examples from the canonical cuda-samples.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant