-
Notifications
You must be signed in to change notification settings - Fork 57
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
How to run the example with add.cubin file? #47
Comments
That's a fair point! I don't know, I've only ever used PTX files.
Using |
Unfortunately even the load_from_file() doesn't work even if I set the correct path, |
I'm successfully using How are you compiling the binary? |
I tried to use nvcc-fatbin add.cu to compile the file using load_from_fiile to load. Error NoBinaryForGpu |
I'm trying to run the example with the add.cubin kernel but it seems not to work.
I've tried
"...
let module_data = CString::new(include_str!("../add.cubin"))?;
let module = Module::load_from_string(&module_data)?;
..."
but I got
error: src/../add.cubin wasn't a utf-8 file
the I've tried
"...
let filename = CString::new("./sub.cubin")?;
let module = Module::load_from_file(&filename)?;
..."
but I got
Error: InvalidSouce
The text was updated successfully, but these errors were encountered: