Skip to content

Commit c913d8a

Browse files
committed
remove size function from device_iterator
Signed-off-by: Dan Hoeflinger <dan.hoeflinger@intel.com>
1 parent 696886f commit c913d8a

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

  • clang/runtime/dpct-rt/include/dpct/dpl_extras

clang/runtime/dpct-rt/include/dpct/dpl_extras/memory.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,6 @@ template <typename T> class device_iterator : public device_pointer<T> {
640640

641641
device_iterator &get_buffer() { return *this; } // required
642642

643-
std::size_t size() const { return idx; }
644643
};
645644
#endif
646645

0 commit comments

Comments
 (0)