Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
datovky
assignments
Commits
dda22725
Commit
dda22725
authored
Nov 11, 2021
by
Ondřej Mička
Browse files
matrix_experiment: added hyphen in test names
parent
5dd8bddb
Changes
5
Hide whitespace changes
Inline
Side-by-side
07-matrix_experiment/cpp/Makefile
View file @
dda22725
...
...
@@ -21,6 +21,6 @@ matrix_experiment_real: matrix_transpose.h matrix_tests.h matrix_experiment_real
$(CXX)
$(CPPFLAGS)
$(CXXFLAGS)
matrix_experiment_real.cpp
-o
$@
.PHONY
:
clean
clean
:
clean
:
:
rm
-f
matrix_experiment_sim matrix_experiment_real
rm
-rf
out
07-matrix_experiment/cpp/matrix_experiment_real.cpp
View file @
dda22725
...
...
@@ -5,7 +5,7 @@
#include <cmath>
#include <iostream>
#include <time.h>
// FIXME
#include <time.h>
using
namespace
std
;
...
...
07-matrix_experiment/cpp/matrix_experiment_sim.cpp
View file @
dda22725
...
...
@@ -6,7 +6,7 @@
#include <string>
#include <iostream>
#include <time.h>
// FIXME
#include <time.h>
using
namespace
std
;
...
...
07-matrix_experiment/python/Makefile
View file @
dda22725
...
...
@@ -13,5 +13,5 @@ out/t-sim-%-smart:
./matrix_experiment_sim.py
$*
smart
>
$@
.PHONY
:
clean
clean
:
rm
-rf
out
clean
:
:
rm
-rf
out
__pycache__
07-matrix_experiment/task.md
View file @
dda22725
...
...
@@ -29,10 +29,10 @@ proper points will be assigned later.
The test program is given two arguments:
-
Cache type:
-
`m1024b16`
– cache of 1024 items organized in 16-item blocks
-
`m8192b64`
– cache of 8192 items organized in 64-item blocks
-
`m65536b256`
– cache of 65536 items organized on 256-item blocks
-
`m65536b4096`
– cache of 65536 items organized in 4096-item blocks
-
`m1024
-
b16`
– cache of 1024 items organized in 16-item blocks
-
`m8192
-
b64`
– cache of 8192 items organized in 64-item blocks
-
`m65536
-
b256`
– cache of 65536 items organized on 256-item blocks
-
`m65536
-
b4096`
– cache of 65536 items organized in 4096-item blocks
-
The implementation to test (
`smart`
or
`naive`
).
The output of the program contains one line per experiment, which consists of
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment