Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
GRASLAND Hadrien
Fast5x5
Commits
295cafdc
Commit
295cafdc
authored
Apr 20, 2018
by
GRASLAND Hadrien
Browse files
Remove system-specific reference
parent
fa5a3ab9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
benchmark/benchmark.sh
benchmark/benchmark.sh
+1
-2
measure_perf.sh
measure_perf.sh
+1
-2
No files found.
benchmark/benchmark.sh
View file @
295cafdc
#!/bin/bash
export
REPEAT
=
20
export
PROG
=
"a.out"
export
FILE
=
"gemm"
...
...
@@ -27,7 +26,7 @@ for size in $(seq 3 8); do
echo
>>
${
FILE
}
_eigen.res
echo
-e
"
\t
Custom"
g++ gemm_custom.cpp
-I
${
BOOST_SIMD_ROOT
}
-DSIZE
=
$size
-O3
-march
=
native
g++ gemm_custom.cpp
-DSIZE
=
$size
-O3
-march
=
native
for
i
in
$(
seq
1
${
REPEAT
}
)
;
do
${
TIME
}
-f
"%U, "
./a.out 2>
>(
tr
-d
'\n'
|
tee
-a
${
FILE
}
_custom.res
)
&&
echo
done
...
...
measure_perf.sh
View file @
295cafdc
...
...
@@ -3,13 +3,12 @@ export REPEAT=10
export
PROG
=
"a.out"
export
FILE
=
"scal.txt"
export
TIME
=
/usr/bin/time
export
BOOST_SIMD_ROOT
=
/home/ping/These/boost.simd/include
rm
-f
custom_
${
FILE
}
rm
-f
eigen_
${
FILE
}
for
size
in
$(
seq
3 8
)
;
do
g++ matrix_product_custom.cpp
-I
${
BOOST_SIMD_ROOT
}
-DSIZE
=
$size
-O3
-march
=
native
g++ matrix_product_custom.cpp
-DSIZE
=
$size
-O3
-march
=
native
for
i
in
$(
seq
1
${
REPEAT
}
)
;
do
/usr/bin/time
-f
"%U, "
./a.out 2>
>(
tr
-d
'\n'
|
tee
-a
custom_
${
FILE
}
)
&&
echo
done
...
...
Write
Preview
Markdown
is supported
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