При запуске программы, указываются также аргументы. Если после названия казать: matrix30004000.txt matrix40002000.txt 3000 4000 2000. То сгенерятся две матрицы с размерностью 3000x4000,4000x2000 и соответствующими файлами. Если после названия казать: matrix30004000.txt matrix40002000.txt режим размерЧанка. То считаются и перемножатся матрицы, а результат сохранится в файл result.txt, так же в журнал запишется время выполнения перемножения матриц и условия. Режимы: 1 – в одном потоке; 2 – static mode; 3 – dynamic mode; 4 – guided mode. РазмерЧанка это целое число больше 0. Пример вывода в журнал: ONE THREAD MODE: 3000x4000 on 4000x2000, spent 258969 milliseconds STATIC MODE (chunk size = 1) : 3000x4000 on 4000x2000, spent 160594 milliseconds DYNAMIC MODE (chunk size = 1) : 3000x4000 on 4000x2000, spent 169437 milliseconds GUIDED MODE (chunk size = 200) : 3000x4000 on 4000x2000, spent 173218 milliseconds
multithreading's Introduction
multithreading's People
Forkers
vodanhstRecommend 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.