Code Monkey home page Code Monkey logo

Comments (6)

EgorKupaev avatar EgorKupaev commented on June 11, 2024

Hello @optimistyzy, thank you for raising an issue. It seems for me that Job API examples are completely unusable in the current state, they definitely should be reworked.

As for High Level API examples, the only change that is required to run hardware path is change the line:

using execution_path = dml::software;

to:

using execution_path = dml::hardware;

In any case, I added the issue to bug tracker.

from dml.

optimistyzy avatar optimistyzy commented on June 11, 2024

Hello @optimistyzy, thank you for raising an issue. It seems for me that Job API examples are completely unusable in the current state, they definitely should be reworked.

As for High Level API examples, the only change that is required to run hardware path is change the line:

using execution_path = dml::software;

to:

using execution_path = dml::hardware;

In any case, I added the issue to bug tracker.
Hi @EgorKupaev

Thanks. From my usage experience,
(1)It still needs some make file or cmake change if we use the hardware path.
(2) Configuring wqs by idxd-config.

So better to add this to make it clear.

from dml.

EgorKupaev avatar EgorKupaev commented on June 11, 2024

There is a part of REAMDE.md which describes how to build the library with hardware path enabled. That extra step is likely to be removed in future releases.

Regarding configuration, the library relies on idxd-config documentation, which is linked in reference manual.

from dml.

optimistyzy avatar optimistyzy commented on June 11, 2024

There is a part of REAMDE.md which describes how to build the library with hardware path enabled. That extra step is likely to be removed in future releases.

Regarding configuration, the library relies on idxd-config documentation, which is linked in reference manual.

@EgorKupaev I know this. What I means that we at least need a example to use hw path with a very simple description.

from dml.

gaowayne avatar gaowayne commented on June 11, 2024

@EgorKupaev man, I also need a quick example that can run over HW path. as I am new to DSA, I do not know how many places code I need change to make this happen. and also I also need one example copy from DRAM to pmem

from dml.

mzhukova avatar mzhukova commented on June 11, 2024

Hi @gaowayne, just wanted to let you know that we're working on improving this area for DML.
We've extended Quick Start to provide some instruction on how to change current examples, so that they could be offloaded to accelerator, and additionally would be providing an option to specify execution path as input parameter for examples executables.
Hope this would make in clearer.

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.