Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/n-eiling/cuda-fatbin-decompression


https://github.com/n-eiling/cuda-fatbin-decompression

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

# CUDA Fatbin Decompression

This projects decompressed CUDA fatbins that were compressed by `nvcc`, e.g., by using the `-Xfatbin --compress-all` flag.

Usage:
```
decompress []
```

The first parameter should reference a file containing a compressed CUDA fatbin. This can be exported from a binary containing CUDA code using:
```
objcopy -O binary --only-section=.nv_fatbin
```
The program optionally uses the second paramter to compare the decompressed file to an uncompressed version of the first file to check if the output
matches that of nvcc. To obtain an uncompressed CUDA fatbin use the nvcc flag `-no-compress`.

The project is licensed under Apache License 2.0

Copyright 2023 Niklas Eiling