Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v1.2.x] UCT/UD: Fix clang5 compilation #2119

Merged
merged 1 commit into from
Dec 27, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/uct/ib/ud/base/ud_def.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
#ifndef UD_DEF_H_
#define UD_DEF_H_


#include <ucs/sys/math.h>

#include <uct/ib/base/ib_iface.h>
#include <ucs/arch/cpu.h>
#include <ucs/datastruct/queue.h>
#include <ucs/datastruct/frag_list.h>
#include <uct/ib/base/ib_iface.h>
#include <ucs/sys/math.h>


#define UCT_UD_QP_HASH_SIZE 256
#define UCT_UD_TX_MODERATION 64
Expand Down Expand Up @@ -145,7 +145,7 @@ typedef struct uct_ud_send_skb {
uint8_t flags;
int8_t status; /* used in case of failure */
uct_ud_neth_t neth[0];
} UCS_S_PACKED uct_ud_send_skb_t;
} UCS_S_PACKED UCS_V_ALIGNED(UCS_SYS_CACHE_LINE_SIZE) uct_ud_send_skb_t;


typedef struct uct_ud_comp_desc {
Expand Down