Unverified Commit 1e96c27e authored by guoshzhao's avatar guoshzhao Committed by GitHub
Browse files

Benchmarks: Fix Bug - Fix typo in gemm-flops benchmark. (#109)

parent 8ffaddfa
......@@ -111,7 +111,7 @@ def _preprocess(self):
else:
self._args.precision = [p.upper() 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)
logger.warning(
'Unsupported precision - benchmark: {}, precision: {}, expected: {}.'.format(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment