Skip to content

Conversation

@alekstheod
Copy link
Collaborator

Removing unused tsan ignores

@i-chaochen i-chaochen requested a review from Copilot September 18, 2025 23:44
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Removes unused Thread Sanitizer (TSAN) ignore entries and related code changes as part of code cleanup.

  • Removes 4 unused TSAN ignore rules from the ignore list
  • Comments out CudnnFusedConvRewriter usage in AMD GPU compiler
  • Updates test configuration to be CUDA-specific only

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
build_tools/rocm/tsan_ignore_list.txt Removes 4 unused TSAN ignore entries
xla/service/gpu/amdgpu_compiler.cc Comments out CudnnFusedConvRewriter usage
xla/service/gpu/transforms/BUILD Makes cudnn_fused_conv_rewriter_test CUDA-only

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

auto rcc = std::get<se::RocmComputeCapability>(gpu_version);
pipeline.AddPass<CudnnFusedConvRewriter>(rcc, dnn_version, toolkit_version);
// auto rcc = std::get<se::RocmComputeCapability>(gpu_version);
// pipeline.AddPass<CudnnFusedConvRewriter>(rcc, dnn_version, toolkit_version);
Copy link

Copilot AI Sep 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commented-out code should be removed rather than left as comments. If this code needs to be preserved for future reference, consider documenting the reason in a TODO comment or tracking it in an issue.

Suggested change
// pipeline.AddPass<CudnnFusedConvRewriter>(rcc, dnn_version, toolkit_version);

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants