aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/platform
Commit message (Collapse)AuthorAge
* Add a new GetRunFilesDir function to Env.Gravatar Gunhan Gulsoy2018-10-03
| | | | PiperOrigin-RevId: 215590440
* Remove jemalloc build files and dead configuration options.Gravatar Ayush Dubey2018-10-01
| | | | PiperOrigin-RevId: 215291195
* Make GCS filesystem/metadata lookup retries configurableGravatar Russell Power2018-10-01
| | | | PiperOrigin-RevId: 215243030
* Remove AWS, GCP, Kafka and HDFS options from configure. Make them default onGravatar Gunhan Gulsoy2018-09-27
| | | | | | for supported operating systems. PiperOrigin-RevId: 214886845
* Inline kernel tracing logic into `ExecutorState::Process()`.Gravatar Derek Murray2018-09-24
| | | | | | All devices implement the same tracing logic in an override of `Device::Compute()`. However, that logic does not have access to the cached `NodeItem::kernel_is_expensive` bit for the kernel, so it must make a virtual call to `OpKernel::IsExpensive()`. By inlining the logic into `ExecutorState::Process()`, we avoid making an unnecessary virtual call on each kernel invocation (when a trace controller is attached). PiperOrigin-RevId: 214332492
* Internal change.Gravatar Eugene Brevdo2018-09-19
| | | | PiperOrigin-RevId: 213749129
* Added ABSL_DEPRECATED annotations to various deprecated TensorFlow functions.Gravatar A. Unique TensorFlower2018-09-19
| | | | PiperOrigin-RevId: 213693027
* Run CPU tests remotely.Gravatar A. Unique TensorFlower2018-09-19
| | | | | | | | | | Being able to run CPU tests remotely while running GPU tests locally required multiple changes: 1. Unify how we tag GPU tests in TF; we now always use tf_cuda_tests_tags(). 2. Tag tests using tf_cuda_tests_tags() with 'local' and 'gpu'; this makes them not run on non-gpu builds and always runs them locally. PiperOrigin-RevId: 213601626
* Internal change.Gravatar Eugene Brevdo2018-09-12
| | | | PiperOrigin-RevId: 212749761
* Modify signature of WritableFile::Append to accept StringPiece data by value.Gravatar Eugene Brevdo2018-09-12
| | | | PiperOrigin-RevId: 212736286
* [TF] Variant improvements.Gravatar Eugene Brevdo2018-09-11
| | | | | | | | | | | | | | | | | | 1. Change Variant Decode to accept VariantTensorData (non-ref). This should allow some optimization in the future. In the meantime it means removing the variant.h include from tensor.h, since variant_encode_decode.h now relies on tensor.h and variant.h now relies on that. It also means we found a bunch of places where tensor.proto.h, variant.h, and mutex.h were being imported through tensor.h (along with a bunch of other crap); so now we directly import them in order to compile. 2. Move Variant registry to use TypeIndex instead of a TypeName string; this should speed up registry lookups. PiperOrigin-RevId: 212478896
* Add `TraceCollector::IsEnabled(bool)` method in order to test when tracing ↵Gravatar Derek Murray2018-09-05
| | | | | | | | is enabled. Some builds install a `TraceCollector` at process startup, but it is mostly not enabled. This inhibits the recent optimization to avoid accessing `OpKernel::name()` and `OpKernel::type_string()` every time a kernel is launched. By caching the `TraceCollector` in the `TracingDevice` and adding a method to enquire about its state, we increase the applicability of the optimization. PiperOrigin-RevId: 211752728
* Alias tensorflow::gtl::InlinedVector to absl::InlinedVectorGravatar Benjamin Kramer2018-09-05
| | | | PiperOrigin-RevId: 211639440
* Removed redundant std::string -> string conversions.Gravatar A. Unique TensorFlower2018-09-04
| | | | PiperOrigin-RevId: 211487989
* Alias gtl::optional to absl::optional and remove the old implementation.Gravatar Benjamin Kramer2018-08-31
| | | | PiperOrigin-RevId: 211110958
* Remove (Mutable)ArraySlice implementation and alias them to absl::Span.Gravatar Tim Shen2018-08-30
| | | | | | | | There are several API migrations happening: * ArraySlice's sub-slice constructor => .subspan * MutableArraySlice's container pointer constructor => absl::MakeSpan PiperOrigin-RevId: 210946124
* Removed ToString method from tensorflow::StringPiece.Gravatar A. Unique TensorFlower2018-08-28
| | | | | | This will make it easier to replace tensorflow::StringPiece with absl::string_view, as absl::string_view does not contain a ToString method. PiperOrigin-RevId: 210550029
* Replaced calls to tensorflow::StringPiece::ToString with std::string ↵Gravatar A. Unique TensorFlower2018-08-27
| | | | | | | | | | conversions. That is, instances of sp.ToString() are replaced with string(sp). This will allow tensorflow::StringPiece::ToString to be removed, which is necessary before it can be replaced with absl::string_view. PiperOrigin-RevId: 210394878
* Removed redundant std::string -> string conversions.Gravatar A. Unique TensorFlower2018-08-24
| | | | PiperOrigin-RevId: 210127626
* Replaced calls to tensorflow::StringPiece::ToString with string conversions.Gravatar A. Unique TensorFlower2018-08-22
| | | | | | | | That is, instances of sp.ToString() are replaced with string(sp). This will allow tensorflow::StringPiece::ToString to be removed, which is necessary before it can be replaced with absl::string_view. PiperOrigin-RevId: 209806694
* fix C++ header guards.Gravatar A. Unique TensorFlower2018-08-21
| | | | PiperOrigin-RevId: 209679086
* Fully enabled absl and removed TENSORFLOW_USE_ABSL define (as absl is now ↵Gravatar A. Unique TensorFlower2018-08-21
| | | | | | | | always available). Previously, absl was not enabled for mobile or for makefile-based builds. PiperOrigin-RevId: 209648505
* Merge pull request #21640 from Intel-tensorflow:build-fixGravatar TensorFlower Gardener2018-08-20
|\ | | | | | | PiperOrigin-RevId: 209433836
* | Separated protobuf_compiler into a separate BUILD rule.Gravatar A. Unique TensorFlower2018-08-15
| | | | | | | | | | | | | | This prevents most of TensorFlow from needing to depend on libprotoc. PiperOrigin-RevId: 208929776
| * Fix a build issueGravatar Mahmoud Abuzaina2018-08-15
|/
* Apply MKL-{ML,DNN}-only config settings to dependencies, not just code.Gravatar A. Unique TensorFlower2018-08-14
| | | | | | | | | | Previously, specifying --define=using_mkl_dnn_only=true would cause MKL-ML-dependent code to be #ifdef'd out, but dependencies on MKL-ML itself would still be present. This change makes all library dependencies on MKL properly select MKL-ML, MKL-DNN, or both, depending on the selected configuration. PiperOrigin-RevId: 208710102
* Merge pull request #20536 from rongjiecomputer:flagGravatar TensorFlower Gardener2018-08-13
|\ | | | | | | PiperOrigin-RevId: 208565050
* | Make allowed bucket locations case insensitive.Gravatar Michael Banfield2018-08-09
| | | | | | | | PiperOrigin-RevId: 208104156
* | Merge pull request #20077 from yongtang:06152018-s3-errorsGravatar TensorFlower Gardener2018-08-09
|\ \ | | | | | | | | | PiperOrigin-RevId: 208101398
* | | Add missing annotation to mutex_lock's move constructor.Gravatar Justin Lebar2018-08-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Because ~mutex_lock() is marked as an UNLOCK_FUNCTION, we have to mark the move constructor as locking ml.mu_. Otherwise if you try to move a mutex_lock, clang sees the destructor call and thinks that the mutex has been unlocked for good. Same for tf_shared_lock. Also make tf_shared_lock's move constructor non-explicit. This is just a performance optimization; tf_shared_lock was already copyable. PiperOrigin-RevId: 207610922
* | | Add a optional bucket location check to the GCS Filesystem.Gravatar Michael Banfield2018-08-02
| | | | | | | | | | | | PiperOrigin-RevId: 207152562
* | | Merge pull request #21063 from yongtang:07222018-s3_cryptoGravatar TensorFlower Gardener2018-08-01
|\ \ \ | | | | | | | | | | | | PiperOrigin-RevId: 207008537
* \ \ \ Merge pull request #20034 from surry:masterGravatar TensorFlower Gardener2018-08-01
|\ \ \ \ | | | | | | | | | | | | | | | PiperOrigin-RevId: 206953477
* | | | | Adding support for collecting op statistics at nano-second granularity.Gravatar Jiri Simsa2018-08-01
| | | | | | | | | | | | | | | | | | | | PiperOrigin-RevId: 206938428
* | | | | Revert changes to logging, since it breaks a few internal tests.Gravatar Shashi Shekhar2018-07-31
| | | | | | | | | | | | | | | | | | | | PiperOrigin-RevId: 206879653
* | | | | Fix Android compilation forGravatar Shashi Shekhar2018-07-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | third_party/tensorflow/core/kernels:android_tensorflow_image_op PiperOrigin-RevId: 206856355
* | | | | Merge pull request #20686 from rongjiecomputer:profileGravatar TensorFlower Gardener2018-07-31
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | PiperOrigin-RevId: 206843515
* | | | | | Add ZoneProvider interface and GoogleZoneProvider class to detect which ↵Gravatar Michael Banfield2018-07-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Google Cloud Engine zone tensorflow is running in. PiperOrigin-RevId: 206817614
* | | | | | Adding `NowNanos()` to `tensorflow::Env`.Gravatar Jiri Simsa2018-07-31
| | | | | | | | | | | | | | | | | | | | | | | | PiperOrigin-RevId: 206812942
* | | | | | Add a new kernels option to bazel rules to enable adding dynamic kernel ↵Gravatar Gunhan Gulsoy2018-07-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dependencies. PiperOrigin-RevId: 206473913
* | | | | | Improve restore performance for large checkpoints.Gravatar Russell Power2018-07-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When loading large tensors, the cost of creating a new BundleReader is small relative to the load time for the Tensor. When reading from network storage, using a threadpool for large tensor loads allows us to push expensive operations (alloc, fetch, checksum) to separate cores. PiperOrigin-RevId: 206330021
| | | * | | Remove unneeded s3_crypto[.cc,.h] filesGravatar Yong Tang2018-07-23
| |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Both s3_crypto.cc and s3_crypto.h have been moved to aws_crypto.cc and aws_crypto.h files. However, due to some overlapping merge or update, s3_crypto.cc and s3_crypto.h reappeared. This fix removes unneeded s3_crypto.cc and s3_crypto.h files. Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
* | | | | Modify AllocatorRegistry to be an AllocatorFactoryRegistryGravatar A. Unique TensorFlower2018-07-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in preparation for using NUMA node specific allocators. Also, add stub NUMA functions on the platform interface to platform/windows/port.cc. PiperOrigin-RevId: 205413998
| | | | * Remove all references of windows_msvc config_settingGravatar Loo Rong Jie2018-07-12
| |_|_|/ |/| | |
* | | | Split out lib/png into a separate library from the rest of TensorFlow to avoidGravatar A. Unique TensorFlower2018-07-11
| | | | | | | | | | | | | | | | | | | | | | | | unnecessary transitive dependencies. PiperOrigin-RevId: 204154526
| * | | Implement GetCurrentClockCycle and GetCycleCounterFrequencyImpl for WindowsGravatar Loo Rong Jie2018-07-11
|/ / /
* | | Begin introducing NUMA support for CPU threads and memoryGravatar A. Unique TensorFlower2018-07-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | by extending the core/platform API with some basic functionality. The new functions allow: 1. Determining how many NUMA nodes are available. 2. Setting the executing thread to be bound to a particular node, or not bound at all. 3. Allocating memory affiliated with a particular node. This change introduces the API only, there is not yet a real implementation. PiperOrigin-RevId: 204042160
* | | [SE] Re-enable acquiring real cpu frequencyGravatar A. Unique TensorFlower2018-07-10
| | | | | | | | | | | | PiperOrigin-RevId: 203959955
* | | Permit filesystem registration to be declared outside of namespace declaration.Gravatar A. Unique TensorFlower2018-07-09
| | | | | | | | | | | | PiperOrigin-RevId: 203791186
* | | Allow is_initialized and initializer to be called on MirroredVariables and ↵Gravatar Anjali Sridhar2018-07-06
| | | | | | | | | | | | | | | | | | TowerLocalVariables. PiperOrigin-RevId: 203520287