Comments (6)
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.
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.
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.
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.
@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.
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)
- examples not getting compiled by default HOT 2
- Excessive initialization in descriptor and completion_record HOT 4
- DSA cache control bit is not flush operation specific HOT 2
- HW path does not work with job_api_example HOT 5
- segfault with mutli-thread since the port ptr become null HOT 3
- include/dml/detail/ml/buffer.hpp uses std::exchange but does not #include <utility> HOT 5
- Debugging hardware path on Sapphire Rapids HOT 6
- Possible use-after-free when handler is destroyed before operation completes? HOT 2
- Is DML a wrapper for Intel DSA? HOT 4
- Incorrect handling of PAGE_FAULT_MASK HOT 3
- Incorrect handling of CRC HOT 2
- Incorrect patterns in update_**_for_continuation HOT 1
- compiler optimization issue when allocation the transfer buffer on heap memory HOT 3
- An issue about Multi-Socket sample code HOT 4
- Question about async mode of DML HOT 3
- "404 page not found" for issue reporting link HOT 2
- Unknown buffer size limitation for CRC operation HOT 8
- A question about dml_finalize_job HOT 3
- Fails to build from source (FTBFS) on Windows
- Error when using hardware path HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dml.