Skip to content

Commit 4181185

Browse files
Improve build time: command_queue tests
Signed-off-by: Dunajski, Bartosz <[email protected]> Change-Id: Ia80a8bfed28789c6c7a53478cdd56f883d61adf3
1 parent 5457216 commit 4181185

File tree

68 files changed

+261
-84
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+261
-84
lines changed

unit_tests/command_queue/CMakeLists.txt

Lines changed: 67 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -22,88 +22,93 @@ set(IGDRCL_SRCS_tests_command_queue
2222
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
2323
${CMAKE_CURRENT_SOURCE_DIR}/buffer_operations_fixture.h
2424
${CMAKE_CURRENT_SOURCE_DIR}/buffer_operations_withAsyncGPU_fixture.h
25-
${CMAKE_CURRENT_SOURCE_DIR}/command_queue_flush_waitlist_tests.cpp
25+
${CMAKE_CURRENT_SOURCE_DIR}/command_queue_flush_waitlist_tests.inl
2626
${CMAKE_CURRENT_SOURCE_DIR}/command_queue_hw_tests.cpp
27-
${CMAKE_CURRENT_SOURCE_DIR}/command_queue_tests.cpp
28-
${CMAKE_CURRENT_SOURCE_DIR}/dispatch_walker_tests.cpp
29-
${CMAKE_CURRENT_SOURCE_DIR}/drm_requirements_tests.cpp
27+
${CMAKE_CURRENT_SOURCE_DIR}/command_queue_tests.inl
28+
${CMAKE_CURRENT_SOURCE_DIR}/command_queue_tests_wrapper1.cpp
29+
${CMAKE_CURRENT_SOURCE_DIR}/command_queue_tests_wrapper2.cpp
30+
${CMAKE_CURRENT_SOURCE_DIR}/command_queue_tests_wrapper3.cpp
31+
${CMAKE_CURRENT_SOURCE_DIR}/command_queue_tests_wrapper4.cpp
32+
${CMAKE_CURRENT_SOURCE_DIR}/command_queue_tests_wrapper5.cpp
33+
${CMAKE_CURRENT_SOURCE_DIR}/dispatch_walker_tests.inl
34+
${CMAKE_CURRENT_SOURCE_DIR}/drm_requirements_tests.inl
3035
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_api_tests_mt_with_asyncGPU.cpp
31-
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_barrier_tests.cpp
32-
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_copy_buffer_event_tests.cpp
36+
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_barrier_tests.inl
37+
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_copy_buffer_event_tests.inl
3338
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_copy_buffer_fixture.h
3439
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_copy_buffer_rect_fixture.h
35-
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_copy_buffer_rect_tests.cpp
36-
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_copy_buffer_tests.cpp
40+
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_copy_buffer_rect_tests.inl
41+
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_copy_buffer_tests.inl
3742
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_copy_buffer_to_image_fixture.h
38-
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_copy_buffer_to_image_tests.cpp
43+
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_copy_buffer_to_image_tests.inl
3944
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_copy_image_fixture.h
40-
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_copy_image_tests.cpp
45+
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_copy_image_tests.inl
4146
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_copy_image_to_buffer_fixture.h
42-
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_copy_image_to_buffer_tests.cpp
43-
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_debug_kernel_tests.cpp
44-
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_fill_buffer_event_tests.cpp
47+
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_copy_image_to_buffer_tests.inl
48+
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_debug_kernel_tests.inl
49+
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_fill_buffer_event_tests.inl
4550
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_fill_buffer_fixture.h
46-
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_fill_buffer_negative_tests.cpp
47-
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_fill_buffer_tests.cpp
51+
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_fill_buffer_negative_tests.inl
52+
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_fill_buffer_tests.inl
4853
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_fill_image_fixture.h
49-
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_fill_image_tests.cpp
54+
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_fill_image_tests.inl
5055
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_fixture.cpp
5156
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_fixture.h
52-
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_handler_tests.cpp
53-
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_kernel_event_tests.cpp
54-
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_kernel_global_offset_tests.cpp
55-
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_kernel_local_work_size_tests.cpp
57+
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_handler_tests.inl
58+
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_kernel_event_tests.inl
59+
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_kernel_global_offset_tests.inl
60+
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_kernel_local_work_size_tests.inl
5661
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_kernel_tests.cpp
57-
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_kernel_two_ioq_tests.cpp
58-
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_kernel_two_ooq_tests.cpp
59-
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_kernel_two_walker_ioq_tests.cpp
60-
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_kernel_two_walker_ooq_tests.cpp
62+
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_kernel_two_ioq_tests.inl
63+
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_kernel_two_ooq_tests.inl
64+
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_kernel_two_walker_ioq_tests.inl
65+
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_kernel_two_walker_ooq_tests.inl
6166
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_map_buffer_fixture.h
62-
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_map_buffer_tests.cpp
63-
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_map_image_tests.cpp
64-
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_marker_tests.cpp
65-
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_media_kernel.cpp
66-
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_migrate_mem_objects_tests.cpp
67-
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_read_buffer_event_tests.cpp
67+
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_map_buffer_tests.inl
68+
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_map_image_tests.inl
69+
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_marker_tests.inl
70+
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_media_kernel.inl
71+
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_migrate_mem_objects_tests.inl
72+
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_read_buffer_event_tests.inl
6873
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_read_buffer_fixture.h
6974
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_read_buffer_rect_fixture.h
70-
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_read_buffer_rect_tests.cpp
71-
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_read_buffer_tests.cpp
75+
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_read_buffer_rect_tests.inl
76+
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_read_buffer_tests.inl
7277
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_read_image_fixture.h
73-
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_read_image_tests.cpp
74-
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_svm_mem_copy_tests.cpp
75-
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_svm_mem_fill_tests.cpp
76-
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_svm_tests.cpp
77-
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_thread_tests.cpp
78-
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_unmap_memobject_tests.cpp
79-
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_waitlist_tests.cpp
80-
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_write_buffer_event_tests.cpp
78+
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_read_image_tests.inl
79+
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_svm_mem_copy_tests.inl
80+
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_svm_mem_fill_tests.inl
81+
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_svm_tests.inl
82+
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_thread_tests.inl
83+
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_unmap_memobject_tests.inl
84+
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_waitlist_tests.inl
85+
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_write_buffer_event_tests.inl
8186
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_write_buffer_rect_fixture.h
82-
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_write_buffer_rect_tests.cpp
83-
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_write_buffer_tests.cpp
87+
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_write_buffer_rect_tests.inl
88+
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_write_buffer_tests.inl
8489
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_write_image_fixture.h
85-
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_write_image_tests.cpp
86-
${CMAKE_CURRENT_SOURCE_DIR}/finish_tests.cpp
87-
${CMAKE_CURRENT_SOURCE_DIR}/flattened_id_tests.cpp
88-
${CMAKE_CURRENT_SOURCE_DIR}/flush_tests.cpp
89-
${CMAKE_CURRENT_SOURCE_DIR}/get_command_queue_info_tests.cpp
90-
${CMAKE_CURRENT_SOURCE_DIR}/get_size_required_buffer_tests.cpp
91-
${CMAKE_CURRENT_SOURCE_DIR}/get_size_required_image_tests.cpp
92-
${CMAKE_CURRENT_SOURCE_DIR}/get_size_required_tests.cpp
93-
${CMAKE_CURRENT_SOURCE_DIR}/ioq_task_tests.cpp
90+
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_write_image_tests.inl
91+
${CMAKE_CURRENT_SOURCE_DIR}/finish_tests.inl
92+
${CMAKE_CURRENT_SOURCE_DIR}/flattened_id_tests.inl
93+
${CMAKE_CURRENT_SOURCE_DIR}/flush_tests.inl
94+
${CMAKE_CURRENT_SOURCE_DIR}/get_command_queue_info_tests.inl
95+
${CMAKE_CURRENT_SOURCE_DIR}/get_size_required_buffer_tests.inl
96+
${CMAKE_CURRENT_SOURCE_DIR}/get_size_required_image_tests.inl
97+
${CMAKE_CURRENT_SOURCE_DIR}/get_size_required_tests.inl
98+
${CMAKE_CURRENT_SOURCE_DIR}/ioq_task_tests.inl
9499
${CMAKE_CURRENT_SOURCE_DIR}/ioq_task_tests_mt.cpp
95-
${CMAKE_CURRENT_SOURCE_DIR}/local_id_tests.cpp
96-
${CMAKE_CURRENT_SOURCE_DIR}/local_work_size_tests.cpp
97-
${CMAKE_CURRENT_SOURCE_DIR}/multi_dispatch_info_tests.cpp
98-
${CMAKE_CURRENT_SOURCE_DIR}/multiple_map_buffer_tests.cpp
99-
${CMAKE_CURRENT_SOURCE_DIR}/multiple_map_image_tests.cpp
100-
${CMAKE_CURRENT_SOURCE_DIR}/oom_buffer_tests.cpp
101-
${CMAKE_CURRENT_SOURCE_DIR}/oom_image_tests.cpp
102-
${CMAKE_CURRENT_SOURCE_DIR}/oom_tests.cpp
103-
${CMAKE_CURRENT_SOURCE_DIR}/ooq_task_tests.cpp
100+
${CMAKE_CURRENT_SOURCE_DIR}/local_id_tests.inl
101+
${CMAKE_CURRENT_SOURCE_DIR}/local_work_size_tests.inl
102+
${CMAKE_CURRENT_SOURCE_DIR}/multi_dispatch_info_tests.inl
103+
${CMAKE_CURRENT_SOURCE_DIR}/multiple_map_buffer_tests.inl
104+
${CMAKE_CURRENT_SOURCE_DIR}/multiple_map_image_tests.inl
105+
${CMAKE_CURRENT_SOURCE_DIR}/oom_buffer_tests.inl
106+
${CMAKE_CURRENT_SOURCE_DIR}/oom_image_tests.inl
107+
${CMAKE_CURRENT_SOURCE_DIR}/oom_tests.inl
108+
${CMAKE_CURRENT_SOURCE_DIR}/ooq_task_tests.inl
104109
${CMAKE_CURRENT_SOURCE_DIR}/ooq_task_tests_mt.cpp
105-
${CMAKE_CURRENT_SOURCE_DIR}/read_write_buffer_cpu_copy.cpp
106-
${CMAKE_CURRENT_SOURCE_DIR}/work_group_size_tests.cpp
110+
${CMAKE_CURRENT_SOURCE_DIR}/read_write_buffer_cpu_copy.inl
111+
${CMAKE_CURRENT_SOURCE_DIR}/work_group_size_tests.inl
107112
${CMAKE_CURRENT_SOURCE_DIR}/zero_size_enqueue_tests.cpp
108113
)
109114
target_sources(igdrcl_tests PRIVATE ${IGDRCL_SRCS_tests_command_queue})
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
/*
2+
* Copyright (c) 2018, Intel Corporation
3+
*
4+
* Permission is hereby granted, free of charge, to any person obtaining a
5+
* copy of this software and associated documentation files (the "Software"),
6+
* to deal in the Software without restriction, including without limitation
7+
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
8+
* and/or sell copies of the Software, and to permit persons to whom the
9+
* Software is furnished to do so, subject to the following conditions:
10+
*
11+
* The above copyright notice and this permission notice shall be included
12+
* in all copies or substantial portions of the Software.
13+
*
14+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
15+
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
17+
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
18+
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
19+
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
20+
* OTHER DEALINGS IN THE SOFTWARE.
21+
*/
22+
23+
#include "unit_tests/command_queue/command_queue_flush_waitlist_tests.inl"
24+
#include "unit_tests/command_queue/command_queue_tests.inl"
25+
#include "unit_tests/command_queue/dispatch_walker_tests.inl"
26+
#include "unit_tests/command_queue/drm_requirements_tests.inl"
27+
#include "unit_tests/command_queue/enqueue_barrier_tests.inl"
28+
#include "unit_tests/command_queue/enqueue_copy_buffer_event_tests.inl"
29+
#include "unit_tests/command_queue/enqueue_copy_buffer_rect_tests.inl"
30+
#include "unit_tests/command_queue/enqueue_copy_buffer_tests.inl"
31+
#include "unit_tests/command_queue/enqueue_copy_buffer_to_image_tests.inl"
32+
#include "unit_tests/command_queue/enqueue_copy_image_tests.inl"
33+
#include "unit_tests/command_queue/enqueue_copy_image_to_buffer_tests.inl"
34+
#include "unit_tests/command_queue/enqueue_debug_kernel_tests.inl"
35+
#include "unit_tests/command_queue/enqueue_fill_buffer_event_tests.inl"
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
/*
2+
* Copyright (c) 2018, Intel Corporation
3+
*
4+
* Permission is hereby granted, free of charge, to any person obtaining a
5+
* copy of this software and associated documentation files (the "Software"),
6+
* to deal in the Software without restriction, including without limitation
7+
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
8+
* and/or sell copies of the Software, and to permit persons to whom the
9+
* Software is furnished to do so, subject to the following conditions:
10+
*
11+
* The above copyright notice and this permission notice shall be included
12+
* in all copies or substantial portions of the Software.
13+
*
14+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
15+
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
17+
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
18+
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
19+
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
20+
* OTHER DEALINGS IN THE SOFTWARE.
21+
*/
22+
23+
#include "unit_tests/command_queue/enqueue_fill_buffer_negative_tests.inl"
24+
#include "unit_tests/command_queue/enqueue_fill_buffer_tests.inl"
25+
#include "unit_tests/command_queue/enqueue_fill_image_tests.inl"
26+
#include "unit_tests/command_queue/enqueue_handler_tests.inl"
27+
#include "unit_tests/command_queue/enqueue_kernel_event_tests.inl"
28+
#include "unit_tests/command_queue/enqueue_kernel_global_offset_tests.inl"
29+
#include "unit_tests/command_queue/enqueue_kernel_local_work_size_tests.inl"
30+
#include "unit_tests/command_queue/enqueue_kernel_two_ioq_tests.inl"
31+
#include "unit_tests/command_queue/enqueue_kernel_two_ooq_tests.inl"
32+
#include "unit_tests/command_queue/enqueue_kernel_two_walker_ioq_tests.inl"
33+
#include "unit_tests/command_queue/enqueue_kernel_two_walker_ooq_tests.inl"
34+
#include "unit_tests/command_queue/enqueue_map_buffer_tests.inl"
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
/*
2+
* Copyright (c) 2018, Intel Corporation
3+
*
4+
* Permission is hereby granted, free of charge, to any person obtaining a
5+
* copy of this software and associated documentation files (the "Software"),
6+
* to deal in the Software without restriction, including without limitation
7+
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
8+
* and/or sell copies of the Software, and to permit persons to whom the
9+
* Software is furnished to do so, subject to the following conditions:
10+
*
11+
* The above copyright notice and this permission notice shall be included
12+
* in all copies or substantial portions of the Software.
13+
*
14+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
15+
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
17+
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
18+
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
19+
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
20+
* OTHER DEALINGS IN THE SOFTWARE.
21+
*/
22+
23+
#include "unit_tests/command_queue/enqueue_map_image_tests.inl"
24+
#include "unit_tests/command_queue/enqueue_marker_tests.inl"
25+
#include "unit_tests/command_queue/enqueue_media_kernel.inl"
26+
#include "unit_tests/command_queue/enqueue_migrate_mem_objects_tests.inl"
27+
#include "unit_tests/command_queue/enqueue_read_buffer_event_tests.inl"
28+
#include "unit_tests/command_queue/enqueue_read_buffer_rect_tests.inl"
29+
#include "unit_tests/command_queue/enqueue_read_buffer_tests.inl"
30+
#include "unit_tests/command_queue/enqueue_read_image_tests.inl"
31+
#include "unit_tests/command_queue/enqueue_svm_mem_copy_tests.inl"
32+
#include "unit_tests/command_queue/enqueue_svm_mem_fill_tests.inl"
33+
#include "unit_tests/command_queue/enqueue_svm_tests.inl"
34+
#include "unit_tests/command_queue/enqueue_thread_tests.inl"
35+
#include "unit_tests/command_queue/enqueue_unmap_memobject_tests.inl"
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
/*
2+
* Copyright (c) 2018, Intel Corporation
3+
*
4+
* Permission is hereby granted, free of charge, to any person obtaining a
5+
* copy of this software and associated documentation files (the "Software"),
6+
* to deal in the Software without restriction, including without limitation
7+
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
8+
* and/or sell copies of the Software, and to permit persons to whom the
9+
* Software is furnished to do so, subject to the following conditions:
10+
*
11+
* The above copyright notice and this permission notice shall be included
12+
* in all copies or substantial portions of the Software.
13+
*
14+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
15+
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
17+
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
18+
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
19+
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
20+
* OTHER DEALINGS IN THE SOFTWARE.
21+
*/
22+
23+
#include "unit_tests/command_queue/enqueue_waitlist_tests.inl"
24+
#include "unit_tests/command_queue/enqueue_write_buffer_event_tests.inl"
25+
#include "unit_tests/command_queue/enqueue_write_buffer_rect_tests.inl"
26+
#include "unit_tests/command_queue/enqueue_write_buffer_tests.inl"
27+
#include "unit_tests/command_queue/enqueue_write_image_tests.inl"
28+
#include "unit_tests/command_queue/finish_tests.inl"
29+
#include "unit_tests/command_queue/flattened_id_tests.inl"
30+
#include "unit_tests/command_queue/flush_tests.inl"
31+
#include "unit_tests/command_queue/ooq_task_tests.inl"
32+
#include "unit_tests/command_queue/read_write_buffer_cpu_copy.inl"
33+
#include "unit_tests/command_queue/work_group_size_tests.inl"
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
/*
2+
* Copyright (c) 2018, Intel Corporation
3+
*
4+
* Permission is hereby granted, free of charge, to any person obtaining a
5+
* copy of this software and associated documentation files (the "Software"),
6+
* to deal in the Software without restriction, including without limitation
7+
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
8+
* and/or sell copies of the Software, and to permit persons to whom the
9+
* Software is furnished to do so, subject to the following conditions:
10+
*
11+
* The above copyright notice and this permission notice shall be included
12+
* in all copies or substantial portions of the Software.
13+
*
14+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
15+
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
17+
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
18+
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
19+
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
20+
* OTHER DEALINGS IN THE SOFTWARE.
21+
*/
22+
23+
#include "unit_tests/command_queue/get_command_queue_info_tests.inl"
24+
#include "unit_tests/command_queue/get_size_required_buffer_tests.inl"
25+
#include "unit_tests/command_queue/get_size_required_image_tests.inl"
26+
#include "unit_tests/command_queue/get_size_required_tests.inl"
27+
#include "unit_tests/command_queue/ioq_task_tests.inl"
28+
#include "unit_tests/command_queue/local_id_tests.inl"
29+
#include "unit_tests/command_queue/local_work_size_tests.inl"
30+
#include "unit_tests/command_queue/multi_dispatch_info_tests.inl"
31+
#include "unit_tests/command_queue/multiple_map_buffer_tests.inl"
32+
#include "unit_tests/command_queue/multiple_map_image_tests.inl"
33+
#include "unit_tests/command_queue/oom_buffer_tests.inl"
34+
#include "unit_tests/command_queue/oom_image_tests.inl"
35+
#include "unit_tests/command_queue/oom_tests.inl"

