Skip to content

Commit efaf4ac

Browse files
committed
cleanup includes in Disjoint Pool
1 parent 0255017 commit efaf4ac

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

src/pool/pool_disjoint.c

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,23 @@
55
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
*/
77

8+
#include <assert.h>
9+
#include <ctype.h>
10+
#include <errno.h>
11+
#include <stdlib.h>
12+
#include <string.h>
13+
14+
#include <umf/memory_pool.h>
15+
#include <umf/memory_pool_ops.h>
16+
#include <umf/memory_provider.h>
17+
18+
#include "base_alloc_global.h"
819
#include "pool_disjoint_internal.h"
20+
#include "provider/provider_tracking.h"
21+
#include "uthash/utlist.h"
22+
#include "utils_common.h"
23+
#include "utils_log.h"
24+
#include "utils_math.h"
925

1026
// Temporary solution for disabling memory poisoning. This is needed because
1127
// AddressSanitizer does not support memory poisoning for GPU allocations.

src/pool/pool_disjoint_internal.h

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,28 +8,12 @@
88
#ifndef UMF_POOL_DISJOINT_INTERNAL_H
99
#define UMF_POOL_DISJOINT_INTERNAL_H 1
1010

11-
#include <assert.h>
12-
#include <ctype.h>
13-
#include <errno.h>
14-
#include <math.h>
1511
#include <stdbool.h>
16-
#include <stdlib.h>
17-
#include <string.h>
1812

19-
#include <umf/memory_pool.h>
20-
#include <umf/memory_pool_ops.h>
21-
#include <umf/memory_provider.h>
2213
#include <umf/pools/pool_disjoint.h>
2314

2415
#include "critnib/critnib.h"
25-
#include "uthash/utlist.h"
26-
27-
#include "base_alloc_global.h"
28-
#include "provider/provider_tracking.h"
29-
#include "utils_common.h"
3016
#include "utils_concurrency.h"
31-
#include "utils_log.h"
32-
#include "utils_math.h"
3317

3418
typedef struct bucket_t bucket_t;
3519
typedef struct slab_t slab_t;

0 commit comments

Comments
 (0)