Skip to content

Commit

Permalink
PR #19925: [ROCm] Fix build break with gcc due to 53417984
Browse files Browse the repository at this point in the history
Imported from GitHub PR #19925

@majnemer This fixes build break on gcc due to 5341798

Copybara import of the project:

--
d5e6785 by Harsha HS <[email protected]>:

[ROCm] Fix build break with gcc due to `53417984`

Merging this change closes #19925

COPYBARA_INTEGRATE_REVIEW=#19925 from ROCm:ci_fix_devdesc_build_break_20241128 d5e6785
PiperOrigin-RevId: 701242995
  • Loading branch information
hsharsha authored and Google-ML-Automation committed Nov 29, 2024
1 parent aa9ba7d commit 741efb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xla/stream_executor/device_description.h
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ class DeviceDescription {
}

// Returns the number of threads per warp/wavefront.
const int64_t &threads_per_warp() const { return threads_per_warp_; }
constexpr int64_t threads_per_warp() const { return threads_per_warp_; }

// Returns the limit on the total number of registers per core.
const int64_t &registers_per_core_limit() const {
Expand Down

0 comments on commit 741efb5

Please sign in to comment.