You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
1.4 KiB
10 lines
1.4 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<root xmlns:nsd="https://structorizer.fisch.lu" version="3.32-15" preRepeat="until " postFor="to" preReturn="return" postForIn="in" preWhile="while " output="OUTPUT" input="INPUT" preFor="for" preExit="exit" preLeave="leave" ignoreCase="true" preThrow="throw" preForIn="foreach" stepFor="by" namespace="" author="user" created="2024-01-21" changedby="user" changed="2024-01-21" origin="Structorizer 3.32-15" text=""template <path>","bool DsaMemcpy(char* dst, const char* src, size_t size, int node)"" comment="""" color="ffffff" type="program" style="nice">
|
|
<children>
|
|
<instruction text=""numa_run_on_node(node)"" comment="""" color="ffffff" rotated="0" disabled="0"></instruction>
|
|
<instruction text=""src_view <- dml::make_view(src, size)","dst_view <- dml::make_view(dst, size)"" comment="""" color="ffffff" rotated="0" disabled="0"></instruction>
|
|
<instruction text=""handler <- dml::submit<path>(dml::mem_copy.block_on_fault(), src_view, dst_view)"" comment="""" color="ffffff" rotated="0" disabled="0"></instruction>
|
|
<instruction text=""result <- handler.get()"" comment="""" color="ffffff" rotated="0" disabled="0"></instruction>
|
|
<instruction text=""return result.status == dml::status_code::ok"" comment="""" color="ffffff" rotated="0" disabled="0"></instruction>
|
|
</children>
|
|
</root>
|