pytorch
a65e7570 - [TensorExpr] CudaCodegen: restart counter for function names unique ID inside each codegen instantiation. (#47254)

Commit
4 years ago
[TensorExpr] CudaCodegen: restart counter for function names unique ID inside each codegen instantiation. (#47254) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/47254 CUDA codegen used a static global counter for picking names for functions, but the functions only need to be unique in the scope of the given codegen. This PR fixes that. Differential Revision: D24698271 Test Plan: Imported from OSS Reviewed By: bertmaher Pulled By: ZolotukhinM fbshipit-source-id: 516c0087b86b35bbb6ea7c71bb0ed9c3daaca2b8
Author
Mikhail Zolotukhin
Parents
Loading