Comments (3)
Hello,
So it seems the reduction is failing. There are two things you can try:
- Compile with
-DSYCL_PSTL_USE_OLD_ALGO
to use a different kind of algorithm in SyclParallelSTL. Please make sure to clean the build directory (in particular the .sycl files) and you can re-run cmake with-DCMAKE_CXX_FLAGS="-DSYCL_PSTL_USE_OLD_ALGO" -DCOMPUTECPP_USER_FLAGS="-DSYCL_PSTL_USE_OLD_ALGO"
to add the option for both host and device compiler. - Check if the reduction sample in ComputeCpp-sdk passes. If not there may be an issue with the local barrier.
As for why only 2 CPUs are used, I am not sure. I am wondering whether each CPU is seen as a different device. If that's the case it would be an issue as Eigen and SYCL-ML are built to use only one device for now. It would help if you can paste here the output of computecpp_info.
from sycl-ml.
reduction in the samples worked fine. I then recompiled SYCL-ML with the suggested flags and it worked fine.
Looks like the code tops out to 2 cores only initially. Once the PCA step/training starts, it utilizes all available cores.
from sycl-ml.
Great, that's good to hear!
I'm closing this issue then, feel free to comment in here or create a new one if you have more issues.
from sycl-ml.
Related Issues (3)
- Is the eigen patch needed anymore ? HOT 2
- raw command HOT 2
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 sycl-ml.