From c93c700b19b479f93fd43e374566ad2019a5d8c5 Mon Sep 17 00:00:00 2001 From: achirkin Date: Thu, 25 Aug 2022 08:04:15 +0200 Subject: [PATCH] Add alignment to the TxN_t vectorized type --- cpp/include/raft/vectorized.cuh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/include/raft/vectorized.cuh b/cpp/include/raft/vectorized.cuh index b2e4940dc8..6f22d740ca 100644 --- a/cpp/include/raft/vectorized.cuh +++ b/cpp/include/raft/vectorized.cuh @@ -269,7 +269,7 @@ struct TxN_t { /** defines the number of 'math_t' types stored by this struct */ static const int Ratio = veclen_; - struct { + struct alignas(io_t) { /** the vectorized data that is used for subsequent operations */ math_t data[Ratio]; } val;