Comments (4)
Hi @kswiecicki,
what version of DML are you using? In the latest v0.1.5-beta the issue was fixed.
The exact code is:
constexpr auto get_job_size() noexcept
{
constexpr auto alignment = 64u;
constexpr auto job_size = sizeof(dml_job_t);
constexpr auto state_size = sizeof(dml::state);
// Enough size for job, state, and to align state to default boundary
return job_size + state_size + alignment;
}
It's approximately 200 bytes of memory.
from dml.
I see, I've been using the DML built from develop branch ~3 weeks ago (v0.1.4-beta tag).
I've just installed the DML from the v0.1.5-beta tag to check if the job size fix is working, but I get an awful lot of linker errors when building the source I previously linked the v0.1.4-beta version with.
I didn't change anything in my build system, to double check I've restored the previous DML version and it's working properly. I've also made sure to link 'libdml.a' and not 'libdmlhl.a' by mistake.
DML build steps:
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DDML_HW=ON -DLIB_ACCEL_3_2=ON ..
cmake --build . --target install
Could you take a look at the linker errors?
dml_logs.txt
from dml.
I've checked the issue. Release v0.1.5-beta unintentionally added C++ compiler dependency to C API.
I am looking for solution.
from dml.
The issue was fixed in v0.1.6.0-beta.
I confirmed that there are no linker errors with a simple program. I used just C compiler for a build. Feel free to re-open the issue if it still can't be linked at your environment.
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.