We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 965f78c commit 2a72f53Copy full SHA for 2a72f53
sycl/test-e2e/Graph/RecordReplay/ext_oneapi_enqueue_functions.cpp
@@ -10,9 +10,6 @@
10
#include <sycl/properties/all_properties.hpp>
11
12
int main() {
13
-
14
- using namespace std::chrono;
15
16
queue InOrderQueue{property::queue::in_order{}};
17
18
using T = int;
@@ -44,17 +41,7 @@ int main() {
44
41
45
42
auto GraphExec = Graph.finalize();
46
43
47
- // Start time
48
- auto start = high_resolution_clock::now();
49
exp_ext::execute_graph(InOrderQueue, GraphExec);
50
51
- auto end = high_resolution_clock::now();
52
53
- // Calculatce duration
54
- auto duration = duration_cast<nanoseconds>(end - start);
55
56
- std::cout << "Time taken by function: " << duration.count() << " ns\n";
57
58
InOrderQueue.wait_and_throw();
59
60
free(PtrA, InOrderQueue);
0 commit comments