Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Commit 0f916ed

Browse files
committed
Add enable_profiling property to queue
1 parent 8e5d575 commit 0f916ed

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

SYCL/ESIMD/histogram_2d.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ int main(int argc, char *argv[]) {
7979
// Read in image luma plane
8080

8181
// Allocate Input Buffer
82-
queue q(esimd_test::ESIMDSelector{}, esimd_test::createExceptionHandler());
82+
queue q(esimd_test::ESIMDSelector{}, esimd_test::createExceptionHandler(),
83+
property::queue::enable_profiling{});
8384

8485
auto dev = q.get_device();
8586
auto ctxt = q.get_context();

SYCL/ESIMD/histogram_raw_send.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@ int main(int argc, char *argv[]) {
103103
// Read in image luma plane
104104

105105
// Allocate Input Buffer
106-
queue q(esimd_test::ESIMDSelector{}, esimd_test::createExceptionHandler());
106+
queue q(esimd_test::ESIMDSelector{}, esimd_test::createExceptionHandler(),
107+
property::queue::enable_profiling{});
107108

108109
auto dev = q.get_device();
109110
auto ctxt = q.get_context();

0 commit comments

Comments
 (0)