[xla] Define primitive type bit and byte width in a header file
BEFORE --------------------------------------------------------------- Benchmark Time CPU Iterations --------------------------------------------------------------- BM_FlatMemrefX12All 81.3 ns 81.3 ns 8617874 BM_FlatMemrefX12None 69.1 ns 69.1 ns 10129964 AFTER --------------------------------------------------------------- Benchmark Time CPU Iterations --------------------------------------------------------------- BM_FlatMemrefX12All 54.8 ns 54.8 ns 12683098 BM_FlatMemrefX12None 47.7 ns 47.7 ns 14667555 PiperOrigin-RevId: 481192231
Showing
想要评论请 注册 或 登录