Handle removing contiguous on operators that use modules (#1005)
Currently, eliminate_contiguous will never remove contiguous for operators that use module inputs due to the fact that it doesn't pass the module inputs to compute_shape. - Update to pass the module inputs correctly to compute_shape - Fix the overloads of compute_shape so that when passed an empty vector of module inputs it will call the overload without module inputs - Add tests with contiguous and pointwise module function. - Move add_pointwise function to a seperate header to reuse across different tests
Showing
src/eliminate_contiguous.cpp
100755 → 100644
src/pass_manager.cpp
100644 → 100755
test/eliminate_contiguous_test.cpp
100644 → 100755
test/fuse_pointwise.cpp
100644 → 100755
test/gpu/adjust_allocation.cpp
100644 → 100755
File mode changed from 100644 to 100755
test/include/pointwise.hpp
0 → 100755
Please register or sign in to comment