Browse Source

reset to using hardware path, sw was only temporarily used for debugging

master
Constantin Fürst 11 months ago
parent
commit
c7b91e400f
  1. 4
      offloading-cacher/cache.hpp

4
offloading-cacher/cache.hpp

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

Loading…
Cancel
Save