Skip to content
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

[HIP] Support compressing device binary #67162

Merged
merged 1 commit into from
Oct 4, 2023
Merged

Commits on Oct 3, 2023

  1. [HIP] Support compressing device binary

    Add option -f[no-]offload-compress to clang to enable/disable
    compression of device binary for HIP. By default it is disabled.
    
    Add option -compress to clang-offload-bundler to enable
    compression of offload bundle. By default it is disabled.
    
    When enabled, zstd or zlib is used for compression when
    available.
    
    When disabled, it is NFC compared to previous behavior. The
    same offload bundle format is used as before.
    
    Clang-offload-bundler automatically detects whether the
    input file to be unbundled is compressed and the compression
    method and decompress if necessary.
    yxsamliu committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    c2d5f80 View commit details
    Browse the repository at this point in the history