Use size_type
in device_uvector
definitions when accepting/returning something of size_type
#1318
Labels
0 - Backlog
In queue waiting for assignment
cpp
Pertains to C++ code
improvement
Improvement / enhancement to an existing function
device_uvector
advertises the type used for the size of the vector asusing size_type = std::size_t
. But most of the definitions just explicitly spell outstd::size_t
. We should change these to usesize_type
(so that things align, and it is easier to change should one want to). This would make the signatures more aligned with those ofstd::vector
as well.Originally posted by @wence- in #1317 (comment)
The text was updated successfully, but these errors were encountered: