/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
D | multi_output_fusion_test.cc | 66 .ValueOrDie(); in TEST_F() 67 ASSERT_TRUE(GpuMultiOutputFusion().Run(module.get()).ValueOrDie()); in TEST_F() 99 .ValueOrDie(); in TEST_F() 100 ASSERT_FALSE(GpuMultiOutputFusion().Run(module.get()).ValueOrDie()); in TEST_F() 126 .ValueOrDie(); in TEST_F() 127 ASSERT_FALSE(GpuMultiOutputFusion().Run(module.get()).ValueOrDie()); in TEST_F() 154 .ValueOrDie(); in TEST_F() 155 ASSERT_TRUE(GpuMultiOutputFusion().Run(module.get()).ValueOrDie()); in TEST_F() 187 .ValueOrDie(); in TEST_F() 188 ASSERT_TRUE(GpuMultiOutputFusion().Run(module.get()).ValueOrDie()); in TEST_F() [all …]
|
D | instruction_fusion_test.cc | 49 .ValueOrDie()); in TEST_F() 69 .ValueOrDie()); in TEST_F() 88 .ValueOrDie()); in TEST_F() 107 .ValueOrDie()); in TEST_F() 125 .ValueOrDie()); in TEST_F() 142 .ValueOrDie()); in TEST_F() 163 .ValueOrDie(); in TEST_F() 167 .ValueOrDie()); in TEST_F() 191 .ValueOrDie(); in TEST_F() 195 .ValueOrDie()); in TEST_F() [all …]
|
D | fusion_merger_test.cc | 83 .ValueOrDie(); in TEST_F() 84 EXPECT_TRUE(FusionMerger().Run(module.get()).ValueOrDie()); in TEST_F() 145 .ValueOrDie(); in TEST_F() 148 EXPECT_FALSE(FusionMerger().Run(module.get()).ValueOrDie()); in TEST_F() 191 .ValueOrDie(); in TEST_F() 194 EXPECT_TRUE(FusionMerger().Run(module.get()).ValueOrDie()); in TEST_F() 227 .ValueOrDie(); in TEST_F() 228 EXPECT_TRUE(FusionMerger().Run(module.get()).ValueOrDie()); in TEST_F() 262 .ValueOrDie(); in TEST_F() 263 EXPECT_FALSE(FusionMerger().Run(module.get()).ValueOrDie()); in TEST_F() [all …]
|
D | gpu_fusible_test.cc | 45 .ValueOrDie(); in TEST_F() 81 .ValueOrDie(); in TEST_F() 106 .ValueOrDie(); in TEST_F() 141 .ValueOrDie(); in TEST_F() 170 .ValueOrDie(); in TEST_F() 189 .ValueOrDie(); in TEST_F() 206 .ValueOrDie(); in TEST_F() 226 .ValueOrDie(); in TEST_F() 245 .ValueOrDie(); in TEST_F() 266 .ValueOrDie(); in TEST_F() [all …]
|
D | cudnn_conv_pad_for_tensor_cores_test.cc | 45 .ValueOrDie(); in TEST_F() 46 EXPECT_TRUE(CudnnConvPadForTensorCores().Run(module.get()).ValueOrDie()); in TEST_F() 70 .ValueOrDie(); in TEST_F() 71 EXPECT_TRUE(CudnnConvPadForTensorCores().Run(module.get()).ValueOrDie()); in TEST_F() 93 .ValueOrDie(); in TEST_F() 94 EXPECT_TRUE(CudnnConvPadForTensorCores().Run(module.get()).ValueOrDie()); in TEST_F() 114 .ValueOrDie(); in TEST_F() 115 EXPECT_TRUE(CudnnConvPadForTensorCores().Run(module.get()).ValueOrDie()); in TEST_F() 136 .ValueOrDie(); in TEST_F() 137 EXPECT_TRUE(CudnnConvPadForTensorCores().Run(module.get()).ValueOrDie()); in TEST_F() [all …]
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | while_loop_simplifier_test.cc | 88 return ParseAndReturnVerifiedModule(hlo_string).ValueOrDie(); in MakeModuleWithSimpleLoop() 126 return ParseAndReturnVerifiedModule(hlo_string).ValueOrDie(); in MakeModuleWithSimpleLoopTupleElementLoopBound() 131 ASSERT_TRUE(WhileLoopSimplifier().Run(m.get()).ValueOrDie()); in TEST_F() 139 ASSERT_TRUE(WhileLoopSimplifier().Run(m.get()).ValueOrDie()); in TEST_F() 146 ASSERT_TRUE(WhileLoopSimplifier().Run(m.get()).ValueOrDie()); in TEST_F() 154 ASSERT_TRUE(WhileLoopSimplifier().Run(m.get()).ValueOrDie()); in TEST_F() 161 EXPECT_FALSE(WhileLoopSimplifier().Run(m.get()).ValueOrDie()); in TEST_F() 174 ASSERT_TRUE(WhileLoopSimplifier().Run(m.get()).ValueOrDie()); in TEST_F() 195 EXPECT_FALSE(WhileLoopSimplifier().Run(m.get()).ValueOrDie()); in TEST_F() 209 EXPECT_FALSE(WhileLoopSimplifier().Run(m.get()).ValueOrDie()); in TEST_F() [all …]
|
D | hlo_module_dce_test.cc | 98 .ValueOrDie(); in TEST_F() 101 EXPECT_FALSE(dce.Run(module.get()).ValueOrDie()); in TEST_F() 138 .ValueOrDie(); in TEST_F() 141 EXPECT_FALSE(dce.Run(module.get()).ValueOrDie()); in TEST_F() 176 .ValueOrDie(); in TEST_F() 182 EXPECT_TRUE(dce.Run(module.get()).ValueOrDie()); in TEST_F() 219 .ValueOrDie(); in TEST_F() 225 EXPECT_FALSE(dce.Run(module.get()).ValueOrDie()); in TEST_F() 280 .ValueOrDie(); in TEST_F() 288 EXPECT_TRUE(dce.Run(module.get()).ValueOrDie()); in TEST_F() [all …]
|
D | instruction_fusion_test.cc | 57 .ValueOrDie(); in TEST_F() 81 .ValueOrDie(); in TEST_F() 101 .ValueOrDie(); in TEST_F() 126 .ValueOrDie()); in TEST_F() 142 .ValueOrDie()); in TEST_F() 158 .ValueOrDie()); in TEST_F() 181 .ValueOrDie()) in TEST_F() 206 .ValueOrDie(); in TEST_F() 211 .ValueOrDie()) in TEST_F() 234 .ValueOrDie(); in TEST_F() [all …]
|
D | stable_sort_expander_test.cc | 106 EXPECT_TRUE(stabilizer.Run(module.get()).ValueOrDie()); in TEST_F() 152 EXPECT_TRUE(stabilizer.Run(module.get()).ValueOrDie()); in TEST_F() 182 EXPECT_TRUE(stabilizer.Run(module.get()).ValueOrDie()); in TEST_F() 218 EXPECT_FALSE(stabilizer.Run(module.get()).ValueOrDie()); in TEST_F() 245 EXPECT_TRUE(stabilizer.Run(module.get()).ValueOrDie()); in TEST_F() 249 ASSERT_TRUE(simplifier.Run(module.get()).ValueOrDie()); in TEST_F() 282 EXPECT_TRUE(stabilizer.Run(module.get()).ValueOrDie()); in TEST_F() 286 ASSERT_TRUE(simplifier.Run(module.get()).ValueOrDie()); in TEST_F() 318 EXPECT_TRUE(stabilizer.Run(module.get()).ValueOrDie()); in TEST_F() 349 EXPECT_TRUE(stabilizer.Run(module.get()).ValueOrDie()); in TEST_F()
|
D | batch_dot_simplification_test.cc | 43 ASSERT_TRUE(pass.Run(m.get()).ValueOrDie()); in TEST_F() 67 ASSERT_TRUE(pass.Run(m.get()).ValueOrDie()); in TEST_F() 91 ASSERT_TRUE(pass.Run(m.get()).ValueOrDie()); in TEST_F() 115 ASSERT_TRUE(pass.Run(m.get()).ValueOrDie()); in TEST_F() 139 ASSERT_TRUE(pass.Run(m.get()).ValueOrDie()); in TEST_F() 163 ASSERT_TRUE(pass.Run(m.get()).ValueOrDie()); in TEST_F() 190 ASSERT_FALSE(pass.Run(m.get()).ValueOrDie()); in TEST_F() 211 ASSERT_FALSE(pass.Run(m.get()).ValueOrDie()); in TEST_F()
|
D | algebraic_simplifier_test.cc | 71 ASSERT_TRUE(simplifier.Run(m.get()).ValueOrDie()); in TEST_F() 90 ASSERT_TRUE(simplifier.Run(m.get()).ValueOrDie()); in TEST_F() 111 ASSERT_TRUE(AlgebraicSimplifier(default_options_).Run(m.get()).ValueOrDie()); in TEST_F() 133 ASSERT_TRUE(AlgebraicSimplifier(default_options_).Run(m.get()).ValueOrDie()); in TEST_F() 155 EXPECT_FALSE(AlgebraicSimplifier(default_options_).Run(m.get()).ValueOrDie()); in TEST_F() 173 EXPECT_FALSE(AlgebraicSimplifier(default_options_).Run(m.get()).ValueOrDie()); in TEST_F() 191 ASSERT_TRUE(AlgebraicSimplifier(default_options_).Run(m.get()).ValueOrDie()); in TEST_F() 209 ASSERT_TRUE(AlgebraicSimplifier(default_options_).Run(m.get()).ValueOrDie()); in TEST_F() 226 ASSERT_TRUE(AlgebraicSimplifier(default_options_).Run(m.get()).ValueOrDie()); in TEST_F() 249 ASSERT_TRUE(AlgebraicSimplifier(default_options_).Run(m.get()).ValueOrDie()); in TEST_F() [all …]
|
D | hlo_element_type_converter_test.cc | 42 auto module = ParseAndReturnVerifiedModule(hlo_string).ValueOrDie(); in TEST_F() 58 auto module = ParseAndReturnVerifiedModule(hlo_string).ValueOrDie(); in TEST_F() 77 auto module = ParseAndReturnVerifiedModule(hlo_string).ValueOrDie(); in TEST_F() 105 auto module = ParseAndReturnVerifiedModule(hlo_string).ValueOrDie(); in TEST_F() 129 auto module = ParseAndReturnVerifiedModule(hlo_string).ValueOrDie(); in TEST_F() 155 auto module = ParseAndReturnVerifiedModule(hlo_string).ValueOrDie(); in TEST_F() 187 auto module = ParseAndReturnVerifiedModule(hlo_string).ValueOrDie(); in TEST_F()
|
/external/tensorflow/tensorflow/stream_executor/lib/ |
D | statusor_test.cc | 83 EXPECT_EQ(null_status.ValueOrDie(), nullptr); in TEST() 101 EXPECT_EQ(0, *thing.ValueOrDie()); in TEST() 102 int* previous = thing.ValueOrDie().get(); in TEST() 106 EXPECT_EQ(0, *thing.ValueOrDie()); in TEST() 107 EXPECT_NE(previous, thing.ValueOrDie().get()); in TEST() 122 ptr = std::move(thing.ValueOrDie()); in TEST() 129 EXPECT_EQ(0, *const_thing.ValueOrDie()); in TEST() 132 const int* const_previous = const_thing.ValueOrDie().get(); in TEST() 135 EXPECT_EQ(0, *const_thing.ValueOrDie()); in TEST() 136 EXPECT_NE(const_previous, const_thing.ValueOrDie().get()); in TEST() [all …]
|
D | statusor.h | 192 const T& ValueOrDie() const &; 193 T& ValueOrDie() &; 194 const T&& ValueOrDie() const &&; 195 T&& ValueOrDie() &&; 197 T ConsumeValueOrDie() { return std::move(ValueOrDie()); } in ConsumeValueOrDie() 246 this->Assign(other.ValueOrDie()); 263 this->Assign(std::move(other).ValueOrDie()); 280 const T& StatusOr<T>::ValueOrDie() const & { in ValueOrDie() function 286 T& StatusOr<T>::ValueOrDie() & { in ValueOrDie() function 292 const T&& StatusOr<T>::ValueOrDie() const && { in ValueOrDie() function [all …]
|
/external/protobuf/src/google/protobuf/stubs/ |
D | statusor_test.cc | 87 EXPECT_EQ(kI, thing.ValueOrDie()); in TEST() 95 EXPECT_EQ(original.ValueOrDie(), copy.ValueOrDie()); in TEST() 109 EXPECT_EQ(original.ValueOrDie(), copy.ValueOrDie()); in TEST() 124 EXPECT_EQ(source.ValueOrDie(), target.ValueOrDie()); in TEST() 140 EXPECT_DOUBLE_EQ(source.ValueOrDie(), target.ValueOrDie()); in TEST() 161 EXPECT_EQ(kI, thing.ValueOrDie()); in TEST() 167 EXPECT_EQ(kI, thing.ValueOrDie()); in TEST() 186 EXPECT_EQ(&kI, thing.ValueOrDie()); in TEST() 194 EXPECT_EQ(original.ValueOrDie(), copy.ValueOrDie()); in TEST() 208 EXPECT_EQ(static_cast<const Base2*>(original.ValueOrDie()), in TEST() [all …]
|
/external/protobuf/src/google/protobuf/util/internal/ |
D | object_writer.cc | 45 ow->RenderInt32(name, data.ToInt32().ValueOrDie()); in RenderDataPieceTo() 49 ow->RenderInt64(name, data.ToInt64().ValueOrDie()); in RenderDataPieceTo() 53 ow->RenderUint32(name, data.ToUint32().ValueOrDie()); in RenderDataPieceTo() 57 ow->RenderUint64(name, data.ToUint64().ValueOrDie()); in RenderDataPieceTo() 61 ow->RenderDouble(name, data.ToDouble().ValueOrDie()); in RenderDataPieceTo() 65 ow->RenderFloat(name, data.ToFloat().ValueOrDie()); in RenderDataPieceTo() 69 ow->RenderBool(name, data.ToBool().ValueOrDie()); in RenderDataPieceTo() 73 ow->RenderString(name, data.ToString().ValueOrDie()); in RenderDataPieceTo() 77 ow->RenderBytes(name, data.ToBytes().ValueOrDie()); in RenderDataPieceTo()
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/tests/ |
D | gpu_kernel_tiling_test.cc | 64 ParseHloString(kHloString, ConfigWithLayoutAssignment()).ValueOrDie(); in TEST_F() 90 ParseHloString(kHloString, ConfigWithLayoutAssignment()).ValueOrDie(); in TEST_F() 117 ParseHloString(kHloString, ConfigWithoutLayoutAssignment()).ValueOrDie(); in TEST_F() 151 ParseHloString(kHloString, ConfigWithoutLayoutAssignment()).ValueOrDie(); in TEST_F() 186 ParseHloString(kHloString, ConfigWithoutLayoutAssignment()).ValueOrDie(); in TEST_F() 213 ParseHloString(kHloString, ConfigWithoutLayoutAssignment()).ValueOrDie(); in TEST_F() 240 ParseHloString(kHloString, ConfigWithoutLayoutAssignment()).ValueOrDie(); in TEST_F() 275 ParseHloString(kHloString, ConfigWithoutLayoutAssignment()).ValueOrDie(); in TEST_F() 306 ParseHloString(kHloString, ConfigWithoutLayoutAssignment()).ValueOrDie(); in TEST_F() 352 ParseHloString(kHloString, ConfigWithoutLayoutAssignment()).ValueOrDie(); in TEST_F() [all …]
|
D | gpu_unrolling_test.cc | 51 auto hlo_module = ParseHloString(kAddModule, config).ValueOrDie(); in TEST_F() 70 auto hlo_module = ParseHloString(kAddModule, config).ValueOrDie(); in TEST_F() 89 auto hlo_module = ParseHloString(kAddModule, config).ValueOrDie(); in TEST_F() 120 auto hlo_module = ParseHloString(kUnfusedAddModule, config).ValueOrDie(); in TEST_F() 164 ParseHloString(kMultiOutputFusionModule, config).ValueOrDie(); in TEST_F()
|
/external/tensorflow/tensorflow/compiler/xla/tests/ |
D | test_utils_test.cc | 46 computation_status.ValueOrDie(), {0}); in XLA_TEST_F() 51 computation_status.ValueOrDie(), {&pair_float, &single_float}, in XLA_TEST_F() 55 executable_status.ValueOrDie()->executable()->module()); in XLA_TEST_F() 73 .ValueOrDie(); in XLA_TEST_F() 90 .ValueOrDie(); in XLA_TEST_F() 121 .ValueOrDie(); in XLA_TEST_F() 155 .ValueOrDie(); in XLA_TEST_F() 186 .ValueOrDie(); in XLA_TEST_F() 217 .ValueOrDie(); in XLA_TEST_F() 245 .ValueOrDie(); in XLA_TEST_F() [all …]
|
D | dynamic_ops_test.cc | 129 .ValueOrDie(); in RunR1() 133 .ValueOrDie()); in RunR1() 155 .ValueOrDie()); in RunR2() 159 .ValueOrDie()); in RunR2() 190 .ValueOrDie()); in RunR3() 194 .ValueOrDie()); in RunR3() 381 .ValueOrDie()); in RunR0() 385 .ValueOrDie()); in RunR0() 389 .ValueOrDie()); in RunR0() 408 .ValueOrDie()); in RunR1() [all …]
|
/external/pdfium/core/fpdfapi/parser/ |
D | cpdf_read_validator.cpp | 24 return safe_result.ValueOrDie(); in AlignUp() 65 if (!end_offset.IsValid() || end_offset.ValueOrDie() > file_size_) in ReadBlock() 98 std::min(file_size_, AlignUp(end_segment_offset.ValueOrDie())); in ScheduleDownload() 106 hints_->AddSegment(start_segment_offset, segment_size.ValueOrDie()); in ScheduleDownload() 119 (safe_size.IsValid() ? IsDataRangeAvailable(0, safe_size.ValueOrDie()) in IsWholeFileAvailable() 140 file_size_, static_cast<FX_FILESIZE>(end_segment_offset.ValueOrDie())); in CheckDataRangeAndRequestIfUnavailable() 148 if (IsDataRangeAvailable(offset, segment_size.ValueOrDie())) in CheckDataRangeAndRequestIfUnavailable() 151 ScheduleDownload(offset, segment_size.ValueOrDie()); in CheckDataRangeAndRequestIfUnavailable() 161 ScheduleDownload(0, safe_size.ValueOrDie()); in CheckWholeFileAndRequestIfUnavailable()
|
D | cpdf_hint_tables.cpp | 27 return bits.IsValid() && hStream->BitsRemaining() >= bits.ValueOrDie(); in CanReadFromBitStream() 90 m_szFirstPageObjOffset = safeLoc.ValueOrDie(); in ReadPageHintTable() 155 m_dwDeltaNObjsArray.push_back(safeDeltaObj.ValueOrDie()); in ReadPageHintTable() 171 dwPageLenArray.push_back(safePageLen.ValueOrDie()); in ReadPageHintTable() 234 hStream->SkipBits(safeSize.ValueOrDie()); in ReadPageHintTable() 243 hStream->SkipBits(safeTotalPageLen.ValueOrDie()); in ReadPageHintTable() 260 if (!bit_offset.IsValid() || hStream->GetPos() > bit_offset.ValueOrDie()) in ReadSharedObjHintTable() 262 hStream->SkipBits((bit_offset - hStream->GetPos()).ValueOrDie()); in ReadSharedObjHintTable() 324 dwCurObjLen = safeObjLen.ValueOrDie(); in ReadSharedObjHintTable() 335 m_dwSharedObjNumArray.push_back(safeObjNum.ValueOrDie()); in ReadSharedObjHintTable() [all …]
|
/external/tensorflow/tensorflow/core/common_runtime/gpu/ |
D | gpu_debug_allocator_test.cc | 39 GpuIdUtil::ExecutorForPlatformGpuId(platform_gpu_id).ValueOrDie(), in TEST() 44 GpuIdUtil::ExecutorForPlatformGpuId(platform_gpu_id).ValueOrDie(); in TEST() 67 GpuIdUtil::ExecutorForPlatformGpuId(platform_gpu_id).ValueOrDie(), in TEST() 72 GpuIdUtil::ExecutorForPlatformGpuId(platform_gpu_id).ValueOrDie(); in TEST() 103 GpuIdUtil::ExecutorForPlatformGpuId(platform_gpu_id).ValueOrDie(), in TEST() 108 GpuIdUtil::ExecutorForPlatformGpuId(platform_gpu_id).ValueOrDie(); in TEST() 136 GpuIdUtil::ExecutorForPlatformGpuId(platform_gpu_id).ValueOrDie(), in TEST() 141 GpuIdUtil::ExecutorForPlatformGpuId(platform_gpu_id).ValueOrDie(); in TEST() 181 GpuIdUtil::ExecutorForPlatformGpuId(platform_gpu_id).ValueOrDie(), in TEST() 188 GpuIdUtil::ExecutorForPlatformGpuId(platform_gpu_id).ValueOrDie(); in TEST() [all …]
|
D | gpu_bfc_allocator_test.cc | 55 GpuIdUtil::ExecutorForPlatformGpuId(platform_gpu_id).ValueOrDie(), in TEST() 88 GpuIdUtil::ExecutorForPlatformGpuId(platform_gpu_id).ValueOrDie(), in TEST() 150 GpuIdUtil::ExecutorForPlatformGpuId(platform_gpu_id).ValueOrDie(), in TEST() 189 GpuIdUtil::ExecutorForPlatformGpuId(platform_gpu_id).ValueOrDie(), in TEST() 199 GpuIdUtil::ExecutorForPlatformGpuId(platform_gpu_id).ValueOrDie(), in TEST() 208 GpuIdUtil::ExecutorForPlatformGpuId(platform_gpu_id).ValueOrDie(), in TEST() 220 GpuIdUtil::ExecutorForPlatformGpuId(platform_gpu_id).ValueOrDie(), in TEST() 240 GpuIdUtil::ExecutorForPlatformGpuId(platform_gpu_id).ValueOrDie(), in TEST() 306 GpuIdUtil::ExecutorForPlatformGpuId(platform_gpu_id).ValueOrDie(), in TEST() 310 GpuIdUtil::ExecutorForPlatformGpuId(platform_gpu_id).ValueOrDie(), in TEST() [all …]
|
D | pool_allocator_test.cc | 29 se::MultiPlatformManager::PlatformWithName("cuda").ValueOrDie(); in TEST() 34 .ValueOrDie(), in TEST() 48 se::MultiPlatformManager::PlatformWithName("cuda").ValueOrDie(); in TEST() 53 .ValueOrDie(), in TEST() 82 se::MultiPlatformManager::PlatformWithName("cuda").ValueOrDie(); in TEST() 87 .ValueOrDie(), in TEST() 144 se::MultiPlatformManager::PlatformWithName("cuda").ValueOrDie(); in TEST() 147 .ValueOrDie(), in TEST() 247 se::MultiPlatformManager::PlatformWithName("cuda").ValueOrDie(); in TEST() 252 .ValueOrDie(), in TEST()
|