File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 19
19
"bool" : ctypes .c_bool ,
20
20
"int8" : ctypes .c_int8 ,
21
21
"int16" : ctypes .c_int16 ,
22
+ "float16" : ctypes .c_int16 ,
22
23
"int32" : ctypes .c_int32 ,
23
24
"int64" : ctypes .c_int64 ,
24
25
"uint8" : ctypes .c_uint8 ,
Original file line number Diff line number Diff line change @@ -125,9 +125,7 @@ def after_finish(self):
125
125
126
126
def get_results (self ):
127
127
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 ()
131
129
132
130
# correct energy measurement, because current _energy number is collected over the entire duration
133
131
# we estimate energy as the average power over the continuous duration times the kernel execution time
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ authors = [
16
16
" Willem-Jan Palenstijn <w.j.palenstijn@liacs.leidenuniv.nl>" ,
17
17
" Bram Veenboer <veenboer@astron.nl>" ,
18
18
" Richard Schoonhoven <Richard.Schoonhoven@cwi.nl>" ,
19
+ " Leon Oostrum <l.oostrum@esciencecenter.nl" ,
19
20
]
20
21
21
22
readme = " README.md"
You can’t perform that action at this time.
0 commit comments