Exemple #1
0
 def update_defaults(cls, defaults):
     LDCBlock.max_v = 0.05
     LDCSim.update_defaults(defaults)
     defaults.update({
         'max_iters': MAX_ITERS,
         'lat_nx': LAT_NX,
         'lat_ny': LAT_NY,
         'output': os.path.join(tmpdir, 'result')})
Exemple #2
0
 def update_defaults(cls, defaults):
     LDCBlock.max_v = 0.05
     LDCSim.update_defaults(defaults)
     defaults.update({
         'quiet': True,
         'lat_nx': 512,
         'lat_ny': 512,
         'output': os.path.join(tmpdir, 'result')})
Exemple #3
0
 def update_defaults(cls, defaults):
     LDCSim.update_defaults(defaults)
     defaults['block_size'] = block_size
     defaults['mem_alignment'] = mem_align
     defaults['ldc_subdomains'] = blocks
     defaults['max_iters'] = MAX_ITERS
     defaults['quiet'] = True
     defaults['output'] = output
     defaults['cuda_cache'] = False
     defaults['access_pattern'] = access_pattern
Exemple #4
0
 def update_defaults(cls, defaults):
     LDCSim.update_defaults(defaults)
     defaults.update({
         'block_size': block_size,
         'mem_alignment': mem_align,
         'max_iters': MAX_ITERS,
         'silent': True,
         'output': output,
         'cuda_cache': False,
         'access_pattern': access_pattern,
         'node_addressing': node_addressing})
Exemple #5
0
 def update_defaults(cls, defaults):
     LDCSim.update_defaults(defaults)
     defaults.update({
         'block_size': block_size,
         'mem_alignment': mem_align,
         'max_iters': MAX_ITERS,
         'silent': True,
         'output': output,
         'cuda_cache': False,
         'access_pattern': access_pattern,
         'node_addressing': node_addressing
     })
Exemple #6
0
 def update_defaults(cls, defaults):
     LDCBlock.max_v = 0.05
     LDCSim.update_defaults(defaults)
     defaults.update({"quiet": True, "lat_nx": 512, "lat_ny": 512, "output": os.path.join(tmpdir, "result")})