Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix element access const correctness in
hostdevice_vector
(#10804)
`hostdevice_vector` members that are used for element access do not return const pointers/references when called on const objects. This PR makes sure all function members of `hostdevice_vector` are const correct: - operator[] - begin - end - d_begin - d_end - host_ptr - device_ptr Authors: - Vukasin Milovanovic (https://github.com/vuule) Approvers: - Bradley Dice (https://github.com/bdice) - Mike Wilson (https://github.com/hyperbolic2346) URL: #10804
- Loading branch information