Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move PadNd from ATen/native to ATen #87456

Merged
merged 1 commit into from Oct 21, 2022

Conversation

atalman
Copy link
Contributor

@atalman atalman commented Oct 21, 2022

Summary:
This header is being included from both aten/native and torch/csrc, but some of our build configurations don't allow direct dependencies from torch/csrc to atent/native, so put the header in aten where it's always accessible.

Resolves #81198

Test Plan:
CI.

./scripts/build_android.sh
env ANDROID_ABI="x86_64" ANDROID_NDK=".../ndk-bundle" CMAKE_CXX_COMPILER_LAUNCHER=ccache CMAKE_C_COMPILER_LAUNCHER=ccache USE_VULKAN=0 ./scripts/build_android.sh
echo '#include <torch/torch.h>' > test.cpp
g++ -E -I $PWD/build_android/install/include/ -I $PWD/build_android/install/include/torch/csrc/api/include test.cpp >/dev/null

ghstack-source-id: 8f6f1b9954cd3ae5399db7a0bfe0d5ba70d39823
Pull Request resolved: #82379

Summary:
This header is being included from both aten/native and torch/csrc, but
some of our build configurations don't allow direct dependencies from
torch/csrc to atent/native, so put the header in aten where it's always
accessible.

Resolves pytorch#81198

Test Plan:
CI.
```
./scripts/build_android.sh
env ANDROID_ABI="x86_64" ANDROID_NDK=".../ndk-bundle" CMAKE_CXX_COMPILER_LAUNCHER=ccache CMAKE_C_COMPILER_LAUNCHER=ccache USE_VULKAN=0 ./scripts/build_android.sh
echo '#include <torch/torch.h>' > test.cpp
g++ -E -I $PWD/build_android/install/include/ -I $PWD/build_android/install/include/torch/csrc/api/include test.cpp >/dev/null
```

ghstack-source-id: 8f6f1b9954cd3ae5399db7a0bfe0d5ba70d39823
Pull Request resolved: pytorch#82379
@pytorch-bot pytorch-bot bot added the release notes: cpp release notes category label Oct 21, 2022
@pytorch-bot
Copy link

pytorch-bot bot commented Oct 21, 2022

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/87456

Note: Links to docs will display an error until the docs builds have been completed.

❌ 1 Failures

As of commit d5c3920:

The following jobs have failed:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Oct 21, 2022
@malfet malfet merged commit 51fa4fa into pytorch:release/1.13 Oct 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ciflow/trunk Trigger trunk jobs on your pull request release notes: cpp release notes category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants