diff options
author | Claudius "keldu" Holeksa <mail@keldu.de> | 2024-06-20 16:35:25 +0200 |
---|---|---|
committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2024-06-20 16:35:25 +0200 |
commit | 601113a445658d8b15273dd91c66cf20daf50d30 (patch) | |
tree | bcb6c2a77e85bb64d6beb9b3f93a5f7bc5a6e400 /modules/codec/c++/data.hpp | |
parent | c1d352270add2f205d038d7e4f69c1b4f35f014d (diff) |
Changing towards a better allocated structure for sycl
Diffstat (limited to 'modules/codec/c++/data.hpp')
-rw-r--r-- | modules/codec/c++/data.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/codec/c++/data.hpp b/modules/codec/c++/data.hpp index 8e0e029..5ebe579 100644 --- a/modules/codec/c++/data.hpp +++ b/modules/codec/c++/data.hpp @@ -176,21 +176,21 @@ public: } data<Schema, encode::Native, storage::Default> operator*(const data<Schema, encode::Native, storage::Default>& rhs) const { - using CalcType = typename native_data_type<Schema::InterfaceSchema>::type; + using CalcType = typename native_data_type<typename Schema::InterfaceSchema>::type; CalcType left = static_cast<CalcType>(value_.get()); CalcType right = static_cast<CalcType>(rhs.get()); return {left * right}; } data<Schema, encode::Native, storage::Default> operator/(const data<Schema, encode::Native, storage::Default>& rhs)const{ - using CalcType = typename native_data_type<Schema::InterfaceSchema>::type; + using CalcType = typename native_data_type<typename Schema::InterfaceSchema>::type; CalcType left = static_cast<CalcType>(value_.get()); CalcType right = static_cast<CalcType>(rhs.get()); return {left / right}; } data<Schema, encode::Native, storage::Default> operator+(const data<Schema, encode::Native, storage::Default>& rhs)const{ - using CalcType = typename native_data_type<Schema::InterfaceSchema>::type; + using CalcType = typename native_data_type<typename Schema::InterfaceSchema>::type; CalcType left = static_cast<CalcType>(value_.get()); CalcType right = static_cast<CalcType>(rhs.get()); return {left + right}; @@ -202,7 +202,7 @@ public: } data<Schema, encode::Native, storage::Default> operator-(const data<Schema, encode::Native, storage::Default>& rhs)const{ - using CalcType = typename native_data_type<Schema::InterfaceSchema>::type; + using CalcType = typename native_data_type<typename Schema::InterfaceSchema>::type; CalcType left = static_cast<CalcType>(value_.get()); CalcType right = static_cast<CalcType>(rhs.get()); return {left - right}; |