summaryrefslogtreecommitdiff
path: root/modules/remote-sycl/c++/device.hpp
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2024-07-02 19:46:02 +0200
committerClaudius "keldu" Holeksa <mail@keldu.de>2024-07-02 19:46:02 +0200
commit25e05907f0292310eaae27a032db0ee274413874 (patch)
tree283de0ebb6b61add2221436a77bb09e2ff101080 /modules/remote-sycl/c++/device.hpp
parente51d2b1c0493dfd30d1622c8a0628ecf98c92f1c (diff)
Preparing benchmark work
Diffstat (limited to 'modules/remote-sycl/c++/device.hpp')
-rw-r--r--modules/remote-sycl/c++/device.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/remote-sycl/c++/device.hpp b/modules/remote-sycl/c++/device.hpp
index e6f3fe3..ae19524 100644
--- a/modules/remote-sycl/c++/device.hpp
+++ b/modules/remote-sycl/c++/device.hpp
@@ -11,7 +11,9 @@ class device<rmt::Sycl> final {
private:
cl::sycl::queue cmd_queue_;
public:
- device() = default;
+ device():
+ cmd_queue_{cl::sycl::default_selector_v, cl::sycl::property_list{cl::sycl::property::queue::enable_profiling()}}
+ {}
SAW_FORBID_COPY(device);
SAW_FORBID_MOVE(device);