def update_defaults(cls, defaults): global block_size, blocks, output SphereSimulation.update_defaults(defaults) defaults['block_size'] = block_size defaults['mem_alignment'] = mem_align defaults['subdomains'] = blocks defaults['max_iters'] = MAX_ITERS defaults['quiet'] = True defaults['output'] = output defaults['cuda_cache'] = False
def update_defaults(cls, defaults): global block_size, blocks, output SphereSimulation.update_defaults(defaults) defaults['block_size'] = block_size defaults['mem_alignment'] = mem_align defaults['subdomains'] = blocks defaults['max_iters'] = MAX_ITERS defaults['quiet'] = True defaults['output'] = output defaults['cuda_cache'] = False
def update_defaults(cls, defaults): global block_size, blocks, output SphereSimulation.update_defaults(defaults) defaults['block_size'] = block_size defaults['mem_alignment'] = mem_align defaults['subdomains'] = blocks defaults['max_iters'] = MAX_ITERS defaults['output'] = output defaults['cuda_cache'] = False defaults.update({ 'access_pattern': access_pattern, 'node_addressing': node_addressing, 'silent': True, })