Showing content from https://stotko.github.io/stdgpu/doxygen/group__iterator_gaab6088756ec6a8bff18be58bcbef69eb.html below:
size — stdgpu Latest documentation
back_inserter device_begin device_begin device_begin device_begin device_cbegin device_cbegin device_cend device_cend device_end device_end device_end device_end device_ptr front_inserter host_begin host_begin host_begin host_begin host_cbegin host_cbegin host_cend host_cend host_end host_end host_end host_end host_ptr inserter make_device make_host size size ◆ size() [1/2]
template<typename T >
index64_t stdgpu::size ( T * array )
Finds the size (number of elements) of the given dynamically allocated array.
-
Template Parameters
-
T The type of the array
-
Parameters
-
[in] array An array
-
Returns
-
The size (number of elements) of the given array
-
Note
-
The array must be created by this API, otherwise an assertion is triggered
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4