Home
last modified time | relevance | path

Searched refs:launch (Results 1 – 25 of 225) sorted by relevance

123456789

/llvm-project-15.0.7/libcxx/test/std/thread/futures/futures.overview/
H A Dlaunch.pass.cpp29 … (static_cast<int>(std::launch::async) | static_cast<int>(std::launch::deferred)), ""); in main()
31 LIBCPP_STATIC_ASSERT(std::launch::any == (std::launch::async | std::launch::deferred), ""); in main()
32 static_assert(std::launch(0) == (std::launch::async & std::launch::deferred), ""); in main()
33 LIBCPP_STATIC_ASSERT(std::launch::any == (std::launch::async ^ std::launch::deferred), ""); in main()
34 LIBCPP_STATIC_ASSERT(std::launch::deferred == ~std::launch::async, ""); in main()
35 std::launch x = std::launch::async; in main()
36 x &= std::launch::deferred; in main()
37 assert(x == std::launch(0)); in main()
38 x = std::launch::async; in main()
39 x |= std::launch::deferred; in main()
[all …]
/llvm-project-15.0.7/libcxx/test/std/thread/futures/futures.async/
H A Dasync.pass.cpp113 std::launch AnyPolicy = std::launch::async | std::launch::deferred; in main()
114 LIBCPP_ASSERT(AnyPolicy == std::launch::any); in main()
119 test<int>(checkInt, false, std::launch::async, f0); in main()
120 test<int>(checkInt, true, std::launch::deferred, f0); in main()
126 test<int&>(checkIntRef, false, std::launch::async, f1); in main()
127 test<int&>(checkIntRef, true, std::launch::deferred, f1); in main()
133 test<void>(checkVoid, false, std::launch::async, f2); in main()
134 test<void>(checkVoid, true, std::launch::deferred, f2); in main()
150 std::future<void> f = std::async(std::launch::deferred, f5, 3); in main()
H A Dasync_race.38682.pass.cpp41 std::future<int> fut = std::async(std::launch::async, worker, v); in main()
50 std::future<int&> fut = std::async(std::launch::async, worker_ref, std::ref(i)); in main()
59 std::future<void> fut = std::async(std::launch::async, worker_void); in main()
H A Dasync_race.pass.cpp53 std::future<int> f = std::async(std::launch::async, f_async); in test_each()
59 std::future<int> f = std::async(std::launch::deferred, f_deferred); in test_each()
/llvm-project-15.0.7/clang/test/CodeGenCUDA/
H A Dkernel-stub-name.cu49 extern "C" void launch(void *kern);
98 launch((void *)ckernel); in fun2()
99 launch((void *)ns::nskernel); in fun2()
100 launch((void *)kernelfunc<int>); in fun2()
101 launch((void *)kernel_decl); in fun2()
142 launch((void *)kernel_ptr); in fun5()
H A Dkernel-amdgcn.cu32 void launch(void *f);
36 launch((void*)A::kernel); in main()
37 launch((void*)kernel); in main()
38 launch((void*)template_kernel<A>); in main()
39 launch((void*)D.Empty()); in main()
H A Dkernel-args.cu29 void launch(void*);
35 launch((void*)templateKernel<A>); in test()
39 launch((void*)Kernel::templateMemberKernel<A>); in test()
/llvm-project-15.0.7/clang/test/Driver/
H A Dhip-launch-api.hip4 // By default FE assumes -fhip-new-launch-api.
8 // NEW: "-fhip-new-launch-api"
11 // RUN: -fhip-new-launch-api 2>&1 | FileCheck -check-prefixes=NEW %s
12 // NEW: "-fhip-new-launch-api"
15 // RUN: -fno-hip-new-launch-api 2>&1 | FileCheck -check-prefixes=OLD %s
16 // OLD-NOT: "-fhip-new-launch-api"
/llvm-project-15.0.7/lldb/unittests/Process/gdb-remote/
H A DGDBRemoteCommunicationClientTest.cpp86 write_result = std::async(std::launch::async, [&] { in TEST_F()
106 write_result = std::async(std::launch::async, [&] { in TEST_F()
131 read_result = std::async(std::launch::async, in TEST_F()
152 async_result = std::async(std::launch::async, [&] { in TEST_F()
182 std::async(std::launch::async, in TEST_F()
208 std::async(std::launch::async, in TEST_F()
255 std::async(std::launch::async, in TEST_F()
315 result = std::async(std::launch::async, [&] { in TEST_F()
348 result = std::async(std::launch::async, [&] { in TEST_F()
357 result = std::async(std::launch::async, [&] { in TEST_F()
[all …]
H A DGDBRemoteClientBaseTest.cpp115 std::launch::async, [&] { return SendCPacket(continue_response); }); in TEST_F()
120 std::future<bool> async_result = std::async(std::launch::async, [&] { in TEST_F()
145 std::launch::async, [&] { return SendCPacket(continue_response); }); in TEST_F()
189 std::launch::async, [&] { return SendCPacket(continue_response); }); in TEST_F()
195 std::launch::async, [&] { return client.Interrupt(g_timeout); }); in TEST_F()
213 std::launch::async, [&] { return SendCPacket(continue_response); }); in TEST_F()
219 std::launch::async, [&] { return client.Interrupt(g_timeout); }); in TEST_F()
246 std::launch::async, [&] { return SendCPacket(continue_response); }); in TEST_F()
252 std::launch::async, [&] { return client.Interrupt(g_timeout); }); in TEST_F()
328 std::launch::async, [&] { return SendCPacket(continue_response); }); in TEST_F()
[all …]
/llvm-project-15.0.7/mlir/test/Dialect/GPU/
H A Dsink-ops.mlir1 // RUN: mlir-opt -allow-unregistered-dialect -gpu-launch-sink-index-computations -split-input-file …
11 // CHECK: gpu.launch blocks
12 gpu.launch blocks(%bx, %by, %bz) in (%grid_x = %cst, %grid_y = %cst,
38 // CHECK: gpu.launch blocks
39 gpu.launch blocks(%bx, %by, %bz) in (%grid_x = %cst, %grid_y = %cst,
60 // CHECK: gpu.launch blocks
61 gpu.launch blocks(%bx, %by, %bz) in (%grid_x = %c1, %grid_y = %c1,
83 // CHECK: gpu.launch blocks
84 gpu.launch blocks(%bx, %by, %bz) in (%grid_x = %c1, %grid_y = %c1,
H A Doutlining.mlir6 // CHECK-LABEL: func @launch()
7 func.func @launch() {
26 // CHECK-NOT: gpu.launch blocks
27 gpu.launch blocks(%bx, %by, %bz) in (%grid_x = %gDimX, %grid_y = %gDimY,
70 gpu.launch blocks(%bx, %by, %bz) in (%grid_x = %cst, %grid_y = %cst,
124 gpu.launch blocks(%bx, %by, %bz) in (%grid_x = %cst, %grid_y = %cst,
150 gpu.launch blocks(%bx, %by, %bz) in (%grid_x = %cst, %grid_y = %cst,
180 gpu.launch blocks(%bx, %by, %bz) in (%grid_x = %cst, %grid_y = %cst,
209 gpu.launch blocks(%bx, %by, %bz) in (%grid_x = %c1, %grid_y = %c1,
237 gpu.launch blocks(%bx, %by, %bz) in (%grid_x = %c1, %grid_y = %c1,
[all …]
H A Dops.mlir11 …// CHECK: gpu.launch blocks(%{{.*}}, %{{.*}}, %{{.*}}) in (%{{.*}} = %{{.*}}, %{{.*}} = %{{.*}}, %…
12 gpu.launch blocks(%bx, %by, %bz) in (%grid_x = %sz, %grid_y = %sz, %grid_z = %sz)
22 …// CHECK: gpu.launch blocks(%{{.*}}, %{{.*}}, %{{.*}}) in (%{{.*}} = %{{.*}}, %{{.*}} = %{{.*}}, %…
23 gpu.launch blocks(%bx, %by, %bz) in (%grid_x = %blk, %grid_y = %blk, %grid_z = %blk)
35 …// CHECK: gpu.launch async [%{{.+}}] blocks(%{{.*}}, %{{.*}}, %{{.*}}) in (%{{.*}} = %{{.*}}, %{{.…
37 …%name = gpu.launch async [%t] blocks(%arg0, %arg1, %arg2) in (%grid_x = %blk, %grid_y = %blk, %gri…
46 …// CHECK: %{{.*}} = gpu.launch async blocks(%{{.*}}, %{{.*}}, %{{.*}}) in (%{{.*}} = %{{.*}}, %{{.…
47 …%t0 = gpu.launch async blocks(%arg0, %arg1, %arg2) in (%grid_x = %blk, %grid_y = %blk, %grid_z = %…
51 …// CHECK: gpu.launch async blocks(%{{.*}}, %{{.*}}, %{{.*}}) in (%{{.*}} = %{{.*}}, %{{.*}} = %{{.…
52 …%t1 = gpu.launch async [] blocks(%arg0, %arg1, %arg2) in (%grid_x = %blk, %grid_y = %blk, %grid_z …
/llvm-project-15.0.7/lldb/test/API/functionalities/signal/raise/
H A DTestRaise.py35 def launch(self, target, signal): member in RaiseTestCase
74 process = self.launch(target, signal)
99 process = self.launch(target, signal)
113 process = self.launch(target, signal)
131 process = self.launch(target, signal)
156 process = self.launch(target, signal)
170 process = self.launch(target, signal)
/llvm-project-15.0.7/lldb/tools/lldb-vscode/
H A DREADME.md7 - [Launch Configuration Settings](#launch-configuration-settings)
68 control how the launch or attach happens.
72 When you launch a program with Visual Studio Code you will need to create a [launch.json](https://c…
73 …he JSON configuration file can contain the following `lldb-vscode` specific launch key/value pairs:
79 |**request** |string|Y| Must be "launch".
80 |**program** |string|Y| Path to the executable to launch.
99 3. Attach by name by waiting for the next instance of a process to launch
101 The JSON configuration file can contain the following `lldb-vscode` specific launch key/value pairs:
111 |**waitFor** |boolean | | Wait for the process to launch.
124 This will launch `/tmp/a.out` with arguments `one`, `two`, and `three` and
[all …]
/llvm-project-15.0.7/lldb/test/API/driver/batch_mode/
H A DTestBatchMode.py33 self.launch(executable=exe, extra_args=extra_args)
63 self.launch(executable=exe, extra_args=extra_args)
93 self.launch(executable=exe, extra_args=extra_args)
149 self.launch(executable=exe, extra_args=extra_args)
/llvm-project-15.0.7/lldb/test/API/commands/expression/multiline-navigation/
H A DTestMultilineNavigation.py23 self.launch()
47 self.launch()
81 self.launch()
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/
H A Dunused-return-value.cpp7 enum class launch { enum
16 future async(launch, Function &&, Args &&...);
80 std::async(std::launch::async, increment, 42); in warning()
192 auto AsyncRetval2 = std::async(std::launch::async, increment, 42); in noWarning()
/llvm-project-15.0.7/clang/test/Analysis/Checkers/
H A DRunLoopAutoreleaseLeakChecker.m32 …ing{{Temporary objects allocated in the autorelease pool followed by the launch of main run loop m…
51 …ing{{Temporary objects allocated in the autorelease pool followed by the launch of xpc_main may ne…
59 …ing{{Temporary objects allocated in the autorelease pool followed by the launch of main run loop m…
84 …ing{{Temporary objects allocated in the autorelease pool followed by the launch of main run loop m…
94 …objects allocated in the autorelease pool of last resort followed by the launch of main run loop m…
125 …objects allocated in the autorelease pool of last resort followed by the launch of xpc_main may ne…
159 …objects allocated in the autorelease pool of last resort followed by the launch of main run loop m…
/llvm-project-15.0.7/mlir/include/mlir/Dialect/GPU/Transforms/
H A DPasses.td14 def GpuLaunchSinkIndexComputations : Pass<"gpu-launch-sink-index-computations"> {
15 let summary = "Sink index computations into gpu.launch body";
21 let summary = "Outline gpu.launch bodies to kernel functions";
/llvm-project-15.0.7/lldb/test/API/iohandler/autosuggestion/
H A DTestAutosuggestion.py27 self.launch(use_colors=True,
42 self.launch(use_colors=True,
110 self.launch(use_colors=True,
/llvm-project-15.0.7/lldb/test/Shell/Process/
H A DTestEnvironment.test7 RUN: %lldb %t -o 'process launch --environment FOO="BAR"' | FileCheck %s
8 RUN: %lldb %t -o 'env FOO="BAR"' -o 'process launch' | FileCheck %s
/llvm-project-15.0.7/clang-tools-extra/clang-include-fixer/
H A DSymbolIndexManager.h37 auto Strategy = std::launch::async; in addSymbolIndex()
39 auto Strategy = std::launch::deferred; in addSymbolIndex()
/llvm-project-15.0.7/lldb/test/Shell/Host/
H A DTestCustomShell.test9 # RUN: SHELL=bogus not %lldb %t.out -b -o 'process launch -X 1 --' 2>&1 | FileCheck %s --check-pref…
10 # RUN: env -i %lldb %t.out -b -o 'process launch -X 1 --' 2>&1 | FileCheck %s
/llvm-project-15.0.7/libcxx/include/
H A Dfuture428 launch
429 operator&(launch __x, launch __y)
437 launch
438 operator|(launch __x, launch __y)
446 launch
447 operator^(launch __x, launch __y)
455 launch
462 launch&
463 operator&=(launch& __x, launch __y)
470 operator|=(launch& __x, launch __y)
[all …]

123456789