Skip to content

Commit 27dc807

Browse files
committed
Move C++ helper header to utils
1 parent 998debe commit 27dc807

12 files changed

+15
-19
lines changed

.github/workflows/reusable_gpu.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ jobs:
9999
-DUMF_BUILD_LEVEL_ZERO_PROVIDER=OFF
100100
-DUMF_BUILD_${{inputs.name}}_PROVIDER=ON
101101
-DUMF_TESTS_FAIL_ON_SKIP=ON
102-
${{ matrix.os == 'Ubuntu' && matrix.build_type == 'Debug' && '-DUMF_USE_COVERAGE=ON' || '' }}
103-
${{ matrix.os == 'Windows' && '-DCMAKE_SUPPRESS_REGENERATION=ON' || '' }}
102+
${{ matrix.os == 'Ubuntu' && matrix.build_type == 'Debug' && '-DUMF_USE_COVERAGE=ON' || '' }}
103+
${{ matrix.os == 'Windows' && '-DCMAKE_SUPPRESS_REGENERATION=ON' || '' }}
104104
105105
- name: Build UMF
106106
run: cmake --build ${{env.BUILD_DIR}} --config ${{matrix.build_type}} -j ${{matrix.number_of_processors}}

scripts/qemu/configs/default.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,12 @@ Cell 2 | 0 | 1200MiB | 17, 28, 10 |
5050
<interconnects>
5151
<latency initiator='0' target='0' type='access' value='10'/>
5252
<bandwidth initiator='0' target='0' type='access' value='10485760' unit='B'/>
53-
5453
<latency initiator='0' target='1' type='access' value='20'/>
5554
<bandwidth initiator='0' target='1' type='access' value='5242880' unit='B'/>
56-
5755
<latency initiator='0' target='2' type='access' value='16'/>
5856
<bandwidth initiator='0' target='2' type='access' value='1048576' unit='B'/>
59-
6057
<latency initiator='1' target='1' type='access' value='10'/>
6158
<bandwidth initiator='1' target='1' type='access' value='10485760' unit='B'/>
62-
6359
<latency initiator='1' target='2' type='access' value='27'/>
6460
<bandwidth initiator='1' target='2' type='access' value='1048576' unit='B'/>
6561
</interconnects>

test/c_api/test_ut_asserts.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
*
3-
* Copyright (C) 2023-2024 Intel Corporation
3+
* Copyright (C) 2023-2025 Intel Corporation
44
*
55
* Under the Apache License v2.0 with LLVM Exceptions. See LICENSE.TXT.
66
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
@@ -9,7 +9,7 @@
99

1010
/*
1111
The project uses GTEST framework for testing, which is not supported in C
12-
These asserts should NOT be used in other purposes than for testing C API
12+
These asserts should NOT be used in other purposes than for testing C API
1313
*/
1414

1515
#ifndef UMF_TEST_UT_ASSERTS_H

test/common/pool.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
#include <umf/pools/pool_disjoint.h>
2323

2424
#include "base.hpp"
25-
#include "cpp_helpers.hpp"
2625
#include "provider.hpp"
26+
#include "utils/cpp_helpers.hpp"
2727

2828
namespace umf_test {
2929

test/common/provider.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
*
3-
* Copyright (C) 2023-2024 Intel Corporation
3+
* Copyright (C) 2023-2025 Intel Corporation
44
*
55
* Under the Apache License v2.0 with LLVM Exceptions. See LICENSE.TXT.
66
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
@@ -15,8 +15,8 @@
1515

1616
#include "base.hpp"
1717
#include "base_alloc_global.h"
18-
#include "cpp_helpers.hpp"
1918
#include "test_helpers.h"
19+
#include "utils/cpp_helpers.hpp"
2020

2121
namespace umf_test {
2222

test/provider_devdax_memory.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (C) 2024 Intel Corporation
1+
// Copyright (C) 2024-2025 Intel Corporation
22
// Under the Apache License v2.0 with LLVM Exceptions. See LICENSE.TXT.
33
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
44

@@ -11,8 +11,8 @@
1111

1212
#include "base.hpp"
1313

14-
#include "cpp_helpers.hpp"
1514
#include "test_helpers.h"
15+
#include "utils/cpp_helpers.hpp"
1616

1717
#include <umf/memory_provider.h>
1818
#include <umf/providers/provider_devdax_memory.h>

test/provider_file_memory.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
// Copyright (C) 2024 Intel Corporation
1+
// Copyright (C) 2024-2025 Intel Corporation
22
// Under the Apache License v2.0 with LLVM Exceptions. See LICENSE.TXT.
33
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
44

55
#include "base.hpp"
66

7-
#include "cpp_helpers.hpp"
87
#include "test_helpers.h"
8+
#include "utils/cpp_helpers.hpp"
99
#ifndef _WIN32
1010
#include "test_helpers_linux.h"
1111
#endif

test/provider_fixed_memory.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
#include "base.hpp"
66

7-
#include "cpp_helpers.hpp"
87
#include "test_helpers.h"
8+
#include "utils/cpp_helpers.hpp"
99
#ifndef _WIN32
1010
#include "test_helpers_linux.h"
1111
#endif

test/provider_os_memory.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44

55
#include "base.hpp"
66

7-
#include "cpp_helpers.hpp"
87
#include "ipcFixtures.hpp"
98
#include "test_helpers.h"
9+
#include "utils/cpp_helpers.hpp"
1010

1111
#include <umf/memory_provider.h>
1212
#include <umf/pools/pool_disjoint.h>

test/provider_tracking.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
#include "base.hpp"
66

7-
#include "cpp_helpers.hpp"
87
#include "test_helpers.h"
8+
#include "utils/cpp_helpers.hpp"
99
#ifndef _WIN32
1010
#include "test_helpers_linux.h"
1111
#endif

0 commit comments

Comments
 (0)