From e70f7dff80d784863bd57fe8e5b767aa6e1ab697 Mon Sep 17 00:00:00 2001 From: LLVM Packaging Team Date: Wed, 30 Oct 2024 21:56:13 +0100 Subject: [PATCH] offload-disable-static-assert =================================================================== Gbp-Pq: Name offload-disable-static-assert.diff --- offload/include/Shared/APITypes.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/offload/include/Shared/APITypes.h b/offload/include/Shared/APITypes.h index 5b22bbaac1..5c7400fe4a 100644 --- a/offload/include/Shared/APITypes.h +++ b/offload/include/Shared/APITypes.h @@ -112,10 +112,10 @@ struct KernelArgsTy { }; static_assert(sizeof(KernelArgsTy().Flags) == sizeof(uint64_t), "Invalid struct size"); -static_assert(sizeof(KernelArgsTy) == +/*static_assert(sizeof(KernelArgsTy) == (8 * sizeof(int32_t) + 3 * sizeof(int64_t) + 4 * sizeof(void **) + 2 * sizeof(int64_t *)), - "Invalid struct size"); + "Invalid struct size");*/ /// Flat array of kernel launch parameters and their total size. struct KernelLaunchParamsTy { -- 2.30.2