Home
last modified time | relevance | path

Searched refs:RoundUp (Results 1 – 25 of 61) sorted by relevance

123

/external/gemmlowp/internal/
Dblock_params.h65 std::max(1, RoundUp<KernelFormat::kRows>(rows) / num_threads); in FindL2BlockSizes()
72 l2_depth = RoundUp<kRegisterSize>(depth); 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()
127 RoundUp<kRegisterSize>(CeilQuotient(depth, min_l1_depth_blocks)); in FindL1BlockSizes()
136 RoundUp<KernelFormat::kRows>(CeilQuotient(rows, min_l1_rows_blocks)); in FindL1BlockSizes()
Dcommon.h274 Integer RoundUp(Integer i) { in RoundUp() function
Dallocator.h138 const std::size_t bytes = RoundUp<kAlignment>(n * sizeof(T));
Dcompute.h52 depth = RoundUp<Format::kDepth>(depth); in Compute()
/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dpool_allocator_test.cc236 EXPECT_EQ(1, rounder.RoundUp(1)); in TEST()
237 EXPECT_EQ(2, rounder.RoundUp(2)); in TEST()
238 EXPECT_EQ(16, rounder.RoundUp(9)); in TEST()
239 EXPECT_EQ(16, rounder.RoundUp(16)); in TEST()
240 EXPECT_EQ(65536, rounder.RoundUp(41234)); in TEST()
241 EXPECT_EQ(65536, rounder.RoundUp(65535)); in TEST()
242 EXPECT_EQ(65536, rounder.RoundUp(65536)); in TEST()
/external/v8/src/arm64/
Dframe-constants-arm64.cc24 return RoundUp(register_count, 2); in RegisterStackSlotCount()
31 int rounded_slot_count = RoundUp(slot_count, 2); in PaddingSlotCount()
Dframe-constants-arm64.h62 RoundUp<16>(TypedFrameConstants::kFixedFrameSizeFromFp) +
/external/tensorflow/tensorflow/core/common_runtime/
Dpool_allocator.h38 virtual size_t RoundUp(size_t num_bytes) = 0;
138 size_t RoundUp(size_t num_bytes) override { return num_bytes; } in RoundUp() function
144 size_t RoundUp(size_t num_bytes) override { in RoundUp() function
/external/gemmlowp/test/
Dtest_math_helpers.cc40 Check(x <= RoundUp<Modulus>(x)); in test_round_up_down()
41 Check(x > RoundUp<Modulus>(x) - Modulus); in test_round_up_down()
42 Check(RoundUp<Modulus>(x) % Modulus == 0); in test_round_up_down()
/external/v8/src/
Dinstruction-stream.cc55 const uint32_t allocated_size = RoundUp(d.size(), page_size); in CreateOffHeapInstructionStream()
76 CHECK(FreePages(data, RoundUp(size, page_size))); in FreeOffHeapInstructionStream()
Dallocation.cc214 size_t alloc_size = RoundUp(size, page_size); in VirtualMemory()
267 RoundUp(size, AllocatePageSize()))); in Free()
Deh-frame.cc228 WriteInt32(-(RoundUp(code_size, 8) + eh_frame_size)); in WriteEhFrameHdr()
242 int padding_size = RoundUp(unpadded_size, kPointerSize) - unpadded_size; in WritePaddingToAlignedSize()
350 -(RoundUp(code_size, 8) + GetProcedureAddressOffset())); in Finish()
Dlayout-descriptor-inl.h150 return RoundUp(length, kBitsPerByte * kPointerSize) / kBitsPerByte; in GetSlowModeBackingStoreLength()
/external/v8/src/zone/
Dzone.cc56 size = RoundUp(size, kAlignmentInBytes); in New()
158 Address result = RoundUp(segment->start(), kAlignmentInBytes); in NewExpand()
/external/v8/src/wasm/
Dwasm-memory.cc45 ? RoundUp(kWasmMaxHeapOffset + kNegativeGuardSize, CommitPageSize()) in TryAllocateBackingStore()
46 : RoundUp( in TryAllocateBackingStore()
102 bool result = SetPermissions(memory, RoundUp(size, kWasmPageSize), in TryAllocateBackingStore()
Dwasm-code-manager.cc644 size = RoundUp(size, kCodeAlignment); in AllocateForCode()
665 Address commit_start = RoundUp(mem.start, AllocatePageSize()); in AllocateForCode()
666 Address commit_end = RoundUp(mem.end, AllocatePageSize()); in AllocateForCode()
810 size = RoundUp(size, AllocatePageSize()); in TryAllocate()
955 size_t range_size = RoundUp(range.size(), AllocatePageSize()); in SetExecutable()
/external/v8/src/base/platform/
Dplatform-fuchsia.cc70 uint8_t* aligned_base = RoundUp(base, alignment); in Allocate()
81 size_t aligned_size = RoundUp(size, page_size); in Allocate()
Dplatform-cygwin.cc116 uint8_t* aligned_base = RoundUp(base, alignment); in Allocate()
137 aligned_base = RoundUp(base, alignment); in Allocate()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_sync.cc137 uptr diff = RoundUp(p, kPageSize) - p; in ResetRange()
150 CHECK_EQ(p, RoundUp(p, kPageSize)); in ResetRange()
151 CHECK_EQ(sz, RoundUp(sz, kPageSize)); in ResetRange()
Dtsan_defs.h128 T RoundUp(T p, u64 align) { in RoundUp() function
/external/v8/src/wasm/baseline/arm64/
Dliftoff-assembler-arm64.h131 bytes = RoundUp(bytes, kQuadWordSizeInBytes); in PatchPrepareStackFrame()
134 bytes = RoundUp(bytes, 0x1000); in PatchPrepareStackFrame()
860 int total_size = RoundUp(stack_bytes, kQuadWordSizeInBytes); in CallC()
918 size = RoundUp(size, kQuadWordSizeInBytes); in AllocateStackSlot()
925 size = RoundUp(size, kQuadWordSizeInBytes); in DeallocateStackSlot()
932 asm_->Claim(RoundUp(slot_count, 2)); in Construct()
/external/v8/src/base/
Dmacros.h384 inline T RoundUp(T x, intptr_t m) { in RoundUp() function
388 constexpr inline T RoundUp(T x) { in RoundUp() function
/external/v8/src/heap/
Dspaces.cc157 Address aligned_base = ::RoundUp(base, MemoryChunk::kAlignment); in CodeRange()
265 size_t aligned_requested = ::RoundUp(requested_size, MemoryChunk::kAlignment); in ReserveBlock()
308 capacity_(RoundUp(capacity, Page::kPageSize)), in MemoryAllocator()
610 size_t protect_size = RoundUp(area_size(), page_size); in SetReadAndExecutable()
629 size_t unprotect_size = RoundUp(area_size(), page_size); in SetReadAndWritable()
698 size_t area_size = RoundUp(area_end - area_start, page_size); in Initialize()
859 chunk_size = ::RoundUp( in AllocateChunk()
864 size_t commit_size = ::RoundUp( in AllocateChunk()
898 chunk_size = ::RoundUp(MemoryChunk::kObjectStartOffset + reserve_area_size, in AllocateChunk()
901 ::RoundUp(MemoryChunk::kObjectStartOffset + commit_area_size, in AllocateChunk()
[all …]
/external/v8/src/compiler/
Dframe.h164 RoundUp(frame_slot_count_ + new_frame_slots, align_to / kPointerSize); in AllocateAlignedFrameSlots()
/external/v8/src/objects/
Dordered-hash-table.h344 return RoundUp(total_size, kPointerSize); in SizeFor()
503 RoundUp<kPointerSize>(kNumberOfBucketsOffset);

123