Remove struct : cute::aligned_struct to avoid error with gcc 12

This commit is contained in:
Tri Dao 2024-08-02 00:59:35 -07:00
parent c33de664a1
commit 3f6ff1c1c5

View File

@ -72,14 +72,14 @@ public:
// Kernel level shared memory storage
struct SharedStorage {
struct : cute::aligned_struct<1024> {
struct {
union {
typename CollectiveMainloop::TensorStorage mainloop;
typename CollectiveEpilogue::TensorStorage epilogue;
};
};
struct : cute::aligned_struct<16> {
struct {
alignas(16) cutlass::arch::ClusterTransactionBarrier barrier_KV;
alignas(16) cutlass::arch::ClusterBarrier barrier_dKV;
alignas(16) typename CollectiveMainloop::MainloopPipeline::SharedStorage pipeline_q;