[CK] Fix/suppress clang lifetimebound warnings with staging compiler. (#6550)

## Motivation

New changes from upstream llvm-project cause an avalanche of warnings in
CK. Gonna disable them by ignoring the
lifetime-safety-intra-tu-suggestions flag until a better permanent
solution is found.

## Technical Details

<!-- Explain the changes along with any relevant GitHub links. -->

## Test Plan

<!-- Explain any relevant testing done to verify this PR. -->

## Test Result

<!-- Briefly summarize test outcomes. -->

## Submission Checklist

- [ ] Look over the contributing guidelines at
https://github.com/ROCm/ROCm/blob/develop/CONTRIBUTING.md#pull-requests.
This commit is contained in:
Illia Silin
2026-04-22 08:47:47 -07:00
committed by GitHub
parent 1e4eebfba8
commit cfb09d76a5
139 changed files with 639 additions and 15 deletions

View File

@@ -14,6 +14,9 @@
#include "ck_tile/host/concat.hpp"
#include "ck_tile/ops/gemm_quant/pipeline/tile_gemm_quant_traits.hpp"
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wlifetime-safety-intra-tu-suggestions"
namespace ck_tile {
namespace detail {
@@ -1574,3 +1577,4 @@ struct QuantGemmKernel
};
} // namespace ck_tile
#pragma clang diagnostic pop

View File

@@ -15,6 +15,9 @@
#include <hip/hip_runtime.h>
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wlifetime-safety-intra-tu-suggestions"
namespace ck_tile {
/// @brief The Grouped GEMM kernel host arguments.
@@ -646,3 +649,4 @@ struct QuantGroupedGemmKernel
};
} // namespace ck_tile
#pragma clang diagnostic pop