pytorch
d0dcebe0 - [xplat] Move BatchLinearAlgebraKernel.cpp to aten_native_source_non_codegen_list

Commit
3 years ago
[xplat] Move BatchLinearAlgebraKernel.cpp to aten_native_source_non_codegen_list Summary: For some reason `aten/src/ATen/native/BatchLinearAlgebraKernel.cpp` were part of `aten_cpu_source_non_codegen_list` rather than `aten_native_source_non_codegen_list` Fixes linking issues after https://github.com/pytorch/pytorch/pull/67833 ``` stderr: ld.lld: error: undefined symbol: at::TensorIteratorBase::for_each(c10::function_ref<void (char**, long long const*, long long, long long)>, long long) >>> referenced by TensorIterator.h:352 (buck-out/gen/fe3a39b8/xplat/caffe2/aten_headerAndroid#header-mode-symlink-tree-with-header-map,headers/ATen/TensorIterator.h:352) >>> buck-out/gen/fe3a39b8/xplat/caffe2/aten_cpuAndroid#android-x86,compile-pic-BatchLinearAlgebraKernel.cpp.o93aa6b34/aten/src/ATen/native/BatchLinearAlgebraKernel.cpp.o:(at::native::(anonymous namespace)::unpack_pivots_cpu_kernel(at::TensorIterator&, long long)) clang: error: linker command failed with exit code 1 (use -v to see invocation) When running <c++ link>. When building rule //xplat/caffe2:aten_cpuAndroid#android-x86,shared (ovr_config//platform/android:fbsource-base)." ``` Test Plan: CI Reviewed By: dreiss, cccclai Differential Revision: D36215453 fbshipit-source-id: 5f9c7cab742bb87a70b5acda46ef85817e50575c (cherry picked from commit a1691c34f6bae484f710ac9321bfd8a8c999189e)
Author
Committer
Parents
Loading