ef3b051ba0dc69a02f0d7aa8e955bea26b334f51,spynnaker/pyNN/utilities/bit_field_utilities.py,,get_estimated_sdram_for_bit_field_region,#Any#Any#,46

Before Change


                max_atoms = incoming_edge.pre_vertex.n_atoms

            // Get the number of likely vertices
            n_machine_vertices = int(math.ceil(
                float(incoming_edge.pre_vertex.n_atoms) /
                float(max_atoms)))
            n_atoms_per_machine_vertex = int(math.ceil(
                float(incoming_edge.pre_vertex.n_atoms) /
                n_machine_vertices))
            if isinstance(edge_pre_vertex, DelayExtensionVertex):
                n_atoms_per_machine_vertex *= \
                    edge_pre_vertex.n_delay_stages
            n_words_for_atoms = int(math.ceil(
                n_atoms_per_machine_vertex / BIT_IN_A_WORD))
            sdram += (
                (ELEMENTS_USED_IN_EACH_BIT_FIELD + (

After Change



            // TODO im sure this can be merged into the max function. but meh
            slice_atoms = list()
            for vertex_slice in slices:
                slice_atoms.append(vertex_slice.n_atoms)
            n_atoms_per_machine_vertex = max(slice_atoms)

            if isinstance(incoming_edge.pre_vertex, DelayExtensionVertex):
                n_atoms_per_machine_vertex *= \
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: SpiNNakerManchester/sPyNNaker
Commit Name: ef3b051ba0dc69a02f0d7aa8e955bea26b334f51
Time: 2020-09-30
Author: alan.barry.stokes@gmail.com
File Name: spynnaker/pyNN/utilities/bit_field_utilities.py
Class Name:
Method Name: get_estimated_sdram_for_bit_field_region


Project Name: deeptools/HiCExplorer
Commit Name: e8a8edec508fcf886d5c6329ff0729b1cff845e8
Time: 2018-09-04
Author: wolffj@informatik.uni-freiburg.de
File Name: hicexplorer/utilities.py
Class Name:
Method Name: exp_obs_matrix_norm


Project Name: yangyanli/PointCNN
Commit Name: 632ffd19e4edb2077b2c27a50f1654b7453797e6
Time: 2019-03-28
Author: burui11087@gmail.com
File Name: data_conversions/prepare_semantic3d_filelists.py
Class Name:
Method Name: main