Skip to content
Snippets Groups Projects
Commit 9a0e094b authored by Olivier BICHLER's avatar Olivier BICHLER
Browse files

Fixed post merge issues

parent 9b4e3f38
No related branches found
No related tags found
2 merge requests!50version 0.2.0,!32New proposal for handling tensor views
Pipeline #37797 failed
...@@ -51,11 +51,8 @@ public: ...@@ -51,11 +51,8 @@ public:
return std::make_shared<TensorImpl_cpu<T>>(device, length); return std::make_shared<TensorImpl_cpu<T>>(device, length);
} }
inline std::size_t size() const noexcept override final { return mData.size(); }
inline std::size_t scalarSize() const noexcept override final { return sizeof(T); } inline std::size_t scalarSize() const noexcept override final { return sizeof(T); }
std::size_t scalarSize() const override { return sizeof(T); }
void copy(const void *src, NbElts_t length, NbElts_t offset = 0) override final { void copy(const void *src, NbElts_t length, NbElts_t offset = 0) override final {
const T* srcT = static_cast<const T *>(src); const T* srcT = static_cast<const T *>(src);
T* dstT = static_cast<T *>(rawPtr(offset)); T* dstT = static_cast<T *>(rawPtr(offset));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment