diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2025-10-12 15:42:56 +0200 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2025-10-12 15:42:56 +0200 |
| commit | 4bce6c96d0c49161b840796b277baab7972c0214 (patch) | |
| tree | 5883f6988dea5e5002e55756931ce922cbc5d806 /modules/remote-sycl/c++/remote.hpp | |
| parent | af87db21b8c72d16e4f63aba9fcfecd48167e71d (diff) | |
| download | forstio-forstio-4bce6c96d0c49161b840796b277baab7972c0214.tar.gz | |
Fixed and added Array for sycl
Diffstat (limited to 'modules/remote-sycl/c++/remote.hpp')
| -rw-r--r-- | modules/remote-sycl/c++/remote.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/remote-sycl/c++/remote.hpp b/modules/remote-sycl/c++/remote.hpp index fd2f64a..65f645e 100644 --- a/modules/remote-sycl/c++/remote.hpp +++ b/modules/remote-sycl/c++/remote.hpp @@ -31,9 +31,9 @@ private: std::array<uint64_t,3> data; template<typename Schema, typename Encoding> - static key_t create(const remote_address<rmt::Loopback>& addr){ + static key_t create(const remote_address<rmt::Sycl>& addr){ key_t k; - k.data = std::array<uint64_t,3>{addr.get_address_id().get(), schema_hash<Schema>::apply(), schema_hash<Encoding>::apply()}; + k.data = std::array<uint64_t,3>{addr.get_device_id(), schema_hash<Schema>::apply(), schema_hash<Encoding>::apply()}; return k; } |
