rust-ptx-builder
rust-ptx-builder copied to clipboard
Is there a crate somewhere using this ?
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.
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.
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.
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.
@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.