/external/gemmlowp/internal/ |
D | block_params.h | 65 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()
|
D | common.h | 274 Integer RoundUp(Integer i) { in RoundUp() function
|
D | allocator.h | 138 const std::size_t bytes = RoundUp<kAlignment>(n * sizeof(T));
|
D | compute.h | 52 depth = RoundUp<Format::kDepth>(depth); in Compute()
|
/external/tensorflow/tensorflow/core/common_runtime/gpu/ |
D | pool_allocator_test.cc | 236 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/ |
D | frame-constants-arm64.cc | 24 return RoundUp(register_count, 2); in RegisterStackSlotCount() 31 int rounded_slot_count = RoundUp(slot_count, 2); in PaddingSlotCount()
|
D | frame-constants-arm64.h | 62 RoundUp<16>(TypedFrameConstants::kFixedFrameSizeFromFp) +
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | pool_allocator.h | 38 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/ |
D | test_math_helpers.cc | 40 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/ |
D | instruction-stream.cc | 55 const uint32_t allocated_size = RoundUp(d.size(), page_size); in CreateOffHeapInstructionStream() 76 CHECK(FreePages(data, RoundUp(size, page_size))); in FreeOffHeapInstructionStream()
|
D | allocation.cc | 214 size_t alloc_size = RoundUp(size, page_size); in VirtualMemory() 267 RoundUp(size, AllocatePageSize()))); in Free()
|
D | eh-frame.cc | 228 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()
|
D | layout-descriptor-inl.h | 150 return RoundUp(length, kBitsPerByte * kPointerSize) / kBitsPerByte; in GetSlowModeBackingStoreLength()
|
/external/v8/src/zone/ |
D | zone.cc | 56 size = RoundUp(size, kAlignmentInBytes); in New() 158 Address result = RoundUp(segment->start(), kAlignmentInBytes); in NewExpand()
|
/external/v8/src/wasm/ |
D | wasm-memory.cc | 45 ? RoundUp(kWasmMaxHeapOffset + kNegativeGuardSize, CommitPageSize()) in TryAllocateBackingStore() 46 : RoundUp( in TryAllocateBackingStore() 102 bool result = SetPermissions(memory, RoundUp(size, kWasmPageSize), in TryAllocateBackingStore()
|
D | wasm-code-manager.cc | 644 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/ |
D | platform-fuchsia.cc | 70 uint8_t* aligned_base = RoundUp(base, alignment); in Allocate() 81 size_t aligned_size = RoundUp(size, page_size); in Allocate()
|
D | platform-cygwin.cc | 116 uint8_t* aligned_base = RoundUp(base, alignment); in Allocate() 137 aligned_base = RoundUp(base, alignment); in Allocate()
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_sync.cc | 137 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()
|
D | tsan_defs.h | 128 T RoundUp(T p, u64 align) { in RoundUp() function
|
/external/v8/src/wasm/baseline/arm64/ |
D | liftoff-assembler-arm64.h | 131 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/ |
D | macros.h | 384 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/ |
D | spaces.cc | 157 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/ |
D | frame.h | 164 RoundUp(frame_slot_count_ + new_frame_slots, align_to / kPointerSize); in AllocateAlignedFrameSlots()
|
/external/v8/src/objects/ |
D | ordered-hash-table.h | 344 return RoundUp(total_size, kPointerSize); in SizeFor() 503 RoundUp<kPointerSize>(kNumberOfBucketsOffset);
|