Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tsoc
superbenchmark
Commits
1e96c27e
Unverified
Commit
1e96c27e
authored
Jun 30, 2021
by
guoshzhao
Committed by
GitHub
Jun 30, 2021
Browse files
Benchmarks: Fix Bug - Fix typo in gemm-flops benchmark. (#109)
parent
8ffaddfa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
superbench/benchmarks/micro_benchmarks/gemm_flops_performance.py
...nch/benchmarks/micro_benchmarks/gemm_flops_performance.py
+1
-1
No files found.
superbench/benchmarks/micro_benchmarks/gemm_flops_performance.py
View file @
1e96c27e
...
@@ -111,7 +111,7 @@ def _preprocess(self):
...
@@ -111,7 +111,7 @@ def _preprocess(self):
else
:
else
:
self
.
_args
.
precision
=
[
p
.
upper
()
for
p
in
self
.
_args
.
precision
]
self
.
_args
.
precision
=
[
p
.
upper
()
for
p
in
self
.
_args
.
precision
]
for
p
in
self
.
_args
.
precision
:
for
p
in
self
.
_args
.
precision
:
if
p
not
in
list
(
self
.
__kernel_map
.
keys
())
:
if
p
not
in
self
.
__kernel_map
[
capability
]
:
self
.
_result
.
set_return_code
(
ReturnCode
.
INVALID_ARGUMENT
)
self
.
_result
.
set_return_code
(
ReturnCode
.
INVALID_ARGUMENT
)
logger
.
warning
(
logger
.
warning
(
'Unsupported precision - benchmark: {}, precision: {}, expected: {}.'
.
format
(
'Unsupported precision - benchmark: {}, precision: {}, expected: {}.'
.
format
(
...
...
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