[
https://issues.apache.org/jira/browse/ARROW-2446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17038406#comment-17038406
]
Antoine Pitrou commented on ARROW-2446:
---------------------------------------
The original motivation (the dangerous aspect of returning a plain Buffer) has
disappeared with the device API work. This would now be more of a convenience
improvement, and I'm not sure it's worth the complication of introducing
virtual method calls for buffer slices.
> [C++] SliceBuffer on CudaBuffer should return CudaBuffer
> --------------------------------------------------------
>
> Key: ARROW-2446
> URL: https://issues.apache.org/jira/browse/ARROW-2446
> Project: Apache Arrow
> Issue Type: Improvement
> Components: C++, GPU
> Affects Versions: 0.9.0
> Reporter: Antoine Pitrou
> Priority: Major
>
> Currently {{SliceBuffer}} on a {{CudaBuffer}} returns a plain {{Buffer}}
> instance, which is dangerous for unsuspecting consumers.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)