Skip to content

Commit

Permalink
Test CICD 70
Browse files Browse the repository at this point in the history
  • Loading branch information
EliasReutelsterz committed Jul 2, 2024
1 parent 68c1570 commit 41ba6b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tensorforge/codegen/visitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ def generate(self, cpp, namespace, testName, kernelClass, cfg, gemm_cfg, testFra
with cpp.Function(**testFramework.functionArgs(testName)):

if self._target == 'gpu':
cpp('numElements = 1;')
cpp(f'int {BatchedOperationsAux.NUM_ELEMENTS_NAME} = 1;')
cpp(f'yateto::LinearAllocatorT<{self._arch.typename}> linearAllocator;')

factory = UnitTestFactory(cpp, self._arch, self._name, testFramework, self._target)
Expand Down

0 comments on commit 41ba6b4

Please sign in to comment.