Skip to content

Commit a9dd962

Browse files
authored
[SYCL][Graph] Including changes from PR intel#10033 to fix clang-format issues (#262)
1 parent be99575 commit a9dd962

26 files changed

+11
-31
lines changed

sycl/test-e2e/Graph/Explicit/add_nodes_after_finalize.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
//
66
// CHECK-NOT: LEAK
77

8-
98
// This test adds a new node with the explicit API to an already finalized
109
// modifiable graph, before finalizing and executing the graph for a second
1110
// time.

sycl/test-e2e/Graph/Explicit/basic_buffer.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
//
66
// CHECK-NOT: LEAK
77

8-
98
// Tests adding nodes to a graph using explicit API, and submitting the graph
109
// using buffers accessors for inputs and outputs.
1110
// The second run is to check that there are no leaks reported with the embedded

sycl/test-e2e/Graph/Explicit/basic_usm.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
//
66
// CHECK-NOT: LEAK
77

8-
98
// Tests basic adding of nodes using explicit API with USM pointers,
109
// and submission of the graph.
1110
// The second run is to check that there are no leaks reported with the embedded

sycl/test-e2e/Graph/Explicit/buffer_copy.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
//
66
// CHECK-NOT: LEAK
77

8-
98
// Tests adding a buffer copy node using the explicit API and submitting
109
// the graph.
1110
// The second run is to check that there are no leaks reported with the embedded

sycl/test-e2e/Graph/Explicit/buffer_copy_2d.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
//
66
// CHECK-NOT: LEAK
77

8-
98
// Tests adding buffer 2d copy nodes using the explicit API and submitting
109
// the graph.
1110
// The second run is to check that there are no leaks reported with the embedded

sycl/test-e2e/Graph/Explicit/buffer_ordering.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
//
66
// CHECK-NOT: LEAK
77

8-
98
// Tests that buffer accessors exhibit the correct behaviour when:
109
// * A node is added to the graph between two queue submissions which
1110
// use the same buffer, but are not added to the graph.

sycl/test-e2e/Graph/Explicit/depends_on.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
//
66
// CHECK-NOT: LEAK
77

8-
98
// Tests that an event returned from adding a graph node using the queue
109
// recording API can be passed to `handler::depends_on` inside a node
1110
// added using the explicit API. This should create a graph edge.

sycl/test-e2e/Graph/Explicit/dotp.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
//
66
// CHECK-NOT: LEAK
77

8-
98
// Tests constructing a graph using the explicit API to perform a dotp
109
// operation using USM memory.
1110
// The second run is to check that there are no leaks reported with the embedded

sycl/test-e2e/Graph/Explicit/dotp_buffer.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
//
66
// CHECK-NOT: LEAK
77

8-
98
// Tests creating a dotp operation through explicit graph creation with
109
// buffers.
1110
// The second run is to check that there are no leaks reported with the embedded

sycl/test-e2e/Graph/Explicit/dotp_buffer_reduction.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
//
66
// CHECK-NOT: LEAK
77

8-
98
// Expected fail as reduction support is not complete.
109
// XFAIL: *
1110

sycl/test-e2e/Graph/Explicit/dotp_host_mem.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
//
66
// CHECK-NOT: LEAK
77

8-
98
// Tests using USM host memory with an explicitly constructed graph.
109
// The second run is to check that there are no leaks reported with the embedded
1110
// ZE_DEBUG=4 testing capability.

sycl/test-e2e/Graph/Explicit/dotp_host_shared.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
//
66
// CHECK-NOT: LEAK
77

8-
98
// Tests using USM shared and host memory with an explicitly constructed graph.
109
// The second run is to check that there are no leaks reported with the embedded
1110
// ZE_DEBUG=4 testing capability.

sycl/test-e2e/Graph/Explicit/dotp_mixed.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
//
66
// CHECK-NOT: LEAK
77

8-
98
// Tests mixing buffers and USM in the same graph.
109
// The second run is to check that there are no leaks reported with the embedded
1110
// ZE_DEBUG=4 testing capability.

sycl/test-e2e/Graph/Explicit/dotp_shared_mem.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
//
66
// CHECK-NOT: LEAK
77

8-
98
// Tests using USM shared memory with an explicitly constructed graph.
109
// The second run is to check that there are no leaks reported with the embedded
1110
// ZE_DEBUG=4 testing capability.

sycl/test-e2e/Graph/Explicit/dotp_system_mem.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
//
66
// CHECK-NOT: LEAK
77

8-
98
// Tests using USM system memory with an explicitly constructed graph.
109
// The second run is to check that there are no leaks reported with the embedded
1110
// ZE_DEBUG=4 testing capability.

