-
Notifications
You must be signed in to change notification settings - Fork 244
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
Exploration #1
Comments
Some very high level tasks, in vague order of implementation order:
|
the rust cuda ecosystem has something like this (https://crates.io/crates/ptx-builder). All you have to specify in a build.rs file is: use ptx_builder::error::Result;
use ptx_builder::prelude::*;
fn main() -> Result<()> {
let builder = Builder::new(".")?;
CargoAdapter::with_env_var("KERNEL_PTX_PATH").build(builder);
} which allows a user to get the contents of their ptx file through: let ptx_file = CString::new(include_str!(env!("KERNEL_PTX_PATH"))).unwrap(); I'm currently doing some research to see how it works |
We've mostly already implemented things in this issue, and it's mostly been replicated in #47, so closing this. |
…Studios#1) * Change URLs * Switch away from paid runners. * Drop copyright from MIT license. Similar to the Rust project. See the git history of https://github.com/rust-lang/rust/blob/master/LICENSE-MIT
The text was updated successfully, but these errors were encountered: