Code Monkey home page Code Monkey logo

Comments (4)

xywoo-cs avatar xywoo-cs commented on June 4, 2024 1

For those who are still interested, this paper is a good read, A Quantitative Analysis and Guideline of Data Streaming Accelerator in Intel® 4th Gen Xeon® Scalable Processors

from dml.

mzhukova avatar mzhukova commented on June 4, 2024

Hello,
What document are you referring to? Is it DML documentation or DSA specification?

DML is a software layer that enables DSA, that is correct.
We've added Library Architecture Overview for the similar library, called QPL (for IAA support), I wonder if this could be helpful to get a better overall understanding.

Just to clarify, hardware_path (Low-Level API) or dml:hardware (High-Level API) is for offloading operation fully to accelerator. There could be portion of work done on the host, but in most of the cases it is just some preparatory work before offloading. Asynchronous execution on hardware_path is basically about submitting a job and periodically checking whether it is completed (with submit and check done on users side), synchronous interface does the same, but on library side (as if under single API we call submit and periodically check completion).
software_path / dml::software is for executing the operation on the host only. So for this path, there is no asynchronous API (submit).
automatic_path / dml::auto currently is very straightforward and submits job to DSA first, and in the case of error, do re-try (or continue) on the host. This could be potentially extended to include heuristics for choosing whether to execute on host or accelerator, or extended to divide work between those.

Hope this helps!

from dml.

xywoo-cs avatar xywoo-cs commented on June 4, 2024

Thank you for your quick response!

from dml.

xywoo-cs avatar xywoo-cs commented on June 4, 2024

@mzhukova I apologize for reopening this issue, but I still have some related follow-up questions that I would like to ask you.

DSA is a target for offloading many functions. However, before DSA, there was also on-chip DMA in I/OAT similar to DSA. I understand that DSA has more features than DMA, but if we only consider memory copy, is DSA faster than DMA? Additionally, will DML support DMA "hardware"?

Thank you once again!

from dml.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.