|
|
@ -522,15 +522,15 @@ inline dml::handler<dml::mem_copy_operation, std::allocator<uint8_t>> dsacache:: |
|
|
|
dml::data_view dstv = dml::make_view(dst, size); |
|
|
|
|
|
|
|
if (CheckFlag(flags_, FLAG_HANDLE_PF)) { |
|
|
|
return dml::submit<dml::software>( |
|
|
|
return dml::submit<dml::hardware>( |
|
|
|
dml::mem_copy.block_on_fault(), srcv, dstv, |
|
|
|
dml::execution_interface<dml::software,std::allocator<uint8_t>>(), node |
|
|
|
dml::execution_interface<dml::hardware,std::allocator<uint8_t>>(), node |
|
|
|
); |
|
|
|
} |
|
|
|
else { |
|
|
|
return dml::submit<dml::software>( |
|
|
|
return dml::submit<dml::hardware>( |
|
|
|
dml::mem_copy, srcv, dstv, |
|
|
|
dml::execution_interface<dml::software,std::allocator<uint8_t>>(), node |
|
|
|
dml::execution_interface<dml::hardware,std::allocator<uint8_t>>(), node |
|
|
|
); |
|
|
|
} |
|
|
|
} |
|
|
|