<jupyter_start><jupyter_text>Time to solution of the CUDA implementations as a function of the number of pixels<jupyter_code>n_pxs = [2073600, 3686400, 8294400, 58982400, 92160000, 144000000, 207360000, 368640000]
opti3 = [1.70, 1.63, 2.06, 5.22, 7.31, 10.36, 14.46, 24.39]
opti4 = [1.05, 1.19, 1.25, 1.49, 1.58, 1.92, 2.26, 2.88]
opti5 = [1.14, 1.26, 1.15, 1.38, 1.58, 1.64, 1.91, 2.52]
all_optis = [opti3, opti4, opti5]
all_labels = ['opti3', 'opti4', 'opti5']
plotting.plot_tts(n_pxs, all_optis, xscale='log', yscale='log', 
                  labels=all_labels, legend_title='CUDA implementation', 
                  xlabel='Number of pixels', ylabel='Time to solution [s]')
plotting.plot_tts(n_pxs, all_optis, xscale='log', yscale='log', 
                  labels=all_labels, legend_title='CUDA implementation', 
                  xlabel='Number of pixels', ylabel='Time to solution [s]', 
                  filename='cuda-optis-px', saveas='svg')<jupyter_output><empty_output><jupyter_text>Time to solution of the CUDA implementations as a function of max_iteration<jupyter_code>n_iters = [1000, 10000, 100000, 1000000, 10000000]
opti3 = [23.60, 24.42, 30.52, 93.82, 722.51]
opti4 = [2.24, 3.04, 9.17, 72.96, 710.65]
opti5 = [2.06, 2.52, 5.54, 37.64, 356.42]
all_optis = [opti3, opti4, opti5]
all_labels = ['opti3', 'opti4', 'opti5']
plotting.plot_tts(n_iters, all_optis, xscale='log', yscale='log', 
                  labels=all_labels, legend_title='CUDA implementation', 
                  xlabel='max_iteration', ylabel='Time to solution [s]')
plotting.plot_tts(n_iters, all_optis, xscale='log', yscale='log', 
                  labels=all_labels, legend_title='CUDA implementation', 
                  xlabel='max_iteration', ylabel='Time to solution [s]', 
                  filename='cuda-optis-maxiter', saveas='svg')<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.1553763440860215, 'fraction_numerical': 0.13118279569892474, 'mean_word_length': 3.595061728395062, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 1, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '2', 'dir': 'jupyter-structured-clean-dedup', 'id': '171574', 'license': 'MIT', 'n_tokens_mistral': 899, 'n_tokens_neox': 714, 'n_words': 156, 'path': 'plots/CudaOptis.ipynb', 'repo_name': 'e-bug/parallel-mandelbrot-set', 'size': '1860'}