Ignore:
Timestamp:
Nov 26, 2016, 7:33:20 PM (8 years ago)
Author:
alain
Message:

bloup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/applications/raycast/raycast.py

    r708 r824  
    3434
    3535    # define vsegs base & size
    36     code_base  = 0x10000000
    37     code_size  = 0x00010000     # 64 Kbytes
     36    code_base  = 0x10000000     # replicated in all clusters
     37    code_size  = 0x00010000     # 64 Kbytes per cluster
    3838   
    39     data_base  = 0x20000000
    40     data_size  = 0x00040000     # 256 Kbytes
     39    data_base  = 0x20000000     # non replicated
     40    data_size  = 0x00040000     # 256 Kbytes in cluster 0
    4141
    42     stack_base = 0x40000000
    43     stack_size = 0x00200000     # 2 Mbytes
     42    stack_base = 0x40000000     # distributed in all clusters
     43    stack_size = 0x00010000     # 64 Kbytes per proc
    4444
    45     heap_base  = 0x60000000
    46     heap_size  = 0x00400000     # 4 Mbytes
     45    heap_base  = 0x60000000     # distributed in all clusters
     46    heap_size  = 0x00400000     # 4 Mbytes per cluster
    4747
    4848    # create vspace
     
    7373                for p in xrange( nprocs ):
    7474                    proc_id = (((x * y_size) + y) * nprocs) + p
    75                     size    = (stack_size / nprocs) & 0xFFFFF000
     75                    size    = stack_size
    7676                    base    = stack_base + (proc_id * size)
    7777                    mapping.addVseg( vspace, 'raycast_stack_%d_%d_%d' % (x,y,p),
    7878                                     base, size, 'C_WU', vtype = 'BUFFER',
    7979                                     x = x , y = y , pseg = 'RAM',
    80                                      local = True, big = True )   
     80                                     local = True, big = False )   
    8181
    8282    # heap vsegs : shared (one per cluster)
Note: See TracChangeset for help on using the changeset viewer.