Fix bytes vs. elements logic in memoization cache.
Fix bytes vs. elements logic in memoization cache.


Former-commit-id: 9a56e873b76c3323a67576118d11e44b7c73a0a8
darkbuck/Halide,darkbuck/Halide,darkbuck/Halide,Trass3r/Halide,Trass3r/Halide,darkbuck/Halide,Trass3r/Halide,Trass3r/Halide,Trass3r/Halide,Trass3r/Halide,darkbuck/Halide,darkbuck/Halide,darkbuck/Halide,Trass3r/Halide