[CUDA] remove unneeded includes from CUDA-related headers.
authorArtem Belevich <tra@google.com>
Thu, 7 Oct 2021 00:06:40 +0000 (17:06 -0700)
committerArtem Belevich <tra@google.com>
Thu, 7 Oct 2021 00:20:21 +0000 (17:20 -0700)
This should fix bot failures on PPC and windows.

clang/lib/Headers/__clang_cuda_texture_intrinsics.h
clang/test/Headers/Inputs/include/cuda.h

index eb50776..3c0f002 100644 (file)
@@ -17,8 +17,6 @@
 #error "This file is for CUDA compilation only."
 #endif
 
-#include <type_traits>
-
 // __nv_tex_surf_handler() provided by this header as a macro.
 #define __nv_tex_surf_handler(__op, __ptr, ...)                                \
   ::__cuda_tex::__tex_fetch<                                                   \
index 7e93a9d..d840297 100644 (file)
@@ -1,8 +1,6 @@
 /* Minimal declarations for CUDA support.  Testing purposes only. */
 #pragma once
 
-#include <stddef.h>
-
 // Make this file work with nvcc, for testing compatibility.
 
 #ifndef __NVCC__