diff options
Diffstat (limited to 'libc/benchmarks')
-rw-r--r-- | libc/benchmarks/gpu/BenchmarkLogger.cpp | 3 | ||||
-rw-r--r-- | libc/benchmarks/gpu/CMakeLists.txt | 1 | ||||
-rw-r--r-- | libc/benchmarks/gpu/LibcGpuBenchmark.h | 3 | ||||
-rw-r--r-- | libc/benchmarks/gpu/src/math/CMakeLists.txt | 2 | ||||
-rw-r--r-- | libc/benchmarks/gpu/src/math/platform.h | 3 | ||||
-rw-r--r-- | libc/benchmarks/gpu/timing/amdgpu/CMakeLists.txt | 1 | ||||
-rw-r--r-- | libc/benchmarks/gpu/timing/amdgpu/timing.h | 3 | ||||
-rw-r--r-- | libc/benchmarks/gpu/timing/nvptx/CMakeLists.txt | 1 | ||||
-rw-r--r-- | libc/benchmarks/gpu/timing/nvptx/timing.h | 3 |
9 files changed, 11 insertions, 9 deletions
diff --git a/libc/benchmarks/gpu/BenchmarkLogger.cpp b/libc/benchmarks/gpu/BenchmarkLogger.cpp index 0d644fa..d5996a7 100644 --- a/libc/benchmarks/gpu/BenchmarkLogger.cpp +++ b/libc/benchmarks/gpu/BenchmarkLogger.cpp @@ -1,4 +1,5 @@ #include "benchmarks/gpu/BenchmarkLogger.h" +#include "hdr/stdint_proxy.h" #include "src/__support/CPP/string.h" #include "src/__support/CPP/string_view.h" #include "src/__support/OSUtil/io.h" // write_to_stderr @@ -7,8 +8,6 @@ #include "src/__support/macros/properties/types.h" // LIBC_TYPES_HAS_INT128 #include "src/__support/uint128.h" -#include <stdint.h> - namespace LIBC_NAMESPACE_DECL { namespace benchmarks { diff --git a/libc/benchmarks/gpu/CMakeLists.txt b/libc/benchmarks/gpu/CMakeLists.txt index b58f4fd..6ec64bf2 100644 --- a/libc/benchmarks/gpu/CMakeLists.txt +++ b/libc/benchmarks/gpu/CMakeLists.txt @@ -45,6 +45,7 @@ add_unittest_framework_library( LibcGpuBenchmark.h BenchmarkLogger.h DEPENDS + libc.hdr.stdint_proxy libc.src.__support.big_int libc.src.__support.c_string libc.src.__support.CPP.string diff --git a/libc/benchmarks/gpu/LibcGpuBenchmark.h b/libc/benchmarks/gpu/LibcGpuBenchmark.h index f2cfbfb..a6cf62d 100644 --- a/libc/benchmarks/gpu/LibcGpuBenchmark.h +++ b/libc/benchmarks/gpu/LibcGpuBenchmark.h @@ -3,6 +3,7 @@ #include "benchmarks/gpu/BenchmarkLogger.h" #include "benchmarks/gpu/timing/timing.h" +#include "hdr/stdint_proxy.h" #include "src/__support/CPP/array.h" #include "src/__support/CPP/functional.h" #include "src/__support/CPP/limits.h" @@ -13,8 +14,6 @@ #include "src/stdlib/rand.h" #include "src/time/clock.h" -#include <stdint.h> - namespace LIBC_NAMESPACE_DECL { namespace benchmarks { diff --git a/libc/benchmarks/gpu/src/math/CMakeLists.txt b/libc/benchmarks/gpu/src/math/CMakeLists.txt index 6870c02..7a12ce4e 100644 --- a/libc/benchmarks/gpu/src/math/CMakeLists.txt +++ b/libc/benchmarks/gpu/src/math/CMakeLists.txt @@ -31,6 +31,7 @@ add_benchmark( SRCS sin_benchmark.cpp DEPENDS + libc.hdr.stdint_proxy libc.src.math.sin libc.src.math.sinf libc.src.stdlib.srand @@ -51,6 +52,7 @@ add_benchmark( SRCS atan2_benchmark.cpp DEPENDS + libc.hdr.stdint_proxy libc.src.math.atan2 libc.src.stdlib.srand libc.src.stdlib.rand diff --git a/libc/benchmarks/gpu/src/math/platform.h b/libc/benchmarks/gpu/src/math/platform.h index bb7825d..2dfa9f2 100644 --- a/libc/benchmarks/gpu/src/math/platform.h +++ b/libc/benchmarks/gpu/src/math/platform.h @@ -7,9 +7,10 @@ //===----------------------------------------------------------------------===// #ifndef LLVM_LIBC_SRC_MATH_AMDGPU_PLATFORM_H #define LLVM_LIBC_SRC_MATH_AMDGPU_PLATFORM_H + +#include "hdr/stdint_proxy.h" #include "src/__support/macros/attributes.h" #include "src/__support/macros/config.h" -#include <stdint.h> namespace LIBC_NAMESPACE_DECL { diff --git a/libc/benchmarks/gpu/timing/amdgpu/CMakeLists.txt b/libc/benchmarks/gpu/timing/amdgpu/CMakeLists.txt index aa5dcd3..dd7c2d3 100644 --- a/libc/benchmarks/gpu/timing/amdgpu/CMakeLists.txt +++ b/libc/benchmarks/gpu/timing/amdgpu/CMakeLists.txt @@ -3,6 +3,7 @@ add_header_library( HDRS timing.h DEPENDS + libc.hdr.stdint_proxy libc.src.__support.common libc.src.__support.macros.config libc.src.__support.macros.attributes diff --git a/libc/benchmarks/gpu/timing/amdgpu/timing.h b/libc/benchmarks/gpu/timing/amdgpu/timing.h index 0f2c04c..37dbb9a 100644 --- a/libc/benchmarks/gpu/timing/amdgpu/timing.h +++ b/libc/benchmarks/gpu/timing/amdgpu/timing.h @@ -9,6 +9,7 @@ #ifndef LLVM_LIBC_UTILS_GPU_TIMING_AMDGPU #define LLVM_LIBC_UTILS_GPU_TIMING_AMDGPU +#include "hdr/stdint_proxy.h" #include "src/__support/CPP/array.h" #include "src/__support/CPP/atomic.h" #include "src/__support/CPP/type_traits.h" @@ -17,8 +18,6 @@ #include "src/__support/macros/attributes.h" #include "src/__support/macros/config.h" -#include <stdint.h> - namespace LIBC_NAMESPACE_DECL { // Returns the overhead associated with calling the profiling region. This diff --git a/libc/benchmarks/gpu/timing/nvptx/CMakeLists.txt b/libc/benchmarks/gpu/timing/nvptx/CMakeLists.txt index 2723c89..a19c16e 100644 --- a/libc/benchmarks/gpu/timing/nvptx/CMakeLists.txt +++ b/libc/benchmarks/gpu/timing/nvptx/CMakeLists.txt @@ -3,6 +3,7 @@ add_header_library( HDRS timing.h DEPENDS + libc.hdr.stdint_proxy libc.src.__support.common libc.src.__support.macros.config libc.src.__support.macros.attributes diff --git a/libc/benchmarks/gpu/timing/nvptx/timing.h b/libc/benchmarks/gpu/timing/nvptx/timing.h index 3ed9764..3c72963 100644 --- a/libc/benchmarks/gpu/timing/nvptx/timing.h +++ b/libc/benchmarks/gpu/timing/nvptx/timing.h @@ -9,6 +9,7 @@ #ifndef LLVM_LIBC_UTILS_GPU_TIMING_NVPTX #define LLVM_LIBC_UTILS_GPU_TIMING_NVPTX +#include "hdr/stdint_proxy.h" #include "src/__support/CPP/array.h" #include "src/__support/CPP/atomic.h" #include "src/__support/CPP/type_traits.h" @@ -17,8 +18,6 @@ #include "src/__support/macros/attributes.h" #include "src/__support/macros/config.h" -#include <stdint.h> - namespace LIBC_NAMESPACE_DECL { // Returns the overhead associated with calling the profiling region. This |