File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
cscs-checks/microbenchmarks/cpu/likwid Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -108,8 +108,8 @@ def set_exec_opts(self):
108108 self .data_size = self .system_cache_sizes [partname ][self .mem_level ]
109109 self .num_cpus_per_task = self .system_num_cpus [partname ]
110110 numa_domains = self .system_numa_domains [partname ]
111- num_cpu_domain = self .num_cpus_per_task / (len (numa_domains ) *
112- self .num_tasks_per_core )
111+ num_cpu_domain = self .num_cpus_per_task // (len (numa_domains ) *
112+ self .num_tasks_per_core )
113113 # result for daint:mc: '-w S0:100MB:18:1:2 -w S1:100MB:18:1:2'
114114 # format: -w domain:data_size:nthreads:chunk_size:stride
115115 # chunk_size and stride affect which cpus from <domain> are selected
@@ -145,7 +145,7 @@ def set_exec_opts(self):
145145 self .num_cpus_per_task = self .system_num_cpus [partname ]
146146 numa_domains = self .system_numa_domains [partname ]
147147
148- num_cpu_domain = (self .num_cpus_per_task /
148+ num_cpu_domain = (self .num_cpus_per_task //
149149 (len (numa_domains ) * self .num_tasks_per_core ))
150150
151151 # daint:mc: '-w S0:100MB:18:1:2-0:S1 -w S1:100MB:18:1:2-0:S0'
You can’t perform that action at this time.
0 commit comments