Skip to content

Chore: Fix some warnings and add primer to README.md #63

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

Merged
merged 7 commits into from
Mar 16, 2022
Merged

Conversation

frjnn
Copy link
Member

@frjnn frjnn commented Mar 16, 2022

No description provided.


### Device buffers

This crate is built around [`cust`](https://docs.rs/cust/latest/cust/memory/index.html) own memory routines and transfer functions.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should prob just be "around cust" in general, maybe add "... which is our core wrapper for interfacing with the CUDA Driver API"


cuDNN contexts can be created as shown in the following snippet:

```rust
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cudnn requires u to init first, no? at least cust does, maybe include initialization in this snippet?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the snippet runs fine, but I will add the ctx init, moreover many cudnn structs can be initialised without a ctx, although the docs specify otherwise

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh wonderful

@frjnn frjnn merged commit f258746 into master Mar 16, 2022
@frjnn frjnn deleted the cudnn-dev branch March 16, 2022 21:32
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