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;