Skip to content

Commit efc68c5

Browse files
committed
Fix spelling mistake
1 parent 47150ff commit efc68c5

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

Deeploy/CommonExtensions/CodeTransformationPasses/IntrospectiveCodeTransformation.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,14 +117,14 @@ def extractDynamicReferences(self,
117117
ctxt: NetworkContext,
118118
executionBlock: ExecutionBlock = None,
119119
unrollStructs = False,
120-
includeGobalReferences = False):
120+
includeGlobalReferences = False):
121121

122122
makoDynamicReferences = []
123123
for codeSnippet in executionBlock.codeSnippets:
124124
template, operatorRepresentation = codeSnippet.template, codeSnippet.operatorRepresentation
125125

126126
newRefs = self._extractDynamicExpressions(ctxt, operatorRepresentation, template.template, unrollStructs,
127-
includeGobalReferences)
127+
includeGlobalReferences)
128128

129129
makoDynamicReferences += newRefs
130130

@@ -145,7 +145,7 @@ def _extractDynamicExpressions(self,
145145
operatorRepresentation: OperatorRepresentation,
146146
template: Template,
147147
unrollStructs = False,
148-
includeGobalReferences = False):
148+
includeGlobalReferences = False):
149149
codeHash = hash(template._source)
150150

151151
if codeHash in self.parseTreeDict.keys():
@@ -194,7 +194,7 @@ def _unrollStructReferences(val: Struct) -> List[str]:
194194
dynamicLocalReferences = [ref for ref in localReferences if ctxt.lookup(ref)._deploy]
195195
dynamicGlobalReferences = [ref for ref in globalReferences if isinstance(ctxt.lookup(ref), VariableBuffer)]
196196

197-
if includeGobalReferences:
197+
if includeGlobalReferences:
198198
return dynamicLocalReferences + dynamicGlobalReferences
199199
else:
200200
return dynamicLocalReferences

Deeploy/CommonExtensions/CodeTransformationPasses/MemoryAllocation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def apply(self,
131131
references = self.extractDynamicReferences(ctxt,
132132
executionBlock,
133133
unrollStructs = True,
134-
includeGobalReferences = False)
134+
includeGlobalReferences = False)
135135
localBuffers = [ctxt.localObjects[ref] for ref in references]
136136
memoryLevelBuffers = [buff for buff in localBuffers if self.is_memory_level(buff)]
137137

@@ -168,7 +168,7 @@ def apply(self,
168168
references = self.extractDynamicReferences(ctxt,
169169
executionBlock,
170170
unrollStructs = True,
171-
includeGobalReferences = False)
171+
includeGlobalReferences = False)
172172
localBuffers = [ctxt.localObjects[ref] for ref in references]
173173
memoryLevelBuffers = [buff for buff in localBuffers if self.is_memory_level(buff)]
174174

Deeploy/CommonExtensions/CodeTransformationPasses/PrintInputs.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def apply(self,
8383
references = self.extractDynamicReferences(ctxt,
8484
executionBlock,
8585
unrollStructs = True,
86-
includeGobalReferences = True)
86+
includeGlobalReferences = True)
8787

8888
for ref in references:
8989
refDict = self._getRepDict(ctxt, ref, name)
@@ -126,7 +126,7 @@ def apply(self,
126126
references = self.extractDynamicReferences(ctxt,
127127
executionBlock,
128128
unrollStructs = True,
129-
includeGobalReferences = True)
129+
includeGlobalReferences = True)
130130

131131
filteredReferences = [ref for ref in references if self._matchesRegex(ctxt, ref)]
132132

@@ -167,7 +167,7 @@ def apply(self,
167167
references = self.extractDynamicReferences(ctxt,
168168
executionBlock,
169169
unrollStructs = True,
170-
includeGobalReferences = True)
170+
includeGlobalReferences = True)
171171

172172
for ref in references:
173173
rep = self._getRepDict(ctxt, ref, name)
@@ -188,7 +188,7 @@ def apply(self,
188188
references = self.extractDynamicReferences(ctxt,
189189
executionBlock,
190190
unrollStructs = True,
191-
includeGobalReferences = True)
191+
includeGlobalReferences = True)
192192

193193
filteredReferences = [ref for ref in references if self._matchesRegex(ctxt, ref)]
194194

@@ -220,7 +220,7 @@ def apply(self, ctxt: NetworkContext, executionBlock: ExecutionBlock,
220220
references = self.extractDynamicReferences(ctxt,
221221
executionBlock,
222222
unrollStructs = True,
223-
includeGobalReferences = True)
223+
includeGlobalReferences = True)
224224

225225
for ref in references:
226226
rep = self._getRepDict(ctxt, ref, name)
@@ -241,7 +241,7 @@ def apply(self,
241241
references = self.extractDynamicReferences(ctxt,
242242
executionBlock,
243243
unrollStructs = True,
244-
includeGobalReferences = True)
244+
includeGlobalReferences = True)
245245

246246
filteredReferences = [ref for ref in references if self._matchesRegex(ctxt, ref)]
247247

0 commit comments

Comments
 (0)