MCPcopy Create free account
hub / github.com/SeisSol/SeisSol / generateLayoutFile

Function generateLayoutFile

auto_tuning/scripts/tune/MemoryLayout.py:85–89  ·  view source on GitHub ↗
(configNames, memoryLayouts)

Source from the content-addressed store, hash-verified

83 writeConfig('{}{}{}.xml'.format(prefix, name, idx), memoryLayouts[0], { name: layout })
84
85def generateLayoutFile(configNames, memoryLayouts):
86 selection = dict()
87 for name, idx in configNames:
88 selection[name] = memoryLayouts[1][name][idx]
89 writeConfig('tuned_layout.xml', memoryLayouts[0], selection)
90
91def mergeBlock(block1, block2):
92 return ( min(block1[0], block2[0]),

Callers

nothing calls this directly

Calls 1

writeConfigFunction · 0.85

Tested by

no test coverage detected