Skip to content

Commit

Permalink
Automated Code Change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 609334497
  • Loading branch information
tensorflower-gardener committed Feb 22, 2024
1 parent b2d5e2f commit 979335b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion third_party/xla/xla/service/gpu/conv_algorithm_picker.cc
Expand Up @@ -416,7 +416,7 @@ absl::StatusOr<AutotuneResult> GpuConvAlgorithmPicker::PickBestAlgorithmNoCache(
se::DeviceMemoryAllocator* allocator = config_.GetAllocator();

TF_ASSIGN_OR_RETURN(se::Stream* const stream, config_.GetStream());
StatusOr<AutotuneResult> result_or(Internal("Unknown platform."));
absl::StatusOr<AutotuneResult> result_or(Internal("Unknown platform."));
// Check StreamExecutor on which platform it is. ROCm and Cuda implementation
// have diverged. Specifically, we need to make sure redzone allocator related
// utilities are not used in ROCm routine
Expand Down
Expand Up @@ -438,7 +438,7 @@ absl::StatusOr<bool> IsSupportedBMM2(const HloInstruction* bmm_2,
return true;
}

StatusOr<bool> IsFlashAttention(
absl::StatusOr<bool> IsFlashAttention(
HloInstruction* bmm_1, bool is_causal_mask,
absl::string_view custom_call_name,
stream_executor::CudaComputeCapability cc,
Expand Down
4 changes: 2 additions & 2 deletions third_party/xla/xla/service/gpu/elemental_ir_emitter.cc
Expand Up @@ -295,8 +295,8 @@ absl::StatusOr<llvm::Value*> GpuElementalIrEmitter::EmitTanh(
value->getType(), "tanh");
}

StatusOr<llvm::Value*> GpuElementalIrEmitter::EmitErf(PrimitiveType prim_type,
llvm::Value* value) {
absl::StatusOr<llvm::Value*> GpuElementalIrEmitter::EmitErf(
PrimitiveType prim_type, llvm::Value* value) {
if (prim_type == F64) {
return EmitDeviceMathCall(TargetDeviceFunctionID::kErf, {value},
{prim_type}, prim_type);
Expand Down

0 comments on commit 979335b

Please sign in to comment.