[XLA] Fix build break in OSS by adding missing dependencies.
1. "compiler/xla/types.h" is needed for uint16 in "compiler/xla/bit_cast.h". 2. "gmock/gmock-more-matchers.h" is needed for IsEmpty(). 3. Add some more dependencies.
This commit is contained in:
parent
8166b1db64
commit
7628059dbf
tensorflow/compiler/xla
@ -28,6 +28,7 @@ limitations under the License.
|
||||
|
||||
#include "absl/base/casts.h"
|
||||
#include "third_party/eigen3/Eigen/Core"
|
||||
#include "tensorflow/compiler/xla/types.h"
|
||||
#include "tensorflow/core/lib/bfloat16/bfloat16.h"
|
||||
#include "tensorflow/core/platform/types.h"
|
||||
|
||||
|
@ -41,6 +41,7 @@ limitations under the License.
|
||||
#else
|
||||
#include <gmock/gmock-generated-matchers.h>
|
||||
#include <gmock/gmock-matchers.h>
|
||||
#include <gmock/gmock-more-matchers.h>
|
||||
#endif
|
||||
|
||||
#include "tensorflow/core/platform/test.h"
|
||||
|
@ -1650,6 +1650,7 @@ xla_test(
|
||||
name = "fmax_fmin_test",
|
||||
srcs = ["fmax_fmin_test.cc"],
|
||||
deps = [
|
||||
":test_macros_header",
|
||||
"//tensorflow/compiler/xla/client:local_client",
|
||||
"//tensorflow/compiler/xla/client:xla_builder",
|
||||
"//tensorflow/compiler/xla/client:xla_computation",
|
||||
@ -1889,6 +1890,7 @@ xla_test(
|
||||
"//tensorflow/compiler/xla/service:hlo",
|
||||
"//tensorflow/compiler/xla/service:hlo_parser",
|
||||
"//tensorflow/compiler/xla/service:hlo_runner",
|
||||
"//tensorflow/compiler/xla/service/gpu:nccl_all_reduce_thunk",
|
||||
"//tensorflow/compiler/xla/tests:client_library_test_base",
|
||||
"//tensorflow/compiler/xla/tests:hlo_test_base",
|
||||
"//tensorflow/compiler/xla/tests:literal_test_util",
|
||||
|
@ -13,6 +13,7 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
==============================================================================*/
|
||||
|
||||
#include "absl/strings/str_replace.h"
|
||||
#include "absl/types/span.h"
|
||||
#include "tensorflow/compiler/xla/literal.h"
|
||||
#include "tensorflow/compiler/xla/service/gpu/nccl_all_reduce_thunk.h"
|
||||
|
Loading…
Reference in New Issue
Block a user