Skip to content

Commit

Permalink
Add todos
Browse files Browse the repository at this point in the history
  • Loading branch information
reyoung committed Jan 16, 2017
1 parent 94618d8 commit 014a727
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions paddle/math/RowBuffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,8 @@ class RowBuffer {
inline size_t getWidth() const { return width_; }

private:
//! TODO(yuyang18): Add resize method to CpuMemHandlePtr, then we can get rid
//! of std::vector here.
CpuMemHandlePtr preallocatedBuf_;
std::vector<real, AlignedAllocator<real, 32>> rowStore_;
size_t width_;
Expand Down

0 comments on commit 014a727

Please sign in to comment.