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