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

Function getRealSize

generated_code/arch.py:51–56  ·  view source on GitHub ↗
(architecture)

Source from the content-addressed store, hash-verified

49 return [p + c for c in cpus for p in precisions]
50
51def getRealSize(architecture):
52 realSize = {
53 's': 4,
54 'd': 8
55 }
56 return realSize[ architecture[0].lower() ]
57
58def getCpu(architecture):
59 return architecture[1:]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected