Lines Matching refs:KernelFormat
45 template <typename KernelFormat>
48 FindL2BlockSizes<KernelFormat>(rows, cols, depth, num_threads, in Init()
51 FindL1BlockSizes<KernelFormat>(l2_rows, l2_cols, l2_depth, l1_bytes_to_use, in Init()
55 template <typename KernelFormat>
65 std::max(1, RoundUp<KernelFormat::kRows>(rows) / num_threads); in FindL2BlockSizes()
80 RoundUp<KernelFormat::kCols>(CeilQuotient(cols, min_l2_cols_blocks)); in FindL2BlockSizes()
87 l2_rows = RoundUp<KernelFormat::kRows>(per_thread_rows); in FindL2BlockSizes()
94 l2_rows = RoundUp<KernelFormat::kRows>( in FindL2BlockSizes()
103 template <typename KernelFormat>
112 assert(rows % KernelFormat::kRows == 0); in FindL1BlockSizes()
113 assert(cols % KernelFormat::kCols == 0); in FindL1BlockSizes()
114 assert(depth % KernelFormat::kDepth == 0); in FindL1BlockSizes()
122 1, (l1_bytes_to_use - 4 * KernelFormat::kRows * KernelFormat::kCols) / in FindL1BlockSizes()
123 (KernelFormat::kRows + KernelFormat::kCols)); in FindL1BlockSizes()
136 RoundUp<KernelFormat::kRows>(CeilQuotient(rows, min_l1_rows_blocks)); in FindL1BlockSizes()