diff --git a/analysis/statistics/d0d2af75e883590773e3e9933b5b4dbe4a9f46cf.txt b/analysis/statistics/d0d2af75e883590773e3e9933b5b4dbe4a9f46cf.txt new file mode 100644 index 000000000..b0b2028fc --- /dev/null +++ b/analysis/statistics/d0d2af75e883590773e3e9933b5b4dbe4a9f46cf.txt @@ -0,0 +1,46 @@ + +changeset: 1493:d0d2af75e883590773e3e9933b5b4dbe4a9f46cf +char kNewtonVersion[] = "0.3-alpha-1493 (d0d2af75e883590773e3e9933b5b4dbe4a9f46cf) (build 05-17-2023-17:20-pei@pei-G5-5500-Linux-5.19.0-41-generic-x86_64)"; +\n./src/noisy/noisy-linux-EN -O0 applications/noisy/helloWorld.n -s +\n./src/newton/newton-linux-EN -v 0 -eP applications/newton/invariants/ViolinWithTemperatureDependence-pigroups.nt + +Informational Report: +--------------------- +Invariant "ViolinWithTemperatureDependenceForPiGroups" has 2 unique kernels, each with 2 column(s)... + + Kernel 0 is a valid kernel: + + 1 1 + -0.5 -0 + 1 0 + 0.5 0 + 0 -1 + -0 -1 + + + The ordering of parameters is: P1 P0 P3 P2 P4 P5 + + Pi group 0, Pi 0 is: P0^(-0.5) P1^( 1) P2^(0.5) P3^( 1) P4^( 0) P5^(-0) + + Pi group 0, Pi 1 is: P0^(-0) P1^( 1) P2^( 0) P3^( 0) P4^(-1) P5^(-1) + + + Kernel 1 is a valid kernel: + + 1 0 + -0.5 1 + 1 -2 + 0.5 -1 + -0 -2 + 0 -2 + + + The ordering of parameters is: P1 P0 P3 P2 P4 P5 + + Pi group 1, Pi 0 is: P0^(-0.5) P1^( 1) P2^(0.5) P3^( 1) P4^(-0) P5^( 0) + + Pi group 1, Pi 1 is: P0^( 1) P1^( 0) P2^(-1) P3^(-2) P4^(-2) P5^(-2) + + + + diff --git a/applications/newton/llvm-ir/performance_test/plot_sensor_ranges.py b/applications/newton/llvm-ir/performance_test/plot_sensor_ranges.py index 1dbd98815..597dd1d8f 100644 --- a/applications/newton/llvm-ir/performance_test/plot_sensor_ranges.py +++ b/applications/newton/llvm-ir/performance_test/plot_sensor_ranges.py @@ -141,7 +141,7 @@ time_speedup = [] for i in range(3, len(performance_data), 3): - time_speedup.append(float(performance_data[i][3].strip('%')) / 100) + time_speedup.append(float(performance_data[i][3].strip('%')) / 100 + 1) time_speedup = np.reshape(time_speedup, (test_case_num, range_extend_num, params_num)) ir_reduction = [] @@ -167,16 +167,18 @@ shutil.rmtree(fig_path, ignore_errors=True) os.mkdir(fig_path) +heatmap_fmt = ['.2f', '.2f', '.0%', '.0%'] # Heatmap for merit_id in range(1, merit_num, 2): plt.clf() plt.figure(dpi=300, constrained_layout=True) # for test_case_id in range(test_case_num): - fmt = lambda x, pos: '{:.0%}'.format(x) + cbar_fmt = '{:'+heatmap_fmt[merit_id]+'}' + fmt = lambda x, pos: cbar_fmt.format(x) fig = sns.heatmap(data=perf_data_speedup[merit_id].reshape([10, 17]).T, cmap=plt.get_cmap('Purples'), annot=True, - fmt=".0%", + fmt=heatmap_fmt[merit_id], cbar_kws={'format': FuncFormatter(fmt)}, xticklabels=name_list, yticklabels=param_list[0:params_num])