Changeset 870


Ignore:
Timestamp:
Oct 28, 2014, 10:17:34 AM (10 years ago)
Author:
cfuguet
Message:

tsar_generic_leti: modifying the platform arch.py file

  • Removing restrictions on the mesh dimensions. The X_SIZE or Y_SIZE on the LETI platform are not always a power of 2.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/platforms/tsar_generic_leti/arch.py

    r826 r870  
    7070    assert( nb_procs <= (1 << p_width) )
    7171
    72     assert( (x_size == 1) or (x_size == 2) or (x_size == 4)
    73              or (x_size == 8) or (x_size == 16) )
    74 
    75     assert( (y_size == 1) or (y_size == 2) or (y_size == 4)
    76              or (y_size == 8) or (y_size == 16) )
     72    assert( (x_size >= 1) and (x_size <= 16) )
     73
     74    assert( (y_size >= 1) and (y_size <= 16) )
    7775
    7876    assert( nb_ttys == 1 )
Note: See TracChangeset for help on using the changeset viewer.