Skip to content

Commit 9ac51a1

Browse files
author
Vijay Vasudevan
committed
TensorFlow: remove use of bfc_allocator flag, since it defaults to true.
Change: 112067966
1 parent 9e03a7b commit 9ac51a1

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

tensorflow/core/common_runtime/kernel_benchmark_testlib.cc

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,21 +33,13 @@ limitations under the License.
3333
#include "tensorflow/core/public/version.h"
3434
#include "tensorflow/core/util/device_name_utils.h"
3535

36-
#if defined(PLATFORM_GOOGLE)
37-
DECLARE_bool(brain_gpu_use_bfc_allocator);
38-
#else
39-
extern bool FLAGS_brain_gpu_use_bfc_allocator;
40-
#endif
41-
4236
namespace tensorflow {
4337
namespace test {
4438

4539
Benchmark::Benchmark(const string& device, Graph* g,
4640
const SessionOptions* options, Graph* init) {
4741
RequireDefaultOps();
4842

49-
FLAGS_brain_gpu_use_bfc_allocator = true;
50-
5143
SessionOptions default_options;
5244
if (!options) {
5345
options = &default_options;

0 commit comments

Comments
 (0)