diff options
Diffstat (limited to 'modules/remote-hip/c++/data.hpp')
-rw-r--r-- | modules/remote-hip/c++/data.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/remote-hip/c++/data.hpp b/modules/remote-hip/c++/data.hpp index 5e8e6f9..3e7c3ed 100644 --- a/modules/remote-hip/c++/data.hpp +++ b/modules/remote-hip/c++/data.hpp @@ -11,14 +11,14 @@ namespace saw { template<typename Schema> class data<Schema, encode::Hip<encode::Native>> { private: - data<Schema, encode::Native> data_; + data<Schema, encode::Native>* data_; public: - data(const data<Schema, encode::Native>& data__): - data_{data__} + data(): + data_{nullptr} {} - ref<data<Schema, encode::Native>> get_data() { - return {data_}; + data<Schema, encode::Native>** get_device_data() { + return &data_; } }; } |