Searched refs:AlignSizeUp (Results 1 – 4 of 4) sorted by relevance
/external/tensorflow/tensorflow/lite/micro/ |
D | memory_helpers_test.cc | 106 TF_LITE_MICRO_EXPECT_EQ(static_cast<size_t>(1), tflite::AlignSizeUp(1, 1)); in TF_LITE_MICRO_TEST() 107 TF_LITE_MICRO_EXPECT_EQ(static_cast<size_t>(2), tflite::AlignSizeUp(1, 2)); in TF_LITE_MICRO_TEST() 108 TF_LITE_MICRO_EXPECT_EQ(static_cast<size_t>(3), tflite::AlignSizeUp(1, 3)); in TF_LITE_MICRO_TEST() 109 TF_LITE_MICRO_EXPECT_EQ(static_cast<size_t>(16), tflite::AlignSizeUp(1, 16)); in TF_LITE_MICRO_TEST() 111 TF_LITE_MICRO_EXPECT_EQ(static_cast<size_t>(23), tflite::AlignSizeUp(23, 1)); in TF_LITE_MICRO_TEST() 112 TF_LITE_MICRO_EXPECT_EQ(static_cast<size_t>(24), tflite::AlignSizeUp(23, 2)); in TF_LITE_MICRO_TEST() 113 TF_LITE_MICRO_EXPECT_EQ(static_cast<size_t>(24), tflite::AlignSizeUp(23, 3)); in TF_LITE_MICRO_TEST() 114 TF_LITE_MICRO_EXPECT_EQ(static_cast<size_t>(32), tflite::AlignSizeUp(23, 16)); in TF_LITE_MICRO_TEST()
|
D | memory_helpers.h | 34 size_t AlignSizeUp(size_t size, size_t alignment);
|
D | memory_helpers.cc | 44 size_t AlignSizeUp(size_t size, size_t alignment) { in AlignSizeUp() function
|
D | micro_allocator.cc | 346 AlignSizeUp(current->bytes, kBufferAlignment); in CreatePlan()
|