Skip to content

Commit

Permalink
UCT/UD: Fix clang5 compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
yosefe committed Dec 26, 2017
1 parent fc625eb commit 0074783
Showing 1 changed file with 5 additions and 5 deletions.
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

0 comments on commit 0074783

Please sign in to comment.