Skip to content

Commit d92a772

Browse files
authored
Merge branch 'KernelTuner:master' into hip-local-memory-error-handleing
2 parents dab5e43 + 083a3ee commit d92a772

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

kernel_tuner/backends/hip.py

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"bool": ctypes.c_bool,
2020
"int8": ctypes.c_int8,
2121
"int16": ctypes.c_int16,
22+
"float16": ctypes.c_int16,
2223
"int32": ctypes.c_int32,
2324
"int64": ctypes.c_int64,
2425
"uint8": ctypes.c_uint8,

kernel_tuner/observers/pmt.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,7 @@ def after_finish(self):
125125

126126
def get_results(self):
127127
average_kernel_execution_time_ms = self.results["time"]
128-
129-
averages = {key: np.average(values) for key, values in self.results.items()}
130-
self.parent.initialize_results(self.parent.pm_names)
128+
averages = self.parent.get_results()
131129

132130
# correct energy measurement, because current _energy number is collected over the entire duration
133131
# we estimate energy as the average power over the continuous duration times the kernel execution time

pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ authors = [
1616
"Willem-Jan Palenstijn <[email protected]>",
1717
"Bram Veenboer <[email protected]>",
1818
"Richard Schoonhoven <[email protected]>",
19+
"Leon Oostrum <[email protected]",
1920
]
2021

2122
readme = "README.md"

0 commit comments

Comments
 (0)