-
Notifications
You must be signed in to change notification settings - Fork 487
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
27 additions
and
214 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
diff --git a/xla/primitive_util.h b/xla/primitive_util.h | ||
index 696147844..dfea15a4d 100644 | ||
index 63fa4e193..ab352626c 100644 | ||
--- a/xla/primitive_util.h | ||
+++ b/xla/primitive_util.h | ||
@@ -748,6 +748,7 @@ inline bool FitsInIntegralType(int64_t x, PrimitiveType ty) { | ||
@@ -706,6 +706,7 @@ inline bool FitsInIntegralType(int64_t x, PrimitiveType ty) { | ||
std::numeric_limits<NativeT>::max() >= x; | ||
} | ||
LOG(FATAL) << "Invalid primitive type " << PrimitiveType_Name(ty); | ||
+ return false; | ||
+ return false; | ||
}, | ||
ty); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
diff --git a/xla/service/gpu/gpu_executable.cc b/xla/service/gpu/gpu_executable.cc | ||
index 242961dd1..787275868 100644 | ||
index 1f9903cb3..763b7fc23 100644 | ||
--- a/xla/service/gpu/gpu_executable.cc | ||
+++ b/xla/service/gpu/gpu_executable.cc | ||
@@ -563,8 +563,7 @@ StatusOr<ExecutionOutput> GpuExecutable::ExecuteAsyncOnStreamImpl( | ||
@@ -589,8 +589,7 @@ StatusOr<ExecutionOutput> GpuExecutable::ExecuteAsyncOnStreamImpl( | ||
} | ||
|
||
// Force synchronous execution if the allocator requires it. | ||
- const bool block_host_until_done = | ||
- !memory_allocator->AllowsAsynchronousDeallocation(); | ||
+ const bool block_host_until_done = true; | ||
|
||
|
||
// Lock the GPU with a shared lock so that we don't interfere with autotuning | ||
// Lock the GPU with a shared lock so that we don't interfere with autotuning | ||
// that may be running during JIT compilation while allowing multiple XLA |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters