Home
last modified time | relevance | path

Searched refs:threadId (Results 1 – 25 of 69) sorted by relevance

123

/external/llvm-project/openmp/libomptarget/deviceRTLs/common/
Domptargeti.h44 items.threadId = 0; // is master in InitLevelZeroTaskDescr()
60 items.threadId = in InitLevelOneTaskDescr()
112 items.threadId = in CopyFromWorkDescr()
120 items.threadId = tid; in CopyConvergentParent()
125 omptarget_nvptx_threadPrivateContext->LoopUpperBound(items.threadId); in SaveLoopData()
127 omptarget_nvptx_threadPrivateContext->NextLowerBound(items.threadId); in SaveLoopData()
129 omptarget_nvptx_threadPrivateContext->ScheduleType(items.threadId); in SaveLoopData()
130 loopData.chunk = omptarget_nvptx_threadPrivateContext->Chunk(items.threadId); in SaveLoopData()
132 omptarget_nvptx_threadPrivateContext->Stride(items.threadId); in SaveLoopData()
136 omptarget_nvptx_threadPrivateContext->Chunk(items.threadId) = loopData.chunk; in RestoreLoopData()
[all …]
/external/llvm-project/openmp/libomptarget/deviceRTLs/common/src/
Dparallel.cu83 const int threadId = 0; in __kmpc_kernel_prepare_parallel() local
85 omptarget_nvptx_threadPrivateContext->GetTopLevelTaskDescr(threadId); in __kmpc_kernel_prepare_parallel()
95 omptarget_nvptx_threadPrivateContext->NumThreadsForNextParallel(threadId); in __kmpc_kernel_prepare_parallel()
135 int threadId = GetThreadIdInBlock(); in __kmpc_kernel_parallel() local
140 if (threadId < threadsInTeam) { in __kmpc_kernel_parallel()
143 omptarget_nvptx_threadPrivateContext->Level1TaskDescr(threadId); in __kmpc_kernel_parallel()
147 omptarget_nvptx_threadPrivateContext->SetTopLevelTaskDescr(threadId, in __kmpc_kernel_parallel()
178 int threadId = GetThreadIdInBlock(); in __kmpc_kernel_end_parallel() local
179 omptarget_nvptx_TaskDescr *currTaskDescr = getMyTopTaskDescriptor(threadId); in __kmpc_kernel_end_parallel()
181 threadId, currTaskDescr->GetPrevTaskDescr()); in __kmpc_kernel_end_parallel()
[all …]
Domptarget.cu49 int threadId = GetLogicalThreadIdInBlock(/*isSPMDExecutionMode=*/false); in __kmpc_kernel_init() local
50 omptarget_nvptx_threadPrivateContext->InitThreadPrivateContext(threadId); in __kmpc_kernel_init()
59 threadId, currTeamDescr.LevelZeroTaskDescr()); in __kmpc_kernel_init()
63 omptarget_nvptx_threadPrivateContext->GetTopLevelTaskDescr(threadId); in __kmpc_kernel_init()
86 int threadId = GetThreadIdInBlock(); in __kmpc_spmd_kernel_init() local
87 if (threadId == 0) { in __kmpc_spmd_kernel_init()
106 if (threadId == 0) { in __kmpc_spmd_kernel_init()
125 omptarget_nvptx_threadPrivateContext->Level1TaskDescr(threadId); in __kmpc_spmd_kernel_init()
129 omptarget_nvptx_threadPrivateContext->SetTopLevelTaskDescr(threadId, in __kmpc_spmd_kernel_init()
146 int threadId = GetThreadIdInBlock(); in __kmpc_spmd_kernel_deinit_v2() local
[all …]
/external/llvm-project/lldb/test/API/tools/lldb-vscode/step/
DTestVSCode_step.py47 x1 = self.get_local_as_int('x', threadId=tid)
48 (src1, line1) = self.get_source_and_line(threadId=tid)
53 self.stepIn(threadId=tid, waitForStop=True)
54 x2 = self.get_local_as_int('x', threadId=tid)
55 (src2, line2) = self.get_source_and_line(threadId=tid)
61 self.stepOut(threadId=tid, waitForStop=True)
62 x3 = self.get_local_as_int('x', threadId=tid)
63 (src3, line3) = self.get_source_and_line(threadId=tid)
69 self.stepOver(threadId=tid, waitForStop=True)
70 x4 = self.get_local_as_int('x', threadId=tid)
[all …]
/external/deqp/framework/delibs/decpp/
DdeThreadSafeRingBuffer.cpp42 Message (deUint16 threadId, deUint16 payload) in Message()
43 : data((threadId << 16) | payload) in Message()
72 deUint16 threadId = msg.getThreadId(); in run() local
74 if (threadId == 0xffff) in run()
77 DE_TEST_ASSERT(de::inBounds<int>(threadId, 0, (int)m_lastPayload.size())); in run()
78 …DE_TEST_ASSERT((m_lastPayload[threadId] == 0 && msg.getPayload() == 0) || m_lastPayload[threadId] … in run()
80 m_lastPayload[threadId] = msg.getPayload(); in run()
81 m_payloadSum[threadId] += (deUint32)msg.getPayload(); in run()
85 deUint32 getPayloadSum (deUint16 threadId) const in getPayloadSum()
87 return m_payloadSum[threadId]; in getPayloadSum()
[all …]
DdeBlockBuffer.cpp43 Message (deUint16 threadId, deUint16 payload) in Message()
44 : data((threadId << 16) | payload) in Message()
84 deUint16 threadId = msg.getThreadId(); in run() local
86 if (threadId == 0xffff) in run()
101 DE_TEST_ASSERT(de::inBounds<int>(threadId, 0, (int)m_lastPayload.size())); in run()
102 …DE_TEST_ASSERT((m_lastPayload[threadId] == 0 && msg.getPayload() == 0) || m_lastPayload[threadId] … in run()
104 m_lastPayload[threadId] = msg.getPayload(); in run()
105 m_payloadSum[threadId] += (deUint32)msg.getPayload(); in run()
111 deUint32 getPayloadSum (deUint16 threadId) const in getPayloadSum()
113 return m_payloadSum[threadId]; in getPayloadSum()
[all …]
/external/llvm-project/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/
Dlldbvscode_testcase.py146 def get_stackFrames_and_totalFramesCount(self, threadId=None, startFrame=None, argument
148 response = self.vscode.request_stackTrace(threadId=threadId,
161 def get_stackFrames(self, threadId=None, startFrame=None, levels=None, argument
164 threadId=threadId,
170 def get_source_and_line(self, threadId=None, frameIndex=0): argument
171 stackFrames = self.get_stackFrames(threadId=threadId,
193 def get_local_as_int(self, name, threadId=None): argument
194 value = self.vscode.get_local_variable_value(name, threadId=threadId)
210 def stepIn(self, threadId=None, waitForStop=True): argument
211 self.vscode.request_stepIn(threadId=threadId)
[all …]
Dvscode.py383 def get_stackFrame(self, frameIndex=0, threadId=None): argument
387 if threadId is None:
388 threadId = self.get_thread_id()
389 if threadId is None:
392 response = self.request_stackTrace(threadId, startFrame=frameIndex,
403 def get_scope_variables(self, scope_name, frameIndex=0, threadId=None): argument
405 threadId=threadId)
427 def get_global_variables(self, frameIndex=0, threadId=None): argument
429 threadId=threadId)
431 def get_local_variables(self, frameIndex=0, threadId=None): argument
[all …]
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Drdtsc_core.h104 void rdtscInit(BucketManager* pBucketMgr, int threadId);
112 #define RDTSC_INIT(pBucketMgr, threadId) rdtscInit(pBucketMgr,threadId) argument
119 #define RDTSC_INIT(pBucketMgr, threadId) argument
134 INLINE void rdtscInit(BucketManager* pBucketMgr, int threadId) in rdtscInit() argument
137 if (!pBucketMgr->mBucketsInitialized && (threadId == 0)) in rdtscInit()
147 std::string name = threadId == 0 ? "API" : "WORKER"; in rdtscInit()
Dthreads.cpp103 uint32_t threadId = 0; in CalculateProcessorTopology() local
108 while (BitScanForwardSizeT((unsigned long*)&threadId, gmask.Mask)) in CalculateProcessorTopology()
111 KAFFINITY threadMask = KAFFINITY(1) << threadId; in CalculateProcessorTopology()
130 threadMaskPerProcGroup[procGroup] |= (KAFFINITY(1) << threadId); in CalculateProcessorTopology()
136 procNum.Number = UCHAR(threadId); in CalculateProcessorTopology()
155 pCore->threadIds.push_back(threadId); in CalculateProcessorTopology()
308 uint32_t threadId, in bindThread() argument
325 if (threadId >= 32) in bindThread()
343 affinity.Mask = KAFFINITY(1) << threadId; in bindThread()
361 CPU_SET(threadId, &cpuset); in bindThread()
[all …]
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/internal/
DLockFreeLinkedListShortStressTest.kt39 repeat(nAdderThreads) { threadId -> in <lambda>() method
40 threads += thread(start = false, name = "adder-$threadId") { in <lambda>()
43 var node: IntNode? = IntNode(threadId) in <lambda>()
65 repeat(nRemoverThreads) { threadId -> in <lambda>() method
66 threads += thread(start = false, name = "remover-$threadId") { in <lambda>()
/external/swiftshader/src/Vulkan/Debug/
DServer.cpp219 auto thread = lock.get(Thread::ID(req.threadId)); in Impl()
222 return dap::Error("Thread %d not found", req.threadId); in Impl()
323 if(auto thread = lock.get(Thread::ID(req.threadId))) in Impl()
326 event.threadId = req.threadId; in Impl()
341 event.threadId = threads.front()->id.value(); in Impl()
358 if(auto thread = lock.get(Thread::ID(req.threadId))) in Impl()
380 auto thread = lock.get(Thread::ID(req.threadId)); in Impl()
383 return dap::Error("Unknown thread %d", int(req.threadId)); in Impl()
395 auto thread = lock.get(Thread::ID(req.threadId)); in Impl()
398 return dap::Error("Unknown thread %d", int(req.threadId)); in Impl()
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/
DJDWPProxyTestCase.java35 private final long threadId; field in JDWPProxyTestCase.EventContext
39 public EventContext(long threadId, long frameId, Location location) { in EventContext() argument
40 this.threadId = threadId; in EventContext()
46 return threadId; in getThreadId()
/external/dagger2/javatests/dagger/functional/producers/monitoring/
DMonitoringTest.java198 .isEqualTo(threadAccumulator.threadId("entryPoint")); in monitoringWithThreads()
200 .isEqualTo(threadAccumulator.threadId("entryPoint")); in monitoringWithThreads()
203 assertThat(deferredMonitor.requestedThreadId).isEqualTo(threadAccumulator.threadId("required")); in monitoringWithThreads()
204 assertThat(deferredMonitor.startingThreadId).isEqualTo(threadAccumulator.threadId("deferred")); in monitoringWithThreads()
205 assertThat(deferredMonitor.finishedThreadId).isEqualTo(threadAccumulator.threadId("deferred")); in monitoringWithThreads()
209 assertThat(requiredMonitor.startingThreadId).isEqualTo(threadAccumulator.threadId("required")); in monitoringWithThreads()
210 assertThat(requiredMonitor.finishedThreadId).isEqualTo(threadAccumulator.threadId("required")); in monitoringWithThreads()
216 threadAccumulator.threadId("required"), in monitoringWithThreads()
217 threadAccumulator.threadId("deferred"), in monitoringWithThreads()
218 threadAccumulator.threadId("entryPoint")); in monitoringWithThreads()
/external/deqp-deps/glslang/Test/baseResults/
Dhlsl.structbuffer.floatidx.comp.out10 …temp structure{ temp 4-component vector of float color, temp 2-component vector of uint threadId})
11 …temp structure{ temp 4-component vector of float color, temp 2-component vector of uint threadId})
12 …ffer structure{ temp 4-component vector of float color, temp 2-component vector of uint threadId})
13 …y of structure{ temp 4-component vector of float color, temp 2-component vector of uint threadId})
14 …ructure{ temp 4-component vector of float color, temp 2-component vector of uint threadId} @data})
32 0:15 threadId: direct index for structure ( temp 2-component vector of uint)
33 …temp structure{ temp 4-component vector of float color, temp 2-component vector of uint threadId})
45 …temp structure{ temp 4-component vector of float color, temp 2-component vector of uint threadId})
85 …ructure{ temp 4-component vector of float color, temp 2-component vector of uint threadId} @data})
102 …temp structure{ temp 4-component vector of float color, temp 2-component vector of uint threadId})
[all …]
/external/angle/third_party/vulkan-deps/glslang/src/Test/baseResults/
Dhlsl.structbuffer.floatidx.comp.out10 …temp structure{ temp 4-component vector of float color, temp 2-component vector of uint threadId})
11 …temp structure{ temp 4-component vector of float color, temp 2-component vector of uint threadId})
12 …ffer structure{ temp 4-component vector of float color, temp 2-component vector of uint threadId})
13 …y of structure{ temp 4-component vector of float color, temp 2-component vector of uint threadId})
14 …ructure{ temp 4-component vector of float color, temp 2-component vector of uint threadId} @data})
32 0:15 threadId: direct index for structure ( temp 2-component vector of uint)
33 …temp structure{ temp 4-component vector of float color, temp 2-component vector of uint threadId})
45 …temp structure{ temp 4-component vector of float color, temp 2-component vector of uint threadId})
85 …ructure{ temp 4-component vector of float color, temp 2-component vector of uint threadId} @data})
102 …temp structure{ temp 4-component vector of float color, temp 2-component vector of uint threadId})
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ObjectReference/
DInvokeMethodAfterMultipleThreadSuspensionTest.java40 protected CommandPacket buildInvokeCommand(long threadId, long classID, in buildInvokeCommand() argument
43 ReplyPacket replyPacket = debuggeeWrapper.vmMirror.getThreadFrames(threadId, 0, 1); in buildInvokeCommand()
50 long receiverId = debuggeeWrapper.vmMirror.getThisObject(threadId, topFrameId); in buildInvokeCommand()
56 command.setNextValueAsThreadID(threadId); in buildInvokeCommand()
DInvokeMethodWithSuspensionTest.java38 protected CommandPacket buildInvokeCommand(long threadId, long classID, in buildInvokeCommand() argument
41 ReplyPacket replyPacket = debuggeeWrapper.vmMirror.getThreadFrames(threadId, 0, 1); in buildInvokeCommand()
48 long receiverId = debuggeeWrapper.vmMirror.getThisObject(threadId, topFrameId); in buildInvokeCommand()
54 command.setNextValueAsThreadID(threadId); in buildInvokeCommand()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/
DResumeTest.java223 long threadId = 0; field in ResumeTest.ThreadInfo
314 threadInfo.threadId = threadID; in createThreadInfos()
323 if (threadInfo.threadId == 0) { in createThreadInfos()
356 + threadInfo.threadId in checkThreadStatus()
363 packet.setNextValueAsThreadID(threadInfo.threadId); in checkThreadStatus()
367 threadInfo.threadId + in checkThreadStatus()
385 "checked thread " + threadInfo.threadId + in checkThreadStatus()
/external/lzma/C/
DThreads.c40 DWORD threadId; in Thread_Create() local
41 *p = CreateThread(0, 0, func, param, 0, &threadId); in Thread_Create()
45 unsigned threadId; in Thread_Create()
46 *p = (HANDLE)_beginthreadex(NULL, 0, func, param, 0, &threadId); in Thread_Create()
/external/grpc-grpc/src/csharp/Grpc.Core/Internal/
DNativeLogRedirector.cs28 …internal delegate void GprLogDelegate(IntPtr fileStringPtr, int line, ulong threadId, IntPtr sever… in GprLogDelegate() argument
55 …private static void HandleWrite(IntPtr fileStringPtr, int line, ulong threadId, IntPtr severityStr… in HandleWrite() argument
62 threadId, in HandleWrite()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/
DSingleStepWithPendingExceptionTest.java90 long threadId = debuggeeWrapper.vmMirror.waitForBreakpoint(breakpointRequestId); in testSingleStepWithPendingException() local
93 int singleStepRequestId = setSingleStepOut(threadId); in testSingleStepWithPendingException()
130 private int setSingleStepOut(long threadId) { in setSingleStepOut() argument
131 ReplyPacket replyPacket = debuggeeWrapper.vmMirror.setStep(new String[0], threadId, in setSingleStepOut()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/StackFrame/
DJDWPStackFrameAccessTest.java192 long threadId = getThreadIdFromName(threadName); in suspendDebuggee() local
194 debuggeeWrapper.vmMirror.suspendThread(threadId); in suspendDebuggee()
195 return threadId; in suspendDebuggee()
198 private void resumeTest(long threadId) { in resumeTest() argument
200 debuggeeWrapper.vmMirror.resumeThread(threadId); in resumeTest()
206 for (long threadId : allThreadIds) { in getThreadIdFromName()
207 String currentThreadName = jdwpGetThreadName(threadId); in getThreadIdFromName()
209 return threadId; in getThreadIdFromName()
/external/testng/src/test/java/test/thread/
DBaseThreadTest.java40 protected void logThread(long threadId) { in logThread() argument
42 log("BaseThreadTest", "Logging thread:" + threadId); in logThread()
43 m_threadIds.add(threadId); in logThread()
/external/zstd/lib/common/
Dpool.c219 { size_t threadId; in POOL_resize_internal() local
220 for (threadId = ctx->threadCapacity; threadId < numThreads; ++threadId) { in POOL_resize_internal()
221 if (ZSTD_pthread_create(&threadPool[threadId], NULL, &POOL_thread, ctx)) { in POOL_resize_internal()
222 ctx->threadCapacity = threadId; in POOL_resize_internal()

123