Home
last modified time | relevance | path

Searched refs:granularity_ (Results 1 – 8 of 8) sorted by relevance

/external/angle/third_party/vulkan-deps/spirv-tools/src/source/reduce/
Dreduction_pass.cpp41 if (granularity_ > opportunities.size()) { in TryApplyReduction()
42 granularity_ = std::max((uint32_t)1, (uint32_t)opportunities.size()); in TryApplyReduction()
45 assert(granularity_ > 0); in TryApplyReduction()
53 granularity_ = std::max((uint32_t)1, granularity_ / 2); in TryApplyReduction()
58 i < std::min(index_ + granularity_, (uint32_t)opportunities.size()); in TryApplyReduction()
73 assert(granularity_ != 0); in ReachedMinimumGranularity()
74 return granularity_ == 1; in ReachedMinimumGranularity()
81 index_ += granularity_; in NotifyInteresting()
Dreduction_pass.h43 granularity_(std::numeric_limits<uint32_t>::max()) {} in ReductionPass()
80 uint32_t granularity_; variable
/external/deqp-deps/SPIRV-Tools/source/reduce/
Dreduction_pass.cpp41 if (granularity_ > opportunities.size()) { in TryApplyReduction()
42 granularity_ = std::max((uint32_t)1, (uint32_t)opportunities.size()); in TryApplyReduction()
45 assert(granularity_ > 0); in TryApplyReduction()
53 granularity_ = std::max((uint32_t)1, granularity_ / 2); in TryApplyReduction()
58 i < std::min(index_ + granularity_, (uint32_t)opportunities.size()); in TryApplyReduction()
73 assert(granularity_ != 0); in ReachedMinimumGranularity()
74 return granularity_ == 1; in ReachedMinimumGranularity()
81 index_ += granularity_; in NotifyInteresting()
Dreduction_pass.h43 granularity_(std::numeric_limits<uint32_t>::max()) {} in ReductionPass()
80 uint32_t granularity_; variable
/external/swiftshader/third_party/SPIRV-Tools/source/reduce/
Dreduction_pass.cpp41 if (granularity_ > opportunities.size()) { in TryApplyReduction()
42 granularity_ = std::max((uint32_t)1, (uint32_t)opportunities.size()); in TryApplyReduction()
45 assert(granularity_ > 0); in TryApplyReduction()
53 granularity_ = std::max((uint32_t)1, granularity_ / 2); in TryApplyReduction()
58 i < std::min(index_ + granularity_, (uint32_t)opportunities.size()); in TryApplyReduction()
73 assert(granularity_ != 0); in ReachedMinimumGranularity()
74 return granularity_ == 1; in ReachedMinimumGranularity()
81 index_ += granularity_; in NotifyInteresting()
Dreduction_pass.h43 granularity_(std::numeric_limits<uint32_t>::max()) {} in ReductionPass()
80 uint32_t granularity_; variable
/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_virtual_mem_allocator.cc121 granularity_(granularity) {} in GpuVirtualMemAllocator()
134 size_t padded_bytes = (num_bytes + granularity_ - 1) & ~(granularity_ - 1); in Alloc()
Dgpu_virtual_mem_allocator.h98 const size_t granularity_; variable