laserscout / hy3603_pds_assignment_3 Goto Github PK
View Code? Open in Web Editor NEWThe third assignment for the Parallel and Distributed Systems course. AUTh 2018-2019
The third assignment for the Parallel and Distributed Systems course. AUTh 2018-2019
We discussed that we will have a matrix (here called which_q_to_which_process ) that will define on what data each process will run the nearest_neighbor kernel.
A kernel is needed that will create this matrix in parallel.
note: There is a possibility that this will not be needed (at least at the first run). The easy alternative is to have every process check all points on its own and chose the ones it wants to run the nearest_neighbor on.
Make a kernel that will create the random Q and C points
Also build a CPU version just in case...?
After a "round" all processes will have returned their results but there is a possibility that it is not the actual nearest neighbor.
A check needs to be implemented that will:
note: is there a way to have this be done automatically by the nearest_neighbor kernel?
Self explanatory. This should / could be a simple function that has one input (the q point) and one output (the ?index? of the nearest neighbor of its S collection).
According to the way we will split the work among the threads, maybe it would be good to have the S vector properly placed in to memory so that each task will have access to it immediately.
This might not be necessary, leave it for the third, optimization stage of our development.
Έλα, έκανα αλλαγές που μπορείς να τις δεις στο τελευταίο commit στο brach σου ώστε να κάνει compile.
Επίσης πρόσθεσα printfs στην main ώστε να ελέγξουμε οπτικά τα αποτελέσματα του αλγορίθμου σου.
Δεν λειτουργεί... κάνε δοκιμές σε παρακαλώ μέχρι να βγάλει σωστά αποτελέσματα
We could try to parallelize on the GPU the part of code, currently running on the CPU, that sorts C appropriately in order to yeild further speed up.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.