Home
last modified time | relevance | path

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

/hardware/google/aemu/base/include/aemu/base/async/
DDefaultLooper.h156 class Task : public Looper::Task {
158 Task(Looper* looper, Looper::Task::Callback&& callback,
161 ~Task();
171 void addTask(Task* task);
172 void delTask(Task* task);
199 using TaskSet = std::unordered_set<Task*>;
DLooper.h200 class Task {
201 DISALLOW_COPY_AND_ASSIGN(Task);
206 virtual ~Task();
217 Task(Looper* looper, Callback&& callback);
223 using TaskPtr = std::unique_ptr<Task>;
224 using TaskCallback = Task::Callback;
/hardware/interfaces/broadcastradio/common/utils/include/broadcastradio-utils/
DWorkerThread.h38 struct Task { struct
43 friend bool operator<(const Task& lhs, const Task& rhs); argument
49 std::priority_queue<Task> mTasks GUARDED_BY(mMut);
/hardware/google/gfxstream/host/
DVirtioGpuTimelines.cpp39 std::shared_ptr<Task> task(new Task(id, ring), [this](Task* task) { in enqueueTask()
66 std::shared_ptr<Task> task = iTask->second.lock(); in notifyTaskCompletion()
112 bool operator()(std::shared_ptr<Task> &task) { in poll_locked()
DVirtioGpuTimelines.h98 struct Task {
102 Task(TaskId id, const Ring& ring) : mId(id), mRing(ring), mHasCompleted(false) {}
105 std::variant<std::unique_ptr<Fence>, std::shared_ptr<Task>>;
111 std::unordered_map<TaskId, std::weak_ptr<Task>> mTaskIdToTask;
DPostWorker.cpp176 using Task = std::packaged_task<void()>; in runTask() typedef
177 auto taskPtr = std::make_unique<Task>(std::move(task)); in runTask()
181 std::unique_ptr<Task> taskPtr(reinterpret_cast<Task*>(data)); in runTask()
/hardware/interfaces/neuralnetworks/utils/adapter/hidl/include/nnapi/hal/
DAdapter.h34 using Task = std::function<void()>; variable
44 using Executor = std::function<void(Task, nn::OptionalTimePoint)>;
/hardware/interfaces/neuralnetworks/utils/adapter/aidl/include/nnapi/hal/aidl/
DAdapter.h35 using Task = std::function<void()>; variable
44 using Executor = std::function<void(Task, ::android::nn::OptionalTimePoint)>;
/hardware/interfaces/broadcastradio/common/utils/
DWorkerThread.cpp29 bool operator<(const WorkerThread::Task& lhs, const WorkerThread::Task& rhs) { in operator <()
58 mTasks.push(Task({when, std::move(task), std::move(cancelTask)})); in schedule()
/hardware/google/gfxstream/guest/android-emu/aemu/base/threads/
DAndroidWorkPool.h32 using Task = std::function<void()>;
39 WaitGroupHandle schedule(const std::vector<Task>& tasks);
DAndroidWorkPool.cpp227 bool run(WorkPool::WaitGroupHandle waitGroupHandle, WaitGroup* waitGroup, WorkPool::Task task) { in run()
271 WorkPool::Task task = {};
342 WorkPool::WaitGroupHandle schedule(const std::vector<WorkPool::Task>& tasks) { in schedule()
454 WorkPool::WaitGroupHandle WorkPool::schedule(const std::vector<WorkPool::Task>& tasks) { in schedule()
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/
DBurst.h51 using Task = std::function<void()>;
52 using Cleanup = ::android::base::ScopeGuard<Task>;
/hardware/interfaces/neuralnetworks/utils/adapter/hidl/src/
DAdapter.cpp39 Executor defaultExecutor = [](Task task, nn::OptionalTimePoint /*deadline*/) { in adapt()
DDevice.cpp136 Task task = [device, nnModel = std::move(nnModel), callback] { in prepareModel()
157 Task task = [device, nnModel = std::move(nnModel), nnPreference, callback] { in prepareModel_1_1()
184 Task task = [device, nnModel = std::move(nnModel), nnPreference, in prepareModel_1_2()
214 Task task = [device, nnModel = std::move(nnModel), nnPreference, nnPriority, nnDeadline, in prepareModel_1_3()
240 Task task = [device, nnModelCache = std::move(nnModelCache), in prepareModelFromCache()
/hardware/interfaces/neuralnetworks/utils/adapter/aidl/src/
DAdapter.cpp40 Executor defaultExecutor = [](Task task, ::android::nn::OptionalTimePoint /*deadline*/) { in adapt()
DDevice.cpp183 Task task = [device, nnModel = std::move(nnModel), nnPreference, nnPriority, nnDeadline, in prepareModel()
/hardware/interfaces/neuralnetworks/1.2/utils/include/nnapi/hal/1.2/
DBurst.h83 using Task = std::function<void()>;
84 using Cleanup = base::ScopeGuard<Task>;
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_NV_mesh_shader/
Dmesh.adoc8 <<shaders-task,Task>> and <<shaders-mesh,mesh shaders>> operate in
27 == Task Shader Input
34 == Task Shader Output
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/proposals/
DVK_EXT_mesh_shader.adoc49 …ed in place of the existing pre-rasterization shader stages; <<Mesh Shaders>> and <<Task Shaders>>.
70 Mesh shaders can be dispatched from the API like a compute shader would be, or launched via <<Task
73 ==== Task Shaders
75 Task shaders are an optional shader stage that executes ahead of mesh shaders. A task shader is dis…
82 Task shaders can be used for functionality like coarse culling of entire meshlets or dynamically ge…
316 Task shader output/mesh shader input payloads are declared in a new storage class:
493 Task shader payloads can be declared in task and mesh shaders using the new `taskPayloadSharedEXT` …
562 Task and mesh shaders are a tool that should be used when it makes sense to do so - if a developer …
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DBurst.cpp110 Task cleanup = [memory, identifier, maybeMemoryCache = std::move(self)] { in getOrCacheMemory()
/hardware/interfaces/neuralnetworks/1.2/utils/src/
DBurst.cpp151 Task cleanup = [memory, memoryCache = std::move(self)] { in cacheMemory()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/
Dshaders.adoc1775 == Task Shaders
1777 Task shaders operate in conjunction with the mesh shaders to produce a
1783 Task shaders are invoked via the execution of the
1801 === Task Shader Execution
1803 Task workloads are formed from groups of work items called workgroups and
1807 Task shaders execute in _global workgroups_ which are divided into a number
1818 If the subpass includes multiple views in its view mask, a Task shader using
Dpipelines.adoc61 If an optional (<<shaders-task,Task Shader>>) is active, each task triggers
1557 ** Task shaders
5790 *** Task Shader
/hardware/google/gfxstream/guest/vulkan_enc/
DResourceTracker.cpp4772 std::vector<WorkPool::Task> tasks; in on_vkWaitForFences()
5943 std::vector<WorkPool::Task> preSignalTasks; in on_vkQueueSubmitTemplate()
5944 std::vector<WorkPool::Task> preSignalQueueSubmitTasks; in on_vkQueueSubmitTemplate()
5998 std::vector<WorkPool::Task> tasks; in on_vkQueueSubmitTemplate()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/
DChangeLog.adoc798 Runtime SPIR-V Validation>> VUs for Mesh and Task