Showing content from https://stotko.github.io/stdgpu/doxygen/group__memory_ga67a97f08e29a9410ee9c74dcbc8e55ca.html below:
createHostArray — stdgpu Latest documentation
createHostArray# stdgpu: createHostArray
stdgpu Latest
Efficient STL-like Data Structures on the GPU
◆ createHostArray()
Creates a new host array and initializes (fills) it with the given default value.
-
Template Parameters
-
-
Parameters
-
[in] count The number of elements of the new array [in] default_value A default value, that should be stored in every array entry
-
Returns
-
The allocated host array if count > 0, nullptr otherwise
-
Postcondition
-
get_dynamic_memory_type(result) == dynamic_memory_type::device if count > 0
Generated by 1.9.6
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