Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[THC] Rename THCTensorMathMagma from cu to cpp (#58521)
Summary: This supposed to be a no-op (as .cu file do not contain any cuda code), that reduces compilation time 2.5x: ``` $ time /usr/local/cuda/bin/nvcc /home/nshulga/git/pytorch/aten/src/THC/THCTensorMathMagma.cu -c ... real 0m7.701s $ time /usr/local/cuda/bin/nvcc /home/nshulga/git/pytorch/aten/src/THC/THCTensorMathMagma.cpp -c ... real 0m2.657s ``` Pull Request resolved: #58521 Reviewed By: ngimel Differential Revision: D28526946 Pulled By: malfet fbshipit-source-id: ed42a9db3349654b75dcf63605bb4256154f01ff
- Loading branch information
1 parent
ae99640
commit 296d2a4
Showing
4 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
aten/src/THC/generic/THCTensorMathMagma.cu → aten/src/THC/generic/THCTensorMathMagma.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters