[libc-commits] [libc] [libc] [gpu] Add Generic and NvSin Throughput Benchmark (PR #101917)
via libc-commits
libc-commits at lists.llvm.org
Sun Aug 4 19:03:15 PDT 2024
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff 766f68d17ab1b12a46324d8b526f753cd1a353d3 bffe71a26f23a474eba48c5b19c8794a7705a293 --extensions cpp,h -- libc/benchmarks/gpu/LibcGpuBenchmark.h libc/benchmarks/gpu/src/math/sin_benchmark.cpp libc/benchmarks/gpu/timing/amdgpu/timing.h libc/benchmarks/gpu/timing/nvptx/timing.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libc/benchmarks/gpu/timing/amdgpu/timing.h b/libc/benchmarks/gpu/timing/amdgpu/timing.h
index e53eb25f83..30b34de4fc 100644
--- a/libc/benchmarks/gpu/timing/amdgpu/timing.h
+++ b/libc/benchmarks/gpu/timing/amdgpu/timing.h
@@ -9,12 +9,12 @@
#ifndef LLVM_LIBC_UTILS_GPU_TIMING_AMDGPU
#define LLVM_LIBC_UTILS_GPU_TIMING_AMDGPU
+#include "src/__support/CPP/array.h"
#include "src/__support/CPP/type_traits.h"
#include "src/__support/GPU/utils.h"
#include "src/__support/common.h"
#include "src/__support/macros/attributes.h"
#include "src/__support/macros/config.h"
-#include "src/__support/CPP/array.h"
#include <stdint.h>
``````````
</details>
https://github.com/llvm/llvm-project/pull/101917
More information about the libc-commits
mailing list