Home | History | Annotate | Download | only in legacy_flags

Lines Matching refs:flags

16 // Legacy flags for the XLA bridge's mark_for_compilation_pass module.
29 // Pointers to the parsed value of the flags and flag descriptors, initialized
31 static MarkForCompilationPassFlags* flags;
35 // Allocate *flags. Called via call_once(&flags_init,...).
37 flags = new MarkForCompilationPassFlags;
38 flags->tf_xla_auto_jit = 0;
39 flags->tf_xla_min_cluster_size = 2;
40 flags->tf_xla_max_cluster_size = std::numeric_limits<int32>::max();
41 flags->tf_xla_clustering_debug = false;
42 flags->tf_xla_cpu_global_jit = false;
44 {Flag("tf_xla_auto_jit", &flags->tf_xla_auto_jit,
49 Flag("tf_xla_min_cluster_size", &flags->tf_xla_min_cluster_size,
53 Flag("tf_xla_max_cluster_size", &flags->tf_xla_max_cluster_size,
55 Flag("tf_xla_clustering_debug", &flags->tf_xla_clustering_debug,
57 Flag("tf_xla_cpu_global_jit", &flags->tf_xla_cpu_global_jit,
71 // This should be called only after Flags::Parse() has returned.
74 return flags;