Showing content from https://stotko.github.io/stdgpu/doxygen/group__memory_gaf9f58b4cea111d7723a2519090a8d664.html below:
copyCreateDevice2HostArray — 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 ◆ copyCreateDevice2HostArray()
template<typename T >
T * copyCreateDevice2HostArray ( const T * device_array, const stdgpu::index64_t count, const MemoryCopy check_safety = MemoryCopy::RANGE_CHECK
)
Creates and copies the given device array to the host.
-
Template Parameters
-
T The type of the array
-
Parameters
-
[in] device_array The device array [in] count The number of elements of device_array [in] check_safety True if this function should check whether copying is safe, false otherwise
-
Returns
-
The same array allocated on the host
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