sycl/test-e2e/Graph/Explicit/dotp_usm_reduction.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
//
66
// CHECK-NOT: LEAK
77

8-
98
// Expected fail as reduction support is not complete.
109
// XFAIL: *
1110

sycl/test-e2e/Graph/Explicit/double_buffer.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
//
66
// CHECK-NOT: LEAK
77

8-
98
// Expected fail as executable graph update isn't implemented yet
109
// XFAIL: *
1110

sycl/test-e2e/Graph/Explicit/empty.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
//
66
// CHECK-NOT: LEAK
77

8-
98
// Tests the explicit API interface for adding empty nodes, and that
109
// no_cycle_check is accepted as a command_graph construction property.
1110
// The second run is to check that there are no leaks reported with the embedded

sycl/test-e2e/Graph/Explicit/enqueue_ordering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,6 @@ int main() {
8585

8686
// Free the allocated memory
8787
sycl::free(Arr, Queue);
88-
88+
8989
return 0;
9090
}

sycl/test-e2e/Graph/Explicit/event_status_querying.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
// We therefore only check that the complete state of the event
2525
// in this test.
2626

27-
2827
#include "../graph_common.hpp"
2928

3029
std::string event_status_name(sycl::info::event_command_status status) {
@@ -125,8 +124,9 @@ int main() {
125124
Queue.submit([&](handler &CGH) { CGH.ext_oneapi_graph(GraphExec); });
126125
auto Info = Event.get_info<info::event::command_execution_status>();
127126
std::cout << event_status_name(Info) << std::endl;
128-
while ((Info = Event.get_info<sycl::info::event::command_execution_status>()) !=
129-
sycl::info::event_command_status::complete) {
127+
while (
128+
(Info = Event.get_info<sycl::info::event::command_execution_status>()) !=
129+
sycl::info::event_command_status::complete) {
130130
}
131131
std::cout << event_status_name(Info) << std::endl;
132132

sycl/test-e2e/Graph/Explicit/usm_fill_shared.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
//
66
// CHECK-NOT: LEAK
77

8-
98
// Tests adding a shared USM fill operation as a graph node with the explicit
109
// API.
1110
// The second run is to check that there are no leaks reported with the embedded

sycl/test-e2e/Graph/Explicit/while_recording.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
//
66
// CHECK-NOT: LEAK
77

8-
98
// Expected Fail as exception not implemented yet
109
// XFAIL: *
1110

sycl/test-e2e/Graph/RecordReplay/dotp_in_order_with_empty_nodes.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
//
66
// CHECK-NOT: LEAK
77

8-
// Tests a dotp operation using device USM and an in-order queue with empty nodes.
9-
// The second run is to check that there are no leaks reported with the embedded
10-
// ZE_DEBUG=4 testing capability.
8+
// Tests a dotp operation using device USM and an in-order queue with empty
9+
// nodes. The second run is to check that there are no leaks reported with the
10+
// embedded ZE_DEBUG=4 testing capability.
1111

1212
#include "../graph_common.hpp"
1313

sycl/test-e2e/Graph/RecordReplay/event_status_querying.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,9 @@ int main() {
128128
Queue.submit([&](handler &CGH) { CGH.ext_oneapi_graph(GraphExec); });
129129
auto Info = Event.get_info<info::event::command_execution_status>();
130130
std::cout << event_status_name(Info) << std::endl;
131-
while ((Info = Event.get_info<sycl::info::event::command_execution_status>()) !=
132-
sycl::info::event_command_status::complete) {
131+
while (
132+
(Info = Event.get_info<sycl::info::event::command_execution_status>()) !=
133+
sycl::info::event_command_status::complete) {
133134
}
134135
std::cout << event_status_name(Info) << std::endl;
135136

sycl/test-e2e/Graph/RecordReplay/subgraph_in_order.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
//
66
// CHECK-NOT: LEAK
77

8-
98
// Tests adding a sub-graph to an in-order queue.
109

1110
#include "../graph_common.hpp"

sycl/test-e2e/Graph/graph_common.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
// Test constants.
88
constexpr size_t Size = 1024; // Number of data elements in a buffer.
99
constexpr unsigned Iterations = 5; // Iterations of graph to execute.
10-
constexpr size_t Offset = 100; // Number of offset elements for Buffer accessors
10+
constexpr size_t Offset = 100; // Number of offset elements for Buffer accessors
1111

1212
// Namespace alias to use in test code.
1313
namespace exp_ext = sycl::ext::oneapi::experimental;

0 commit comments

Comments
 (0)