Showing content from https://stotko.github.io/stdgpu/doxygen/group__memory_ga37a59c41f852e87d333aa31b2058d44b.html below:
size_bytes — stdgpu Latest documentation
construct_at copyCreateDevice2DeviceArray copyCreateDevice2HostArray copyCreateHost2DeviceArray copyCreateHost2HostArray copyDevice2DeviceArray copyDevice2HostArray copyHost2DeviceArray copyHost2HostArray createDeviceArray createHostArray deregister_memory destroy destroy_at destroy_n destroyDeviceArray destroyHostArray dynamic_memory_type get_allocation_count get_deallocation_count get_dynamic_memory_type MemoryCopy null_object register_memory size_bytes to_address to_address uninitialized_copy uninitialized_copy_n uninitialized_fill uninitialized_fill_n ◆ size_bytes()
template<typename T >
index64_t stdgpu::size_bytes ( T * array )
Finds the size (in bytes) of the given dynamically allocated array.
-
Template Parameters
-
T The type of the array
-
Parameters
-
[in] array An array
-
Returns
-
The size (in bytes) of the given array if it was registered by our API, 0 otherwise
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