Skip to content

Commit 037a85a

Browse files
committed
Fix the OSHMEM request padding.
This patch fixes a missed case by 5b670a2 (PR #3634). Signed-off-by: George Bosilca <[email protected]>
1 parent 1665d77 commit 037a85a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

oshmem/request/request.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
2-
/* -*- Mode: C; c-basic-offset:4 ; -*- */
32
/*
43
* Copyright (c) 2013 Mellanox Technologies, Inc.
54
* All rights reserved.
@@ -138,7 +137,7 @@ typedef struct oshmem_request_t oshmem_request_t;
138137
* See oshmem/communicator/communicator.h comments with struct oshmem_group_t
139138
* for full explanation why we chose the following padding construct for predefines.
140139
*/
141-
#define PREDEFINED_REQUEST_PAD (sizeof(void*) * 32)
140+
#define PREDEFINED_REQUEST_PAD 256
142141

143142
struct oshmem_predefined_request_t {
144143
struct oshmem_request_t request;

0 commit comments

Comments
 (0)