forked from SciSharp/TensorFlow.NET
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathXla.cs
More file actions
12788 lines (11916 loc) · 480 KB
/
Xla.cs
File metadata and controls
12788 lines (11916 loc) · 480 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: tensorflow/compiler/xla/xla.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021, 8981
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using pbr = global::Google.Protobuf.Reflection;
using scg = global::System.Collections.Generic;
namespace Xla {
/// <summary>Holder for reflection information generated from tensorflow/compiler/xla/xla.proto</summary>
public static partial class XlaReflection {
#region Descriptor
/// <summary>File descriptor for tensorflow/compiler/xla/xla.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static XlaReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CiF0ZW5zb3JmbG93L2NvbXBpbGVyL3hsYS94bGEucHJvdG8SA3hsYRopdGVu",
"c29yZmxvdy9jb21waWxlci94bGEvc2VydmljZS9obG8ucHJvdG8aJnRlbnNv",
"cmZsb3cvY29tcGlsZXIveGxhL3hsYV9kYXRhLnByb3RvIscdCgxEZWJ1Z09w",
"dGlvbnMSHwoXeGxhX2hsb19ncmFwaF9hZGRyZXNzZXMYAiABKAgSFwoPeGxh",
"X2hsb19wcm9maWxlGAkgASgIEh4KFnhsYV9kaXNhYmxlX2hsb19wYXNzZXMY",
"HiADKAkSIgoaeGxhX2VuYWJsZV9obG9fcGFzc2VzX29ubHkYfCADKAkSIgoa",
"eGxhX2Rpc2FibGVfYWxsX2hsb19wYXNzZXMYaCABKAgSJgoeeGxhX2JhY2tl",
"bmRfb3B0aW1pemF0aW9uX2xldmVsGB8gASgFEiIKGnhsYV9lbWJlZF9pcl9p",
"bl9leGVjdXRhYmxlGCEgASgIEiwKJHhsYV9lbGltaW5hdGVfaGxvX2ltcGxp",
"Y2l0X2Jyb2FkY2FzdBgjIAEoCBIiChp4bGF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BgEIAEoAxITCgtuYW5vc2Vjb25kcxgFIAEoAyI2Cg9HZXRTaGFwZVJl",
"cXVlc3QSIwoEZGF0YRgBIAEoCzIVLnhsYS5HbG9iYWxEYXRhSGFuZGxlIjIK",
"EEdldFNoYXBlUmVzcG9uc2USHgoFc2hhcGUYASABKAsyDy54bGEuU2hhcGVQ",
"cm90byI0Cg1VbnBhY2tSZXF1ZXN0EiMKBGRhdGEYASABKAsyFS54bGEuR2xv",
"YmFsRGF0YUhhbmRsZSI6Cg5VbnBhY2tSZXNwb25zZRIoCgl0aWVkX2RhdGEY",
"ASADKAsyFS54bGEuR2xvYmFsRGF0YUhhbmRsZWIGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Xla.HloReflection.Descriptor, global::Xla.XlaDataReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Xla.DebugOptions), global::Xla.DebugOptions.Parser, new[]{ "XlaHloGraphAddresses", "XlaHloProfile", "XlaDisableHloPasses", "XlaEnableHloPassesOnly", "XlaDisableAllHloPasses", "XlaBackendOptimizationLevel", "XlaEmbedIrInExecutable", "XlaEliminateHloImplicitBroadcast", "XlaCpuMultiThreadEigen", "XlaGpuCudaDataDir", "XlaGpuFtz", "XlaLlvmEnableAliasScopeMetadata", "XlaLlvmEnableNoaliasMetadata", "XlaLlvmEnableInvariantLoadMetadata", "XlaLlvmDisableExpensivePasses", "XlaTestAllOutputLayouts", "XlaTestAllInputLayouts", "XlaHloGraphShardingColor", "XlaCpuUseMklDnn", "XlaCpuUseXlaRuntime", "XlaGpuMaxKernelUnrollFactor", "XlaCpuEnableFastMath", "XlaCpuFastMathHonorNans", "XlaCpuFastMathHonorInfs", "XlaCpuFastMathHonorDivision", "XlaCpuFastMathHonorFunctions", "XlaCpuEnableFastMinMax", "XlaGpuEnableFastMinMax", "XlaAllowExcessPrecision", "XlaGpuCrashOnVerificationFailures", "XlaGpuAutotuneLevel", "XlaForceHostPlatformDeviceCount", "XlaGpuDisableGpuasmOptimizations", "XlaGpuShapeChecks", "XlaCpuEnableMlirLowering", "XlaGpuEnableMlirLowering", "XlaHloEvaluatorUseFastPath", "XlaAllowScalarIndexDynamicOps", "XlaStepMarkerLocation", "XlaDumpTo", "XlaDumpHloModuleRe", "XlaDumpHloPassRe", "XlaDumpHloAsText", "XlaDumpHloAsProto", "XlaDumpHloAsDot", "XlaDumpHloAsUrl", "XlaDumpHloAsHtml", "XlaDumpFusionVisualization", "XlaDumpHloSnapshots", "XlaDumpIncludeTimestamp", "XlaDumpMaxHloModules", "XlaDumpModuleMetadata", "XlaDumpCompressProtos", "XlaDumpHloAsLongText", "XlaGpuForceConvNchw", "XlaGpuForceConvNhwc", "XlaGpuPtxFile", "XlaGpuDumpLlvmir", "XlaGpuAlgorithmDenylistPath", "XlaTpuDetectNan", "XlaTpuDetectInf", "XlaCpuEnableXprofTraceme", "XlaGpuUnsafeFallbackToDriverOnPtxasNotFound", "XlaGpuAsmExtraFlags", "XlaMultiheapSizeConstraintPerHeap", "XlaDetailedLoggingAndDumping", "XlaGpuForceCompilationParallelism", "XlaGpuDeterministicOps", "XlaGpuLlvmIrFile", "XlaGpuEnableAsyncAllReduce", "XlaGpuAllReduceCombineThresholdBytes", "XlaGpuAllReduceContiguous", "XlaGpuAllReduceBlueconnectNumDevicesPerHost", "XlaGpuEnableCudnnFrontend", "XlaDumpDisableMetadata", "XlaDumpHloPipelineRe", "XlaGpuStrictConvAlgorithmPicker", "XlaGpuEnableXlaRuntimeExecutable", "XlaGpuNcclTerminationTimeoutSeconds", "XlaGpuEnableSharedConstants", "XlaGpuEnableCublaslt", "XlaGpuRedzoneScratchMaxMegabytes", "XlaGpuSimplifyAllFpConversions", "XlaGpuNormalizeLayouts", "XlaCpuUseAcl", "XlaCpuStrictDotConvMath", "XlaBackendExtraOptions" }, null, new[]{ typeof(global::Xla.DebugOptions.Types.ShapeChecks), typeof(global::Xla.DebugOptions.Types.StepMarkerLocation) }, null, new pbr::GeneratedClrTypeInfo[] { null, }),
new pbr::GeneratedClrTypeInfo(typeof(global::Xla.ExecutionOptions), global::Xla.ExecutionOptions.Parser, new[]{ "ShapeWithOutputLayout", "Seed", "DebugOptions", "DeviceHandles", "NumReplicas", "DeviceAssignment", "AliasPassthroughParams", "NumPartitions", "LaunchId", "UseSpmdPartitioning", "UseAutoSpmdPartitioning", "AutoSpmdPartitioningMeshShape", "AutoSpmdPartitioningMeshIds", "DeduplicateHlo", "AllowSpmdShardingPropagationToOutput" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Xla.GetDeviceHandlesRequest), global::Xla.GetDeviceHandlesRequest.Parser, new[]{ "DeviceCount" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Xla.GetDeviceHandlesResponse), global::Xla.GetDeviceHandlesResponse.Parser, new[]{ "DeviceHandles" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Xla.TransferToClientRequest), global::Xla.TransferToClientRequest.Parser, new[]{ "Data", "ShapeWithLayout" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Xla.TransferToClientResponse), global::Xla.TransferToClientResponse.Parser, new[]{ "Literal" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Xla.TransferToServerRequest), global::Xla.TransferToServerRequest.Parser, new[]{ "Literal", "DeviceHandle" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Xla.TransferToServerResponse), global::Xla.TransferToServerResponse.Parser, new[]{ "Data" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Xla.TransferToInfeedRequest), global::Xla.TransferToInfeedRequest.Parser, new[]{ "Literal", "ReplicaId", "DeviceHandle" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Xla.TransferToInfeedResponse), global::Xla.TransferToInfeedResponse.Parser, null, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Xla.TransferFromOutfeedRequest), global::Xla.TransferFromOutfeedRequest.Parser, new[]{ "ShapeWithLayout", "ReplicaId", "DeviceHandle" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Xla.TransferFromOutfeedResponse), global::Xla.TransferFromOutfeedResponse.Parser, new[]{ "Literal" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Xla.ResetDeviceRequest), global::Xla.ResetDeviceRequest.Parser, new[]{ "DeviceHandle" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Xla.ResetDeviceResponse), global::Xla.ResetDeviceResponse.Parser, null, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Xla.ComputationGraphStatsRequest), global::Xla.ComputationGraphStatsRequest.Parser, new[]{ "Computation", "DebugOptions" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Xla.ComputationStatsResponse), global::Xla.ComputationStatsResponse.Parser, new[]{ "Stats" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Xla.CreateChannelHandleRequest), global::Xla.CreateChannelHandleRequest.Parser, new[]{ "ChannelType" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Xla.CreateChannelHandleResponse), global::Xla.CreateChannelHandleResponse.Parser, new[]{ "Channel" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Xla.UnregisterRequest), global::Xla.UnregisterRequest.Parser, new[]{ "Data" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Xla.UnregisterResponse), global::Xla.UnregisterResponse.Parser, null, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Xla.CompileRequest), global::Xla.CompileRequest.Parser, new[]{ "Computation", "ExecutionOptions", "InputShapeWithLayout" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Xla.CompileResponse), global::Xla.CompileResponse.Parser, new[]{ "Handle" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Xla.ExecuteRequest), global::Xla.ExecuteRequest.Parser, new[]{ "Handle", "Arguments" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Xla.ExecuteGraphRequest), global::Xla.ExecuteGraphRequest.Parser, new[]{ "Computation", "Arguments", "ExecutionOptions" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Xla.ExecuteGraphParallelRequest), global::Xla.ExecuteGraphParallelRequest.Parser, new[]{ "Requests" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Xla.ExecuteResponse), global::Xla.ExecuteResponse.Parser, new[]{ "Output", "Profile" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Xla.ExecuteParallelResponse), global::Xla.ExecuteParallelResponse.Parser, new[]{ "Responses" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Xla.WaitForExecutionRequest), global::Xla.WaitForExecutionRequest.Parser, new[]{ "Execution" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Xla.WaitForExecutionResponse), global::Xla.WaitForExecutionResponse.Parser, new[]{ "Output", "Profile" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Xla.ComputeConstantGraphRequest), global::Xla.ComputeConstantGraphRequest.Parser, new[]{ "Computation", "OutputLayout" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Xla.ComputeConstantResponse), global::Xla.ComputeConstantResponse.Parser, new[]{ "Literal" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Xla.DeconstructTupleRequest), global::Xla.DeconstructTupleRequest.Parser, new[]{ "TupleHandle" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Xla.DeconstructTupleResponse), global::Xla.DeconstructTupleResponse.Parser, new[]{ "ElementHandles" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Xla.LoadDataRequest), global::Xla.LoadDataRequest.Parser, new[]{ "ColumnioTabletPath", "ColumnioField", "ElementShape", "Offset", "Limit", "Zip" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Xla.LoadDataResponse), global::Xla.LoadDataResponse.Parser, new[]{ "Data", "DataShape", "AvailableRows", "RowsLoaded", "Nanoseconds" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Xla.GetShapeRequest), global::Xla.GetShapeRequest.Parser, new[]{ "Data" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Xla.GetShapeResponse), global::Xla.GetShapeResponse.Parser, new[]{ "Shape" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Xla.UnpackRequest), global::Xla.UnpackRequest.Parser, new[]{ "Data" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Xla.UnpackResponse), global::Xla.UnpackResponse.Parser, new[]{ "TiedData" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
/// <summary>
/// Debugging options for XLA. These options may change at any time - there are
/// no guarantees about backward or forward compatibility for these fields.
/// </summary>
public sealed partial class DebugOptions : pb::IMessage<DebugOptions>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<DebugOptions> _parser = new pb::MessageParser<DebugOptions>(() => new DebugOptions());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<DebugOptions> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::Xla.XlaReflection.Descriptor.MessageTypes[0]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public DebugOptions() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public DebugOptions(DebugOptions other) : this() {
xlaHloGraphAddresses_ = other.xlaHloGraphAddresses_;
xlaHloProfile_ = other.xlaHloProfile_;
xlaDisableHloPasses_ = other.xlaDisableHloPasses_.Clone();
xlaEnableHloPassesOnly_ = other.xlaEnableHloPassesOnly_.Clone();
xlaDisableAllHloPasses_ = other.xlaDisableAllHloPasses_;
xlaBackendOptimizationLevel_ = other.xlaBackendOptimizationLevel_;
xlaEmbedIrInExecutable_ = other.xlaEmbedIrInExecutable_;
xlaEliminateHloImplicitBroadcast_ = other.xlaEliminateHloImplicitBroadcast_;
xlaCpuMultiThreadEigen_ = other.xlaCpuMultiThreadEigen_;
xlaGpuCudaDataDir_ = other.xlaGpuCudaDataDir_;
xlaGpuFtz_ = other.xlaGpuFtz_;
xlaLlvmEnableAliasScopeMetadata_ = other.xlaLlvmEnableAliasScopeMetadata_;
xlaLlvmEnableNoaliasMetadata_ = other.xlaLlvmEnableNoaliasMetadata_;
xlaLlvmEnableInvariantLoadMetadata_ = other.xlaLlvmEnableInvariantLoadMetadata_;
xlaLlvmDisableExpensivePasses_ = other.xlaLlvmDisableExpensivePasses_;
xlaTestAllOutputLayouts_ = other.xlaTestAllOutputLayouts_;
xlaTestAllInputLayouts_ = other.xlaTestAllInputLayouts_;
xlaHloGraphShardingColor_ = other.xlaHloGraphShardingColor_;
xlaCpuUseMklDnn_ = other.xlaCpuUseMklDnn_;
xlaCpuUseXlaRuntime_ = other.xlaCpuUseXlaRuntime_;
xlaGpuMaxKernelUnrollFactor_ = other.xlaGpuMaxKernelUnrollFactor_;
xlaCpuEnableFastMath_ = other.xlaCpuEnableFastMath_;
xlaCpuFastMathHonorNans_ = other.xlaCpuFastMathHonorNans_;
xlaCpuFastMathHonorInfs_ = other.xlaCpuFastMathHonorInfs_;
xlaCpuFastMathHonorDivision_ = other.xlaCpuFastMathHonorDivision_;
xlaCpuFastMathHonorFunctions_ = other.xlaCpuFastMathHonorFunctions_;
xlaCpuEnableFastMinMax_ = other.xlaCpuEnableFastMinMax_;
xlaGpuEnableFastMinMax_ = other.xlaGpuEnableFastMinMax_;
xlaAllowExcessPrecision_ = other.xlaAllowExcessPrecision_;
xlaGpuCrashOnVerificationFailures_ = other.xlaGpuCrashOnVerificationFailures_;
xlaGpuAutotuneLevel_ = other.xlaGpuAutotuneLevel_;
xlaForceHostPlatformDeviceCount_ = other.xlaForceHostPlatformDeviceCount_;
xlaGpuDisableGpuasmOptimizations_ = other.xlaGpuDisableGpuasmOptimizations_;
xlaGpuShapeChecks_ = other.xlaGpuShapeChecks_;
xlaCpuEnableMlirLowering_ = other.xlaCpuEnableMlirLowering_;
xlaGpuEnableMlirLowering_ = other.xlaGpuEnableMlirLowering_;
xlaHloEvaluatorUseFastPath_ = other.xlaHloEvaluatorUseFastPath_;
xlaAllowScalarIndexDynamicOps_ = other.xlaAllowScalarIndexDynamicOps_;
xlaStepMarkerLocation_ = other.xlaStepMarkerLocation_;
xlaDumpTo_ = other.xlaDumpTo_;
xlaDumpHloModuleRe_ = other.xlaDumpHloModuleRe_;
xlaDumpHloPassRe_ = other.xlaDumpHloPassRe_;
xlaDumpHloAsText_ = other.xlaDumpHloAsText_;
xlaDumpHloAsProto_ = other.xlaDumpHloAsProto_;
xlaDumpHloAsDot_ = other.xlaDumpHloAsDot_;
xlaDumpHloAsUrl_ = other.xlaDumpHloAsUrl_;
xlaDumpHloAsHtml_ = other.xlaDumpHloAsHtml_;
xlaDumpFusionVisualization_ = other.xlaDumpFusionVisualization_;
xlaDumpHloSnapshots_ = other.xlaDumpHloSnapshots_;
xlaDumpIncludeTimestamp_ = other.xlaDumpIncludeTimestamp_;
xlaDumpMaxHloModules_ = other.xlaDumpMaxHloModules_;
xlaDumpModuleMetadata_ = other.xlaDumpModuleMetadata_;
xlaDumpCompressProtos_ = other.xlaDumpCompressProtos_;
xlaDumpHloAsLongText_ = other.xlaDumpHloAsLongText_;
xlaGpuForceConvNchw_ = other.xlaGpuForceConvNchw_;
xlaGpuForceConvNhwc_ = other.xlaGpuForceConvNhwc_;
xlaGpuPtxFile_ = other.xlaGpuPtxFile_.Clone();
xlaGpuDumpLlvmir_ = other.xlaGpuDumpLlvmir_;
xlaGpuAlgorithmDenylistPath_ = other.xlaGpuAlgorithmDenylistPath_;
xlaTpuDetectNan_ = other.xlaTpuDetectNan_;
xlaTpuDetectInf_ = other.xlaTpuDetectInf_;
xlaCpuEnableXprofTraceme_ = other.xlaCpuEnableXprofTraceme_;
xlaGpuUnsafeFallbackToDriverOnPtxasNotFound_ = other.xlaGpuUnsafeFallbackToDriverOnPtxasNotFound_;
xlaGpuAsmExtraFlags_ = other.xlaGpuAsmExtraFlags_;
xlaMultiheapSizeConstraintPerHeap_ = other.xlaMultiheapSizeConstraintPerHeap_;
xlaDetailedLoggingAndDumping_ = other.xlaDetailedLoggingAndDumping_;
xlaGpuForceCompilationParallelism_ = other.xlaGpuForceCompilationParallelism_;
xlaGpuDeterministicOps_ = other.xlaGpuDeterministicOps_;
xlaGpuLlvmIrFile_ = other.xlaGpuLlvmIrFile_.Clone();
xlaGpuEnableAsyncAllReduce_ = other.xlaGpuEnableAsyncAllReduce_;
xlaGpuAllReduceCombineThresholdBytes_ = other.xlaGpuAllReduceCombineThresholdBytes_;
xlaGpuAllReduceContiguous_ = other.xlaGpuAllReduceContiguous_;
xlaGpuAllReduceBlueconnectNumDevicesPerHost_ = other.xlaGpuAllReduceBlueconnectNumDevicesPerHost_;
xlaGpuEnableCudnnFrontend_ = other.xlaGpuEnableCudnnFrontend_;
xlaDumpDisableMetadata_ = other.xlaDumpDisableMetadata_;
xlaDumpHloPipelineRe_ = other.xlaDumpHloPipelineRe_;
xlaGpuStrictConvAlgorithmPicker_ = other.xlaGpuStrictConvAlgorithmPicker_;
xlaGpuEnableXlaRuntimeExecutable_ = other.xlaGpuEnableXlaRuntimeExecutable_;
xlaGpuNcclTerminationTimeoutSeconds_ = other.xlaGpuNcclTerminationTimeoutSeconds_;
xlaGpuEnableSharedConstants_ = other.xlaGpuEnableSharedConstants_;
xlaGpuEnableCublaslt_ = other.xlaGpuEnableCublaslt_;
xlaGpuRedzoneScratchMaxMegabytes_ = other.xlaGpuRedzoneScratchMaxMegabytes_;
xlaGpuSimplifyAllFpConversions_ = other.xlaGpuSimplifyAllFpConversions_;
xlaGpuNormalizeLayouts_ = other.xlaGpuNormalizeLayouts_;
xlaCpuUseAcl_ = other.xlaCpuUseAcl_;
xlaCpuStrictDotConvMath_ = other.xlaCpuStrictDotConvMath_;
xlaBackendExtraOptions_ = other.xlaBackendExtraOptions_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public DebugOptions Clone() {
return new DebugOptions(this);
}
/// <summary>Field number for the "xla_hlo_graph_addresses" field.</summary>
public const int XlaHloGraphAddressesFieldNumber = 2;
private bool xlaHloGraphAddresses_;
/// <summary>
/// Show addresses of HLO ops in graph dump.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool XlaHloGraphAddresses {
get { return xlaHloGraphAddresses_; }
set {
xlaHloGraphAddresses_ = value;
}
}
/// <summary>Field number for the "xla_hlo_profile" field.</summary>
public const int XlaHloProfileFieldNumber = 9;
private bool xlaHloProfile_;
/// <summary>
/// Instrument the computation to collect per-HLO cycle counts.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool XlaHloProfile {
get { return xlaHloProfile_; }
set {
xlaHloProfile_ = value;
}
}
/// <summary>Field number for the "xla_disable_hlo_passes" field.</summary>
public const int XlaDisableHloPassesFieldNumber = 30;
private static readonly pb::FieldCodec<string> _repeated_xlaDisableHloPasses_codec
= pb::FieldCodec.ForString(242);
private readonly pbc::RepeatedField<string> xlaDisableHloPasses_ = new pbc::RepeatedField<string>();
/// <summary>
/// List of HLO passes to disable/enable. These names must exactly match the
/// pass names as specified by the HloPassInterface::name() method.
///
/// At least one of xla_disable_hlo_passes and xla_enable_hlo_passes_only must
/// be empty.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<string> XlaDisableHloPasses {
get { return xlaDisableHloPasses_; }
}
/// <summary>Field number for the "xla_enable_hlo_passes_only" field.</summary>
public const int XlaEnableHloPassesOnlyFieldNumber = 124;
private static readonly pb::FieldCodec<string> _repeated_xlaEnableHloPassesOnly_codec
= pb::FieldCodec.ForString(994);
private readonly pbc::RepeatedField<string> xlaEnableHloPassesOnly_ = new pbc::RepeatedField<string>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<string> XlaEnableHloPassesOnly {
get { return xlaEnableHloPassesOnly_; }
}
/// <summary>Field number for the "xla_disable_all_hlo_passes" field.</summary>
public const int XlaDisableAllHloPassesFieldNumber = 104;
private bool xlaDisableAllHloPasses_;
/// <summary>
/// Disables all HLO passes. Notes that some passes are necessary for
/// correctness and the invariants that must be satisfied by "fully optimized"
/// HLO are different for different devices and may change over time. The only
/// "guarantee", such as it is, is that if you compile XLA and dump the
/// optimized HLO for some graph, you should be able to run it again on the
/// same device with the same build of XLA.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool XlaDisableAllHloPasses {
get { return xlaDisableAllHloPasses_; }
set {
xlaDisableAllHloPasses_ = value;
}
}
/// <summary>Field number for the "xla_backend_optimization_level" field.</summary>
public const int XlaBackendOptimizationLevelFieldNumber = 31;
private int xlaBackendOptimizationLevel_;
/// <summary>
/// Numerical optimization level for the XLA compiler backend; the specific
/// interpretation of this value is left to the backends.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int XlaBackendOptimizationLevel {
get { return xlaBackendOptimizationLevel_; }
set {
xlaBackendOptimizationLevel_ = value;
}
}
/// <summary>Field number for the "xla_embed_ir_in_executable" field.</summary>
public const int XlaEmbedIrInExecutableFieldNumber = 33;
private bool xlaEmbedIrInExecutable_;
/// <summary>
/// Embed the compiler IR as a string in the executable.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool XlaEmbedIrInExecutable {
get { return xlaEmbedIrInExecutable_; }
set {
xlaEmbedIrInExecutable_ = value;
}
}
/// <summary>Field number for the "xla_eliminate_hlo_implicit_broadcast" field.</summary>
public const int XlaEliminateHloImplicitBroadcastFieldNumber = 35;
private bool xlaEliminateHloImplicitBroadcast_;
/// <summary>
/// Eliminate implicit broadcasts when lowering user computations to HLO
/// instructions; use explicit broadcast instead.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool XlaEliminateHloImplicitBroadcast {
get { return xlaEliminateHloImplicitBroadcast_; }
set {
xlaEliminateHloImplicitBroadcast_ = value;
}
}
/// <summary>Field number for the "xla_cpu_multi_thread_eigen" field.</summary>
public const int XlaCpuMultiThreadEigenFieldNumber = 60;
private bool xlaCpuMultiThreadEigen_;
/// <summary>
/// When generating calls to Eigen in the CPU backend, use multi-threaded Eigen
/// mode.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool XlaCpuMultiThreadEigen {
get { return xlaCpuMultiThreadEigen_; }
set {
xlaCpuMultiThreadEigen_ = value;
}
}
/// <summary>Field number for the "xla_gpu_cuda_data_dir" field.</summary>
public const int XlaGpuCudaDataDirFieldNumber = 61;
private string xlaGpuCudaDataDir_ = "";
/// <summary>
/// Path to directory with cuda/ptx tools and libraries.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string XlaGpuCudaDataDir {
get { return xlaGpuCudaDataDir_; }
set {
xlaGpuCudaDataDir_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "xla_gpu_ftz" field.</summary>
public const int XlaGpuFtzFieldNumber = 62;
private bool xlaGpuFtz_;
/// <summary>
/// Enable flush-to-zero semantics in the GPU backend.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool XlaGpuFtz {
get { return xlaGpuFtz_; }
set {
xlaGpuFtz_ = value;
}
}
/// <summary>Field number for the "xla_llvm_enable_alias_scope_metadata" field.</summary>
public const int XlaLlvmEnableAliasScopeMetadataFieldNumber = 70;
private bool xlaLlvmEnableAliasScopeMetadata_;
/// <summary>
/// If true, in LLVM-based backends, emit !alias.scope metadata in
/// generated IR.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool XlaLlvmEnableAliasScopeMetadata {
get { return xlaLlvmEnableAliasScopeMetadata_; }
set {
xlaLlvmEnableAliasScopeMetadata_ = value;
}
}
/// <summary>Field number for the "xla_llvm_enable_noalias_metadata" field.</summary>
public const int XlaLlvmEnableNoaliasMetadataFieldNumber = 71;
private bool xlaLlvmEnableNoaliasMetadata_;
/// <summary>
/// If true, in LLVM-based backends, emit !noalias metadata in the
/// generated IR.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool XlaLlvmEnableNoaliasMetadata {
get { return xlaLlvmEnableNoaliasMetadata_; }
set {
xlaLlvmEnableNoaliasMetadata_ = value;
}
}
/// <summary>Field number for the "xla_llvm_enable_invariant_load_metadata" field.</summary>
public const int XlaLlvmEnableInvariantLoadMetadataFieldNumber = 72;
private bool xlaLlvmEnableInvariantLoadMetadata_;
/// <summary>
/// If true, in LLVM-based backends, emit !invariant.load metadata in
/// the generated IR.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool XlaLlvmEnableInvariantLoadMetadata {
get { return xlaLlvmEnableInvariantLoadMetadata_; }
set {
xlaLlvmEnableInvariantLoadMetadata_ = value;
}
}
/// <summary>Field number for the "xla_llvm_disable_expensive_passes" field.</summary>
public const int XlaLlvmDisableExpensivePassesFieldNumber = 73;
private bool xlaLlvmDisableExpensivePasses_;
/// <summary>
/// If true, a set of expensive LLVM optimization passes will not be run.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool XlaLlvmDisableExpensivePasses {
get { return xlaLlvmDisableExpensivePasses_; }
set {
xlaLlvmDisableExpensivePasses_ = value;
}
}
/// <summary>Field number for the "xla_test_all_output_layouts" field.</summary>
public const int XlaTestAllOutputLayoutsFieldNumber = 90;
private bool xlaTestAllOutputLayouts_;
/// <summary>
/// This is used by ClientLibraryTestBase::ComputeAndCompare*. If true, the
/// computation will run n! times with all permunations of layouts for the
/// output shape in rank n. For example, with a 3D shape, all permutations of
/// the set {0, 1, 2} are tried.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool XlaTestAllOutputLayouts {
get { return xlaTestAllOutputLayouts_; }
set {
xlaTestAllOutputLayouts_ = value;
}
}
/// <summary>Field number for the "xla_test_all_input_layouts" field.</summary>
public const int XlaTestAllInputLayoutsFieldNumber = 91;
private bool xlaTestAllInputLayouts_;
/// <summary>
/// This is used by ClientLibraryTestBase::ComputeAndCompare*. If true, the
/// computation will run for all permunations of layouts of all input
/// arguments. For example, with 2 input arguments in 2D and 4D shapes, the
/// computation will run 2! * 4! times.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool XlaTestAllInputLayouts {
get { return xlaTestAllInputLayouts_; }
set {
xlaTestAllInputLayouts_ = value;
}
}
/// <summary>Field number for the "xla_hlo_graph_sharding_color" field.</summary>
public const int XlaHloGraphShardingColorFieldNumber = 92;
private bool xlaHloGraphShardingColor_;
/// <summary>
/// Assign colors based on sharding information when generating the Graphviz
/// HLO graph.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool XlaHloGraphShardingColor {
get { return xlaHloGraphShardingColor_; }
set {
xlaHloGraphShardingColor_ = value;
}
}
/// <summary>Field number for the "xla_cpu_use_mkl_dnn" field.</summary>
public const int XlaCpuUseMklDnnFieldNumber = 97;
private bool xlaCpuUseMklDnn_;
/// <summary>
/// Generate calls to MKL-DNN in the CPU backend.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool XlaCpuUseMklDnn {
get { return xlaCpuUseMklDnn_; }
set {
xlaCpuUseMklDnn_ = value;
}
}
/// <summary>Field number for the "xla_cpu_use_xla_runtime" field.</summary>
public const int XlaCpuUseXlaRuntimeFieldNumber = 177;
private bool xlaCpuUseXlaRuntime_;
/// <summary>
/// Enable XLA Runtime in the CPU backend.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool XlaCpuUseXlaRuntime {
get { return xlaCpuUseXlaRuntime_; }
set {
xlaCpuUseXlaRuntime_ = value;
}
}
/// <summary>Field number for the "xla_gpu_max_kernel_unroll_factor" field.</summary>
public const int XlaGpuMaxKernelUnrollFactorFieldNumber = 98;
private int xlaGpuMaxKernelUnrollFactor_;
/// <summary>
/// Maximum kernel unroll factor for the GPU backend.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int XlaGpuMaxKernelUnrollFactor {
get { return xlaGpuMaxKernelUnrollFactor_; }
set {
xlaGpuMaxKernelUnrollFactor_ = value;
}
}
/// <summary>Field number for the "xla_cpu_enable_fast_math" field.</summary>
public const int XlaCpuEnableFastMathFieldNumber = 99;
private bool xlaCpuEnableFastMath_;
/// <summary>
/// When true, "unsafe" mathematical optimizations are enabled. These
/// transformations include but are not limited to:
///
/// - Reducing the precision of operations (e.g. using an approximate sin
/// function, or transforming x/y into x * (1/y)).
/// - Assuming that operations never produce or consume NaN or +/- Inf (this
/// behavior can be adjusted using xla_cpu_fast_math_allow_{nans|infs}).
/// - Assuming that +0 and -0 are indistinguishable.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool XlaCpuEnableFastMath {
get { return xlaCpuEnableFastMath_; }
set {
xlaCpuEnableFastMath_ = value;
}
}
/// <summary>Field number for the "xla_cpu_fast_math_honor_nans" field.</summary>
public const int XlaCpuFastMathHonorNansFieldNumber = 120;
private bool xlaCpuFastMathHonorNans_;
/// <summary>
/// When xla_cpu_enable_fast_math is true then this controls whether we allow
/// operations to produce NaNs. Ignored when xla_cpu_enable_fast_math is
/// false.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool XlaCpuFastMathHonorNans {
get { return xlaCpuFastMathHonorNans_; }
set {
xlaCpuFastMathHonorNans_ = value;
}
}
/// <summary>Field number for the "xla_cpu_fast_math_honor_infs" field.</summary>
public const int XlaCpuFastMathHonorInfsFieldNumber = 121;
private bool xlaCpuFastMathHonorInfs_;
/// <summary>
/// When xla_cpu_enable_fast_math is true then this controls whether we allow
/// operations to produce infinites. Ignored when xla_cpu_enable_fast_math is
/// false.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool XlaCpuFastMathHonorInfs {
get { return xlaCpuFastMathHonorInfs_; }
set {
xlaCpuFastMathHonorInfs_ = value;
}
}
/// <summary>Field number for the "xla_cpu_fast_math_honor_division" field.</summary>
public const int XlaCpuFastMathHonorDivisionFieldNumber = 126;
private bool xlaCpuFastMathHonorDivision_;
/// <summary>
/// When xla_cpu_enable_fast_math is true then this controls whether we forbid
/// to use the reciprocal of an argument instead of division. Ignored when
/// xla_cpu_enable_fast_math is false.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool XlaCpuFastMathHonorDivision {
get { return xlaCpuFastMathHonorDivision_; }
set {
xlaCpuFastMathHonorDivision_ = value;
}
}
/// <summary>Field number for the "xla_cpu_fast_math_honor_functions" field.</summary>
public const int XlaCpuFastMathHonorFunctionsFieldNumber = 129;
private bool xlaCpuFastMathHonorFunctions_;
/// <summary>
/// When xla_cpu_enable_fast_math is true then this controls whether we forbid
/// to approximate calculations for functions. Ignored when
/// xla_cpu_enable_fast_math is false.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool XlaCpuFastMathHonorFunctions {
get { return xlaCpuFastMathHonorFunctions_; }
set {
xlaCpuFastMathHonorFunctions_ = value;
}
}
/// <summary>Field number for the "xla_cpu_enable_fast_min_max" field.</summary>
public const int XlaCpuEnableFastMinMaxFieldNumber = 140;
private bool xlaCpuEnableFastMinMax_;
/// <summary>
/// When false we lower the Minimum and Maximum hlos in the CPU backend such
/// that Min(NotNaN, NaN) = Min(NaN, NotNaN) = NaN. In other words, if flag
/// this is false we always propagate NaNs through Min and Max.
///
/// Note, this does not correspond to the exact same behavior as the gpu flag
/// below!
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool XlaCpuEnableFastMinMax {
get { return xlaCpuEnableFastMinMax_; }
set {
xlaCpuEnableFastMinMax_ = value;
}
}
/// <summary>Field number for the "xla_gpu_enable_fast_min_max" field.</summary>
public const int XlaGpuEnableFastMinMaxFieldNumber = 100;
private bool xlaGpuEnableFastMinMax_;
/// <summary>
/// When true we lower the Minimum and Maximum hlos in the GPU backend such
/// that Min(NotNaN, NaN) = Min(NaN, NotNaN) = NotNaN. In other words, if flag
/// this is true we don't propagate NaNs through Min and Max.
///
/// Note, this does not correspond to the exact same behavior as the cpu flag
/// above!
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool XlaGpuEnableFastMinMax {
get { return xlaGpuEnableFastMinMax_; }
set {
xlaGpuEnableFastMinMax_ = value;
}
}
/// <summary>Field number for the "xla_allow_excess_precision" field.</summary>
public const int XlaAllowExcessPrecisionFieldNumber = 122;
private bool xlaAllowExcessPrecision_;
/// <summary>
/// Allows xla to increase the output precision of floating point operations.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool XlaAllowExcessPrecision {
get { return xlaAllowExcessPrecision_; }
set {
xlaAllowExcessPrecision_ = value;
}
}
/// <summary>Field number for the "xla_gpu_crash_on_verification_failures" field.</summary>
public const int XlaGpuCrashOnVerificationFailuresFieldNumber = 101;
private bool xlaGpuCrashOnVerificationFailures_;
/// <summary>
/// Crashes the program when any kind of verification fails, instead of just
/// logging the failures. One example is cross checking of convolution results
/// among different algorithms.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool XlaGpuCrashOnVerificationFailures {
get { return xlaGpuCrashOnVerificationFailures_; }
set {
xlaGpuCrashOnVerificationFailures_ = value;
}
}
/// <summary>Field number for the "xla_gpu_autotune_level" field.</summary>
public const int XlaGpuAutotuneLevelFieldNumber = 123;
private int xlaGpuAutotuneLevel_;
/// <summary>
/// 0: Disable gemm and convolution autotuning.
/// 1: Enable autotuning, but disable correctness checking.
/// 2: Also set output buffers to random numbers during autotuning.
/// 3: Also reset output buffers to random numbers after autotuning each
/// algorithm.
/// 4+: Also check for correct outputs and for out-of-bounds reads/writes.
///
/// Default: 4.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int XlaGpuAutotuneLevel {
get { return xlaGpuAutotuneLevel_; }
set {
xlaGpuAutotuneLevel_ = value;
}
}
/// <summary>Field number for the "xla_force_host_platform_device_count" field.</summary>
public const int XlaForceHostPlatformDeviceCountFieldNumber = 102;
private int xlaForceHostPlatformDeviceCount_;
/// <summary>
/// Force the host platform to pretend that there are these many host
/// "devices". All these devices are backed by the same threadpool. Defaults
/// to 1.
///
/// Setting this to anything other than 1 can increase overhead from context
/// switching but we let the user override this behavior to help run tests on
/// the host that run models in parallel across multiple devices.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int XlaForceHostPlatformDeviceCount {
get { return xlaForceHostPlatformDeviceCount_; }
set {
xlaForceHostPlatformDeviceCount_ = value;
}
}
/// <summary>Field number for the "xla_gpu_disable_gpuasm_optimizations" field.</summary>
public const int XlaGpuDisableGpuasmOptimizationsFieldNumber = 103;
private bool xlaGpuDisableGpuasmOptimizations_;
/// <summary>
/// If set to true XLA:GPU invokes `ptxas` with -O0 (default is -O3).
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool XlaGpuDisableGpuasmOptimizations {
get { return xlaGpuDisableGpuasmOptimizations_; }
set {
xlaGpuDisableGpuasmOptimizations_ = value;
}
}
/// <summary>Field number for the "xla_gpu_shape_checks" field.</summary>
public const int XlaGpuShapeChecksFieldNumber = 170;
private global::Xla.DebugOptions.Types.ShapeChecks xlaGpuShapeChecks_ = global::Xla.DebugOptions.Types.ShapeChecks.Ignore;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Xla.DebugOptions.Types.ShapeChecks XlaGpuShapeChecks {
get { return xlaGpuShapeChecks_; }
set {
xlaGpuShapeChecks_ = value;
}
}
/// <summary>Field number for the "xla_cpu_enable_mlir_lowering" field.</summary>
public const int XlaCpuEnableMlirLoweringFieldNumber = 171;
private bool xlaCpuEnableMlirLowering_;
/// <summary>
/// Enable MLIR-based lowering in XLA:CPU instead of LLVM emitters.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool XlaCpuEnableMlirLowering {
get { return xlaCpuEnableMlirLowering_; }
set {
xlaCpuEnableMlirLowering_ = value;
}
}
/// <summary>Field number for the "xla_gpu_enable_mlir_lowering" field.</summary>
public const int XlaGpuEnableMlirLoweringFieldNumber = 173;
private bool xlaGpuEnableMlirLowering_;
/// <summary>
/// If true, use MLIR instead of IR emitter to generate device code for
/// supported lmhlo.fusion ops. See xla::gpu::RewriteFusionOps() for details.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool XlaGpuEnableMlirLowering {
get { return xlaGpuEnableMlirLowering_; }
set {
xlaGpuEnableMlirLowering_ = value;
}
}
/// <summary>Field number for the "xla_hlo_evaluator_use_fast_path" field.</summary>
public const int XlaHloEvaluatorUseFastPathFieldNumber = 106;
private bool xlaHloEvaluatorUseFastPath_;
/// <summary>
/// Enable fast math with eigen in the HLO evaluator.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool XlaHloEvaluatorUseFastPath {
get { return xlaHloEvaluatorUseFastPath_; }
set {
xlaHloEvaluatorUseFastPath_ = value;
}
}
/// <summary>Field number for the "xla_allow_scalar_index_dynamic_ops" field.</summary>
public const int XlaAllowScalarIndexDynamicOpsFieldNumber = 107;
private bool xlaAllowScalarIndexDynamicOps_;
/// <summary>
/// Temporary option to allow support for both the R1 and the scalar index
/// versions of DynamicSlice and DynamicUpdateSlice. Only used for testing.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool XlaAllowScalarIndexDynamicOps {
get { return xlaAllowScalarIndexDynamicOps_; }
set {
xlaAllowScalarIndexDynamicOps_ = value;
}