-
Notifications
You must be signed in to change notification settings - Fork 1.7k
[NFCI] Drop warning to satisfy clang's -Wunused-but-set-variable diag #1174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
This file contains hidden or 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
LGTM |
vincenzopalazzo
pushed a commit
to vincenzopalazzo/benchmark
that referenced
this pull request
Feb 8, 2022
waterdropw
added a commit
to waterdropw/XNNPACK
that referenced
this pull request
Mar 28, 2022
Need google/benchmark patch: google/benchmark#1174
Maetveis
pushed a commit
to ROCm/rocRAND
that referenced
this pull request
Aug 4, 2022
The underlying issue has been fixed in v1.5.5 with google/benchmark#1174. The workaround is no longer needed.
nolmoonen
pushed a commit
to ROCm/rocRAND
that referenced
this pull request
Sep 12, 2022
The underlying issue has been fixed in v1.5.5 with google/benchmark#1174. The workaround is no longer needed.
stanleytsang-amd
added a commit
to ROCm/rocRAND
that referenced
this pull request
Sep 27, 2022
* Fix CI * add clang format file and ci lint stage * Use googlebenchmark for the generate benchmark Instead of an ad-hoc reporting format, use the googlebenchmark library to define, filter and execute benchmarks. Custom context information is also added to the benchmark for archival reasons similar to rocPRIM. Googlebenchmark is automatically downloaded if not found when benchmarks are enabled. * Workaround broken hip headers included from host compiler in package test The hip headers have device only code visible to the host compiler on the nvcc path. Package test is compiled with just the host compiler because its only using the host api of rocrand. This workaround sets it to CUDA mode in the nvcc path until the fix for hip headers is released. Modernize to CUDA language instead of FindCuda.cmake. * Revert workaround for `ROCM_SYMLINK_LIBS` The underlying issue has been fixed in latest rocm-cmake. * Fix shebang of check-format.sh using env On some distributions (notable ones include alpine and nixos) `bash` is not part of the base installation, therefore its not installed in `/bin`. Use `env` to find bash in the `PATH` which is portable on most *nix systems. * Separate new and legacy benchmarks with a cmake option Restore the old `bencmark_rocrand_generate` for backwards compatibility. Add the googlebenchmark based version as `benchmark_rocrand_host_api`. Building the old benchmark can be enabled by setting `BUILD_LEGACY_BENCHMARK` to `ON` (on by default). A later change can change the default and then finally remove the old benchmarks giving users time to adjust to the changes. * Use the new benchmark name for the host api benchmark * Add deprecation for BUILD_LEGACY_BENCHMARK * Drop googlebenchmark compiler override The underlying issue has been fixed in v1.5.5 with google/benchmark#1174. The workaround is no longer needed. * Fixes to enable benchmark build on Windows (#282) * add new generators to changed benchmarks * Windows googlebench ci fix (#294) * Update windows compiler for googlebenchmark * Fix line indentations Co-authored-by: Lőrinc Serfőző <[email protected]> Co-authored-by: Nol Moonen <[email protected]> Co-authored-by: Bibrak Qamar <[email protected]> Co-authored-by: Máté Ferenc Nagy-Egri <[email protected]> Co-authored-by: Stanley Tsang <[email protected]>
jayhawk-commits
pushed a commit
to ROCm/rocm-libraries
that referenced
this pull request
May 30, 2025
* Fix CI * add clang format file and ci lint stage * Use googlebenchmark for the generate benchmark Instead of an ad-hoc reporting format, use the googlebenchmark library to define, filter and execute benchmarks. Custom context information is also added to the benchmark for archival reasons similar to rocPRIM. Googlebenchmark is automatically downloaded if not found when benchmarks are enabled. * Workaround broken hip headers included from host compiler in package test The hip headers have device only code visible to the host compiler on the nvcc path. Package test is compiled with just the host compiler because its only using the host api of rocrand. This workaround sets it to CUDA mode in the nvcc path until the fix for hip headers is released. Modernize to CUDA language instead of FindCuda.cmake. * Revert workaround for `ROCM_SYMLINK_LIBS` The underlying issue has been fixed in latest rocm-cmake. * Fix shebang of check-format.sh using env On some distributions (notable ones include alpine and nixos) `bash` is not part of the base installation, therefore its not installed in `/bin`. Use `env` to find bash in the `PATH` which is portable on most *nix systems. * Separate new and legacy benchmarks with a cmake option Restore the old `bencmark_rocrand_generate` for backwards compatibility. Add the googlebenchmark based version as `benchmark_rocrand_host_api`. Building the old benchmark can be enabled by setting `BUILD_LEGACY_BENCHMARK` to `ON` (on by default). A later change can change the default and then finally remove the old benchmarks giving users time to adjust to the changes. * Use the new benchmark name for the host api benchmark * Add deprecation for BUILD_LEGACY_BENCHMARK * Drop googlebenchmark compiler override The underlying issue has been fixed in v1.5.5 with google/benchmark#1174. The workaround is no longer needed. * Fixes to enable benchmark build on Windows (#282) * add new generators to changed benchmarks * Windows googlebench ci fix (#294) * Update windows compiler for googlebenchmark * Fix line indentations Co-authored-by: Lőrinc Serfőző <[email protected]> Co-authored-by: Nol Moonen <[email protected]> Co-authored-by: Bibrak Qamar <[email protected]> Co-authored-by: Máté Ferenc Nagy-Egri <[email protected]> Co-authored-by: Stanley Tsang <[email protected]> [ROCm/rocRAND commit: 622e20e]
jayhawk-commits
pushed a commit
to ROCm/rocm-libraries
that referenced
this pull request
May 30, 2025
* Fix CI * add clang format file and ci lint stage * Use googlebenchmark for the generate benchmark Instead of an ad-hoc reporting format, use the googlebenchmark library to define, filter and execute benchmarks. Custom context information is also added to the benchmark for archival reasons similar to rocPRIM. Googlebenchmark is automatically downloaded if not found when benchmarks are enabled. * Workaround broken hip headers included from host compiler in package test The hip headers have device only code visible to the host compiler on the nvcc path. Package test is compiled with just the host compiler because its only using the host api of rocrand. This workaround sets it to CUDA mode in the nvcc path until the fix for hip headers is released. Modernize to CUDA language instead of FindCuda.cmake. * Revert workaround for `ROCM_SYMLINK_LIBS` The underlying issue has been fixed in latest rocm-cmake. * Fix shebang of check-format.sh using env On some distributions (notable ones include alpine and nixos) `bash` is not part of the base installation, therefore its not installed in `/bin`. Use `env` to find bash in the `PATH` which is portable on most *nix systems. * Separate new and legacy benchmarks with a cmake option Restore the old `bencmark_rocrand_generate` for backwards compatibility. Add the googlebenchmark based version as `benchmark_rocrand_host_api`. Building the old benchmark can be enabled by setting `BUILD_LEGACY_BENCHMARK` to `ON` (on by default). A later change can change the default and then finally remove the old benchmarks giving users time to adjust to the changes. * Use the new benchmark name for the host api benchmark * Add deprecation for BUILD_LEGACY_BENCHMARK * Drop googlebenchmark compiler override The underlying issue has been fixed in v1.5.5 with google/benchmark#1174. The workaround is no longer needed. * Fixes to enable benchmark build on Windows (#282) * add new generators to changed benchmarks * Windows googlebench ci fix (#294) * Update windows compiler for googlebenchmark * Fix line indentations Co-authored-by: Lőrinc Serfőző <[email protected]> Co-authored-by: Nol Moonen <[email protected]> Co-authored-by: Bibrak Qamar <[email protected]> Co-authored-by: Máté Ferenc Nagy-Egri <[email protected]> Co-authored-by: Stanley Tsang <[email protected]> [ROCm/rocRAND commit: 622e20e]
lisaburnett9270marypatrick
added a commit
to lisaburnett9270marypatrick/rocRAND
that referenced
this pull request
Oct 10, 2025
* Fix CI * add clang format file and ci lint stage * Use googlebenchmark for the generate benchmark Instead of an ad-hoc reporting format, use the googlebenchmark library to define, filter and execute benchmarks. Custom context information is also added to the benchmark for archival reasons similar to rocPRIM. Googlebenchmark is automatically downloaded if not found when benchmarks are enabled. * Workaround broken hip headers included from host compiler in package test The hip headers have device only code visible to the host compiler on the nvcc path. Package test is compiled with just the host compiler because its only using the host api of rocrand. This workaround sets it to CUDA mode in the nvcc path until the fix for hip headers is released. Modernize to CUDA language instead of FindCuda.cmake. * Revert workaround for `ROCM_SYMLINK_LIBS` The underlying issue has been fixed in latest rocm-cmake. * Fix shebang of check-format.sh using env On some distributions (notable ones include alpine and nixos) `bash` is not part of the base installation, therefore its not installed in `/bin`. Use `env` to find bash in the `PATH` which is portable on most *nix systems. * Separate new and legacy benchmarks with a cmake option Restore the old `bencmark_rocrand_generate` for backwards compatibility. Add the googlebenchmark based version as `benchmark_rocrand_host_api`. Building the old benchmark can be enabled by setting `BUILD_LEGACY_BENCHMARK` to `ON` (on by default). A later change can change the default and then finally remove the old benchmarks giving users time to adjust to the changes. * Use the new benchmark name for the host api benchmark * Add deprecation for BUILD_LEGACY_BENCHMARK * Drop googlebenchmark compiler override The underlying issue has been fixed in v1.5.5 with google/benchmark#1174. The workaround is no longer needed. * Fixes to enable benchmark build on Windows (#282) * add new generators to changed benchmarks * Windows googlebench ci fix (#294) * Update windows compiler for googlebenchmark * Fix line indentations Co-authored-by: Lőrinc Serfőző <[email protected]> Co-authored-by: Nol Moonen <[email protected]> Co-authored-by: Bibrak Qamar <[email protected]> Co-authored-by: Máté Ferenc Nagy-Egri <[email protected]> Co-authored-by: Stanley Tsang <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #1172