[rocm-libraries] ROCm/rocm-libraries#7111 (commit 651947f)

[CK] Fix latest batch of staging compiler warnings

## Motivation

Suppress the new batch of clang lifetimebound and invalidation warnings
with the latest staging compiler.

## 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-05-08 14:15:31 +00:00
committed by assistant-librarian[bot]
parent 41064d8684
commit b05040b919
37 changed files with 117 additions and 11 deletions

View File

@@ -13,6 +13,8 @@
#include "ck_tile/core/numeric/int8.hpp"
#include "ck_tile/core/numeric/mxfp_convert.hpp"
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wlifetime-safety-intra-tu-suggestions"
namespace ck_tile {
#if CK_TILE_USE_CUSTOM_DATA_TYPE
@@ -147,3 +149,4 @@ CK_TILE_SCALED_TYPE_CONVERT(fp16_t, fp16, pk_fp4_t, pk_fp4)
#endif
} // namespace ck_tile
#pragma clang diagnostic pop

View File

@@ -9,6 +9,8 @@
#include <thread>
#include <string>
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wlifetime-safety-intra-tu-suggestions"
namespace ck_tile {
enum class naive_attention_layout_enum
@@ -824,3 +826,4 @@ CK_TILE_HOST float naive_attention_fwd(naive_attention_fwd_traits t,
#undef CK_TILE_DISPATCH_NAIVE_ATTEN_FWD_INTERNAL_
} // namespace ck_tile
#pragma clang diagnostic pop