mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
Updated TH to ATen porting guide (markdown)
@ -152,7 +152,7 @@ General guidance: maybe someone has ported something similar before! You can use
|
||||
|
||||
* `#pragma omp`. This parallelizes CPU loops, with a huge impact on performance. Don't forget to preserve these when you move loops over!
|
||||
|
||||
## Caveats for [native_functions.yaml](https://github.com/pytorch/pytorch/blob/master/aten/src/ATen/native/native_functions.yaml)
|
||||
## Caveats for `native_functions.yaml`
|
||||
|
||||
* The argument order in [native_functions.yaml](https://github.com/pytorch/pytorch/blob/master/aten/src/ATen/native/native_functions.yaml) does not match the order in [NativeFunctions.h](https://github.com/pytorch/pytorch/blob/master/torch/include/ATen/NativeFunctions.h). Example:
|
||||
|
||||
|
Reference in New Issue
Block a user