unit_tests/command_queue/enqueue_barrier_tests.cpp renamed to unit_tests/command_queue/enqueue_barrier_tests.inl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2017, Intel Corporation
2+
* Copyright (c) 2017 - 2018, Intel Corporation
33
*
44
* Permission is hereby granted, free of charge, to any person obtaining a
55
* copy of this software and associated documentation files (the "Software"),

unit_tests/command_queue/enqueue_copy_buffer_event_tests.cpp renamed to unit_tests/command_queue/enqueue_copy_buffer_event_tests.inl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2017, Intel Corporation
2+
* Copyright (c) 2017 - 2018, Intel Corporation
33
*
44
* Permission is hereby granted, free of charge, to any person obtaining a
55
* copy of this software and associated documentation files (the "Software"),

unit_tests/command_queue/enqueue_fill_buffer_tests.cpp renamed to unit_tests/command_queue/enqueue_fill_buffer_tests.inl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
using namespace OCLRT;
3939

40-
typedef Test<EnqueueFillBufferFixture> EnqueueFillBufferCmdTests;
40+
typedef ::Test<EnqueueFillBufferFixture> EnqueueFillBufferCmdTests;
4141

4242
HWTEST_F(EnqueueFillBufferCmdTests, alignsToCSR) {
4343
//this test case assumes IOQ

unit_tests/command_queue/enqueue_kernel_event_tests.cpp renamed to unit_tests/command_queue/enqueue_kernel_event_tests.inl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2017, Intel Corporation
2+
* Copyright (c) 2017 - 2018, Intel Corporation
33
*
44
* Permission is hereby granted, free of charge, to any person obtaining a
55
* copy of this software and associated documentation files (the "Software"),

0 commit comments

Comments
 (0)