llvm-capstone/clang/test/SemaCUDA
Yaxun (Sam) Liu 27313b68ef Revert "[CUDA][HIP] Fix overloading resolution in global variable initializer"
This reverts commit de0df63972.

It was reverted due to regression in HIP unit test on Windows:

 In file included from C:\hip-tests\catch\unit\graph\hipGraphClone.cc:37:

 In file included from C:\hip-tests\catch\.\include\hip_test_common.hh:24:

 In file included from C:\hip-tests\catch\.\include/hip_test_context.hh:24:

 In file included from C:/install/native/Release/x64/hip/include\hip/hip_runtime.h:54:

 C:/dk/win\vc\14.31.31107\include\thread:76:70: error: cannot initialize a parameter of type '_beginthreadex_proc_type' (aka 'unsigned int (*)(void *) __attribute__((stdcall))') with an lvalue of type 'const unsigned int (*)(void *) noexcept __attribute__((stdcall))': different exception specifications

    76 |             reinterpret_cast<void*>(_CSTD _beginthreadex(nullptr, 0, _Invoker_proc, _Decay_copied.get(), 0, &_Thr._Id));

       |                                                                      ^~~~~~~~~~~~~

 C:\hip-tests\catch\unit\graph\hipGraphClone.cc:290:21) &>' requested here

    90 |         _Start(_STD forward<_Fn>(_Fx), _STD forward<_Args>(_Ax)...);

       |         ^

 C:\hip-tests\catch\unit\graph\hipGraphClone.cc:290:21) &, 0>' requested here

   311 |     std::thread t(lambdaFunc);

       |                 ^

 C:/dk/win\ms_wdk\e22621\Include\10.0.22621.0\ucrt\process.h:99:40: note: passing argument to parameter '_StartAddress' here

    99 |     _In_      _beginthreadex_proc_type _StartAddress,

       |                                        ^

 1 error generated when compiling for gfx1030.
2023-08-31 09:02:49 -04:00
..
Inputs
add-inline-in-definition.cu
addr-of-overloaded-fn.cu
alias.cu [NVPTX] Fix missed test after adding alias support for NVPTX 2023-08-07 14:35:02 -05:00
allow-int128.cu
amdgpu-attrs.cu
amdgpu-bf16.cu [Clang][BFloat16] Upgrade __bf16 to arithmetic type, change mangling, and extend excess precision support 2023-05-27 13:33:50 +08:00
amdgpu-f128.cu
amdgpu-size_t.cu
amdgpu-windows-vectorcall.cu Revert "[CUDA][HIP] Fix overloading resolution in global variable initializer" 2023-08-31 09:02:49 -04:00
asm_delayed_diags.cu
asm-constraints-device.cu
asm-constraints-mixed.cu
atomic-ops.cu
attr-declspec.cu
attributes-on-non-cuda.cu
autoret-global.cu
bad-attributes.cu
bad-calls-on-same-line.cu
bf16.cu [Clang][BFloat16] Upgrade __bf16 to arithmetic type, change mangling, and extend excess precision support 2023-05-27 13:33:50 +08:00
builtin-mangled-name.cu
builtins-unsafe-atomics-gfx90a.cu
builtins.cu [NVPTX/CUDA] added an optional src_size argument to __nvvm_cp_async* 2023-05-19 10:59:36 -07:00
call-device-fn-from-host.cu
call-host-fn-from-device.cu
call-kernel-from-kernel.cu
call-stack-for-deferred-err.cu
config-type.cu
const-var.cu
constexpr-ctor.cu
constexpr-var.cu
constexpr-variables.cu
cuda-builtin-vars.cu
cuda-inherits-calling-conv.cu
cxx11-kernel-call.cu
default-ctor.cu
deferred-diags-limit.cu
deferred-diags.cu
deferred-oeverload.cu
dependent-device-var.cu
device-use-host-var.cu
device-var-init.cu
error-includes-mode.cu
exceptions.cu
extern-shared.cu
float16.cu
fp16-arg-return.cu [HIP] Fix regression about __fp16 args and return value 2023-08-01 11:29:19 -04:00
function-overload.cu Revert "[CUDA][HIP] Fix overloading resolution in global variable initializer" 2023-08-31 09:02:49 -04:00
function-target.cu
function-template-overload.cu
global-initializers-host.cu Revert "[CUDA][HIP] Fix overloading resolution in global variable initializer" 2023-08-31 09:02:49 -04:00
gnu-inline.cu
host-device-constexpr.cu
implicit-copy.cu
implicit-device-lambda.cu
implicit-intrinsic.cu
implicit-member-target-collision-cxx11.cu
implicit-member-target-collision.cu
implicit-member-target-inherited.cu
implicit-member-target.cu
inherited-ctor.cu
kernel-call.cu
lambda.cu
launch_bounds.cu
lit.local.cfg [NFC][Py Reformat] Reformat python files in clang and clang-tools-extra 2023-05-23 08:29:52 +02:00
managed-var.cu
member-init.cu [CUDA][HIP] Fix overloading resolution of delete operator 2023-08-08 09:50:24 -04:00
method-target.cu
neon-attrs.cu [Clang][CUDA] Disable diagnostics for neon attrs for GPU-side CUDA compilation 2023-06-09 09:27:01 +00:00
no-call-stack-for-immediate-errs.cu
no-destructor-overload.cu
no-host-device-constexpr.cu
noinline.cu
openmp-parallel.cu
openmp-static-func.cu
openmp-target.cu [OpenMP] Update the default version of OpenMP to 5.1 2023-06-15 12:41:09 +05:30
overloaded-delete.cu
pr27778.cu
pr54537.cu
qualifiers.cu
reference-to-kernel-fn.cu
spirv-int128.cu
static-device-var.cu
template-arg-deduction.cu [CUDA][HIP] Fix template argument deduction 2023-08-08 17:39:01 -04:00
trace-through-global.cu
union-init.cu
usual-deallocators.cu
vararg.cu
vla.cu