#cuda #format #manipulate #ptx #entries #elf #cuobjdump

bin+lib fatbinary

Rust library to manipulate CUDA fatbinary format

2 unstable releases

0.2.0 Oct 16, 2023
0.1.0 Oct 16, 2023

#35 in #manipulate

MIT license

21KB
449 lines

fatbinary

Rust library to manipulate CUDA fatbinary format. Also provides utility to mimic the (partial) behavior of fatbinary and cuobjdump provided by CUDA.

crates.io

Acknowledgements

The library is inspired by:


lib.rs:

fatbinary crate: parse and manipulate fatbinary files

You can use [FatBinary] struct to open or create fatbinary files. Fatbinary contains multiple entries containing ELF or PTX files, and each entry can be accessed via [FatBinaryEntry].

Dependencies

~3MB
~59K SLoC