Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
apacheGH-39159 [C++]: Try to make Buffer::device_type_ non-optional (a…
…pache#39150) ### Rationale for this change Buffer should always have a device type. When unspecified, CPU can be assumed. ### What changes are included in this PR? A change of the member variable type and some adjustments. ### Are these changes tested? N/A. ### Are there any user-facing changes? **This PR includes breaking changes to public APIs.** `Buffer::device_type_` is now a `DeviceAllocationType` instead of a `std::optional<DeviceAllocationType>`. * Closes: apache#39159 Authored-by: Felipe Oliveira Carvalho <felipekde@gmail.com> Signed-off-by: Felipe Oliveira Carvalho <felipekde@gmail.com>
- Loading branch information