diff options
Diffstat (limited to 'modules/remote-hip/c++/data.hpp')
-rw-r--r-- | modules/remote-hip/c++/data.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/remote-hip/c++/data.hpp b/modules/remote-hip/c++/data.hpp index 3e7c3ed..5d3635f 100644 --- a/modules/remote-hip/c++/data.hpp +++ b/modules/remote-hip/c++/data.hpp @@ -8,16 +8,16 @@ namespace saw { * Generic wrapper class which stores data on the sycl side. * Most of the times this will be a root object. */ -template<typename Schema> -class data<Schema, encode::Hip<encode::Native>> { +template<typename Schema,typename T> +class data<Schema, encode::Hip<T>> { private: - data<Schema, encode::Native>* data_; + data<Schema, T>* data_; public: data(): data_{nullptr} {} - data<Schema, encode::Native>** get_device_data() { + data<Schema, T>** get_device_data() { return &data_; } }; |