//===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // // UNSUPPORTED: libcpp-has-no-threads, pre-sm-60 // UNSUPPORTED: windows && pre-sm-70 // // struct atomic_flag // void clear(memory_order = memory_order_seq_cst); // void clear(memory_order = memory_order_seq_cst) volatile; #include #include #include "cuda_space_selector.h" #include "test_macros.h" template