pytorch
eafce239 - [pytorch-vulkan] aten::floor_divide (#110785)

Commit
1 year ago
[pytorch-vulkan] aten::floor_divide (#110785) Summary: as title. only tensor_scalar. this diff does not include the element-wise tensor-tensor operation. Test Plan: ``` [yipjustin@33167.od ~/fbsource (9cfca7c97)]$ LD_LIBRARY_PATH=third-party/swiftshader/lib/linux-x64/ buck2 run fbcode/mode/dev-nosan //xplat/caffe2:pt_vulkan_api_test_bin -- --gtest_filter="*floor_divide_scalar*" Watchman fresh instance: new mergebase, cleared graph state, cleared dep files Buck UI: https://www.internalfb.com/buck2/bcac40be-79af-47c5-bd3f-95c11179aa68 Network: Up: 29MiB Down: 264MiB (reSessionID-2fef8b89-76b0-4496-bb27-b10d42cf7ef4) Jobs completed: 5196. Time elapsed: 45.9s. Cache hits: 81%. Commands: 2070 (cached: 1672, remote: 375, local: 23) BUILD SUCCEEDED Running main() from third-party/googletest/1.11.0/googletest/googletest/src/gtest_main.cc Note: Google Test filter = *floor_divide_scalar* [==========] Running 2 tests from 1 test suite. [----------] Global test environment set-up. [----------] 2 tests from VulkanAPITest [ RUN ] VulkanAPITest.floor_divide_scalar [ OK ] VulkanAPITest.floor_divide_scalar (150 ms) [ RUN ] VulkanAPITest.floor_divide_scalar_inplace [ OK ] VulkanAPITest.floor_divide_scalar_inplace (39 ms) [----------] 2 tests from VulkanAPITest (189 ms total) [----------] Global test environment tear-down [==========] 2 tests from 1 test suite ran. (190 ms total) [ PASSED ] 2 tests. ``` Differential Revision: D50001740 Pull Request resolved: https://github.com/pytorch/pytorch/pull/110785 Approved by: https://github.com/SS-JIA
Author
Committer
Parents
Loading