[Vulkan] Fix mm op null pointer dereference on Android#79701
[Vulkan] Fix mm op null pointer dereference on Android#79701manuelcandales wants to merge 1 commit intopytorch:masterfrom
Conversation
🔗 Helpful links
✅ No Failures (0 Pending)As of commit 296a08b (more details on the Dr. CI page): Expand to see more💚 💚 Looks good so far! There are no failures yet. 💚 💚 This comment was automatically generated by Dr. CI (expand for details).Please report bugs/suggestions to the (internal) Dr. CI Users group. |
|
This pull request was exported from Phabricator. Differential Revision: D37189192 |
|
This pull request was exported from Phabricator. Differential Revision: D37189192 |
c12a0ff to
83eb9d3
Compare
Summary: Pull Request resolved: pytorch#79701 The use of `c10::nullopt` instead of `c10::optional<Tensor>()` caused a null pointer dereference on Android. Test Plan: On Mac: ``` buck run //xplat/caffe2:pt_vulkan_api_test_binAppleMac ``` On Android: ``` buck build -c ndk.custom_libcxx=false -c pt.enable_qpl=0 //xplat/caffe2:pt_vulkan_api_test_binAndroid\#android-arm64 --show-output adb push buck-out/gen/xplat/caffe2/pt_vulkan_api_test_binAndroid\#android-arm64 /data/local/tmp/vulkan_api_test adb shell "/data/local/tmp/vulkan_api_test" ``` Reviewed By: SS-JIA Differential Revision: D37189192 fbshipit-source-id: a7f264aeefc92cf956b7b75833d2cab6c5a04054
83eb9d3 to
296a08b
Compare
|
This pull request was exported from Phabricator. Differential Revision: D37189192 |
|
@pytorchbot merge (Initiating merge automatically since Phabricator Diff has merged) |
|
@pytorchbot successfully started a merge job. Check the current status here |
|
@manuelcandales your PR has been successfully merged. |
|
Hey @manuelcandales. |
Summary: Pull Request resolved: #79701 The use of `c10::nullopt` instead of `c10::optional<Tensor>()` caused a null pointer dereference on Android. Test Plan: On Mac: ``` buck run //xplat/caffe2:pt_vulkan_api_test_binAppleMac ``` On Android: ``` buck build -c ndk.custom_libcxx=false -c pt.enable_qpl=0 //xplat/caffe2:pt_vulkan_api_test_binAndroid\#android-arm64 --show-output adb push buck-out/gen/xplat/caffe2/pt_vulkan_api_test_binAndroid\#android-arm64 /data/local/tmp/vulkan_api_test adb shell "/data/local/tmp/vulkan_api_test" ``` Reviewed By: SS-JIA Differential Revision: D37189192 fbshipit-source-id: fc9c917a90358227e9a076d52b3c739d452b4a96
Summary: The use of `c10::nullopt` instead of `c10::optional<Tensor>()` caused a null pointer dereference on Android. Test Plan: On Mac: ``` buck run //xplat/caffe2:pt_vulkan_api_test_binAppleMac ``` On Android: ``` buck build -c ndk.custom_libcxx=false -c pt.enable_qpl=0 //xplat/caffe2:pt_vulkan_api_test_binAndroid\#android-arm64 --show-output adb push buck-out/gen/xplat/caffe2/pt_vulkan_api_test_binAndroid\#android-arm64 /data/local/tmp/vulkan_api_test adb shell "/data/local/tmp/vulkan_api_test" ``` Reviewed By: SS-JIA Differential Revision: D37189192 Pull Request resolved: pytorch#79701 Approved by: https://github.com/SS-JIA
Summary: The use of `c10::nullopt` instead of `c10::optional<Tensor>()` caused a null pointer dereference on Android. Test Plan: On Mac: ``` buck run //xplat/caffe2:pt_vulkan_api_test_binAppleMac ``` On Android: ``` buck build -c ndk.custom_libcxx=false -c pt.enable_qpl=0 //xplat/caffe2:pt_vulkan_api_test_binAndroid\#android-arm64 --show-output adb push buck-out/gen/xplat/caffe2/pt_vulkan_api_test_binAndroid\#android-arm64 /data/local/tmp/vulkan_api_test adb shell "/data/local/tmp/vulkan_api_test" ``` Reviewed By: SS-JIA Differential Revision: D37189192 Pull Request resolved: pytorch#79701 Approved by: https://github.com/SS-JIA
Summary: The use of
c10::nulloptinstead ofc10::optional<Tensor>()caused a null pointer dereference on Android.Test Plan:
On Mac:
On Android:
Reviewed By: SS-JIA
Differential Revision: D37189192