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

Is there a crate somewhere using this ? #12

Open
gnzlbg opened this issue Nov 10, 2018 · 4 comments
Open

Is there a crate somewhere using this ? #12

gnzlbg opened this issue Nov 10, 2018 · 4 comments

Comments

@gnzlbg
Copy link
Contributor

gnzlbg commented Nov 10, 2018

It would be nice to have a repository somewhere that shows how to use this.

E.g. a device crate with a kernel, and then a binary crate, that launches the kernel.

Ideally it should at least compile on travis.

@denzp
Copy link
Owner

denzp commented Nov 10, 2018

Most recent examples that use v0.5 can be found in not yet published ptx-support repo. It should be possible to add travis config to ensure those examples can be built.

Also, outdated v0.4 is being used by a CUDA tutorial. Sooner or later it has to be updated to use the latest version of the crate, though.

@gnzlbg
Copy link
Contributor Author

gnzlbg commented Nov 11, 2018

Would it make sense to moving all these crates to its own single repo, e.g., using a workspace ?

It seems to me that these all have to work together, be tested together, the tests need to work across crates, the examples use multiple crates, etc.

@denzp
Copy link
Owner

denzp commented Nov 11, 2018

My goal was to create a high-level CUDA framework (I called it current) and it would make sense to move ptx-builder, ptx-linker and ptx-support crates in the workspace. But since the high-level crate is de-facto in an abandoned state, it's not yet possible.

Also, on another hand, I was thinking about the possibility to ship ptx-linker as a Rustup component, so there will be no need to use hacky rustc-llvm-proxy and it would be linked against real Rustc LLVM lib. In this case ptx-linker probably should live in a separate repo.

@gnzlbg
Copy link
Contributor Author

gnzlbg commented Nov 11, 2018

@denzp I've tried to start a Rust CUDA-wg so that those interested can have a place to communicate, and hopefully afterwards we can all start working on common "framework-independent" tooling.

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

No branches or pull requests

2 participants