Home
last modified time | relevance | path

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

123456

/hardware/interfaces/neuralnetworks/utils/common/src/
DResilientExecution.cpp42 auto execution = resilientExecution.getExecution(); in protect() local
43 auto result = fn(*execution); in protect()
51 auto maybeExecution = resilientExecution.recover(execution.get()); in protect()
59 execution = std::move(maybeExecution).value(); in protect()
61 return fn(*execution); in protect()
72 auto execution = NN_TRY(makeExecution()); in create() local
73 CHECK(execution != nullptr); in create()
75 std::move(execution)); in create()
79 nn::SharedExecution execution) in ResilientExecution() argument
80 : kMakeExecution(std::move(makeExecution)), mExecution(std::move(execution)) { in ResilientExecution()
[all …]
/hardware/interfaces/neuralnetworks/utils/common/test/
DResilientExecution.cpp91 const auto [mockExecution, mockExecutionFactory, execution] = setup(); in TEST()
94 const auto result = execution->getExecution(); in TEST()
102 const auto [mockExecution, mockExecutionFactory, execution] = setup(); in TEST()
106 const auto result = execution->compute({}); in TEST()
115 const auto [mockExecution, mockExecutionFactory, execution] = setup(); in TEST()
119 const auto result = execution->compute({}); in TEST()
128 const auto [mockExecution, mockExecutionFactory, execution] = setup(); in TEST()
133 const auto result = execution->compute({}); in TEST()
142 const auto [mockExecution, mockExecutionFactory, execution] = setup(); in TEST()
149 const auto result = execution->compute({}); in TEST()
[all …]
/hardware/interfaces/neuralnetworks/aidl/utils/test/
DExecutionTest.cpp80 const auto execution = Execution::create(mockExecution, {}).value(); in TEST() local
92 const auto result = execution->compute({}); in TEST()
102 const auto execution = Execution::create(mockExecution, {}).value(); in TEST() local
108 const auto result = execution->compute({}); in TEST()
118 const auto execution = Execution::create(mockExecution, {}).value(); in TEST() local
124 const auto result = execution->compute({}); in TEST()
134 const auto execution = Execution::create(mockExecution, {}).value(); in TEST() local
140 const auto result = execution->compute({}); in TEST()
150 const auto execution = Execution::create(mockExecution, {}).value(); in TEST() local
161 const auto result = execution->computeFenced({}, {}, {}); in TEST()
[all …]
/hardware/interfaces/neuralnetworks/1.3/
DIPreparedModel.hal31 * IPreparedModel describes a model that has been prepared for execution and
36 * Launches an asynchronous execution on a prepared model.
38 * The execution is performed asynchronously with respect to the caller.
44 * launch an asynchronous task to perform the execution in the background,
50 * When the asynchronous task has finished its execution, it must
53 * the execution.
65 * - the execution should launch successfully (ErrorStatus::NONE): There
67 * - if at execution time every operation's input operands have legal
68 * values, the execution should complete successfully (ErrorStatus::NONE):
71 * execute_1_3 can be called with an optional deadline. If the execution
[all …]
DIExecutionCallback.hal25 * execution asynchronously launched from IPreparedModel::execute*.
33 * finished performing the execution. One of the notify methods must be
34 * provided with the ErrorStatus from the execution. If the asynchronous
41 * - NONE if the asynchronous execution was successful
50 * - MISSED_DEADLINE_* if the execution is aborted because it
58 * @param timing Duration of execution. Unless MeasureTiming::YES was passed when
59 * launching the execution and status is NONE, all times must
DIFencedExecutionCallback.hal35 * @return status Error status returned from the asynchronously dispatched execution
37 * - NONE if the asynchronous execution was successful
41 * - MISSED_DEADLINE_* if the execution is aborted because it
48 * launching the execution and status is NONE, all times
55 * launching the execution and status is NONE, all times
DIDevice.hal78 * Asynchronously creates a prepared model for execution and optionally
82 * alternative representations to a model for execution, possibly including
152 * the shape of the tensors, which may only be known at execution time. As
161 * @param model The model to be prepared for execution.
162 * @param preference Indicates the intended execution behavior of a prepared
188 * collision; a collision will result in a failed execution or in a
189 * successful execution that produces incorrect output values. If both
193 * preparing the model for execution and the prepared model if
215 * Creates a prepared model from cache files for execution.
271 * the shape of the tensors, which may only be known at execution time. As
[all …]
/hardware/interfaces/neuralnetworks/1.2/
DIPreparedModel.hal27 * IPreparedModel describes a model that has been prepared for execution and
32 * Launches an asynchronous execution on a prepared model.
34 * The execution is performed asynchronously with respect to the caller.
39 * launch an asynchronous task to perform the execution in the background,
45 * When the asynchronous task has finished its execution, it must
48 * the execution.
60 * - the execution should launch successfully (ErrorStatus::NONE): There
62 * - if at execution time every operation's input operands have legal
63 * values, the execution should complete successfully (ErrorStatus::NONE):
72 * @param measure Specifies whether or not to measure duration of the execution.
[all …]
DIExecutionCallback.hal24 * execution asynchronously launched from IPreparedModel::execute.
30 * task has finished performing the execution. Either notify_1_2 or notify must be
31 * provided with the ErrorStatus from the execution. If the asynchronous task is
38 * - NONE if the asynchronous execution was successful
52 * @return Timing Duration of execution. Unless MeasureTiming::YES was passed when
53 * launching the execution and status is NONE, all times must
Dtypes.t120 * execution request (a {@link @1.0::Request} object and a {@link MeasureTiming}
123 * The serialized representation for a particular execution is referred to later
223 * for the inputs and outputs of an execution. However, these memory pools
237 * Specifies whether or not to measure duration of the execution. The
247 * values returned from an execution ({@link @1.0::ErrorStatus},
251 * The serialized representation for a particular execution is referred to later
257 * The execution return values ({@link @1.0::ErrorStatus} and
278 * Status of the execution.
307 * execution.
322 * Duration of execution. Unless measurement was requested and execution
/hardware/interfaces/neuralnetworks/1.0/
DIPreparedModel.hal22 * IPreparedModel describes a model that has been prepared for execution and
27 * Launches an asynchronous execution on a prepared model.
29 * The execution is performed asynchronously with respect to the caller.
34 * launch an asynchronous task to perform the execution in the background,
40 * When the asynchronous task has finished its execution, it must
43 * the execution.
55 * - the execution should launch successfully (ErrorStatus::NONE): There
57 * - if at execution time every operation's input operands have legal
58 * values, the execution should complete successfully (ErrorStatus::NONE):
67 * the execution. The callback object's notify function must
[all …]
DIExecutionCallback.hal21 * execution asynchronously launched from IPreparedModel::execute.
27 * finished performing the execution. notify must be provided with the
28 * ErrorStatus resulting from the execution. If the asynchronous task
34 * - NONE if the asynchronous execution was successful
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DExecution.cpp82 std::shared_ptr<aidl_hal::IExecution> execution, hal::utils::RequestRelocation relocation) { in create() argument
83 if (execution == nullptr) { in create()
87 return std::make_shared<const Execution>(PrivateConstructorTag{}, std::move(execution), in create()
91 Execution::Execution(PrivateConstructorTag /*tag*/, std::shared_ptr<aidl_hal::IExecution> execution, in Execution() argument
93 : kExecution(std::move(execution)), kRelocation(std::move(relocation)) {} in Execution()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/
Dexecutiongraphs.adoc10 To achieve this, a new execution graph pipeline is provided, that links
12 operations that can be dispatched within the execution graph.
16 This allows applications to describe much richer execution topologies at a
22 [open,refpage='vkCreateExecutionGraphPipelinesAMDX',desc='Creates a new execution graph pipeline ob…
24 To create execution graph pipelines, call:
28 * pname:device is the logical device that creates the execution graph
41 which the resulting execution graph pipeline objects are returned.
83 …reateInfoAMDX',desc='Structure specifying parameters of a newly created execution graph pipeline',…
99 the shader stages to be included in the execution graph pipeline.
113 Each shader stage provided when creating an execution graph pipeline
[all …]
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/proposals/
DVK_AMD_shader_early_and_late_fragment_tests.adoc10 This document describes a proposal for a new SPIR-V execution mode that allows fragment shaders to …
16 …ble, and can be explicitly enabled by specifying the `EarlyFragmentTests` execution mode in SPIR-V.
17 However the `EarlyFragmentTests` execution mode makes it invalid to write fragment depth from a sha…
35 . SPIR-V execution mode
42 A SPIR-V execution mode is a straightforward way to express this, and it is consistent with the way…
43 The downside of using an execution mode which is essentially an optimisation hint is that drivers h…
48 …vior" extension along the lines of the non-semantic extension, a SPIR-V execution mode is likely t…
49 …y, or a Vulkan software layer could be used to automatically remove the execution mode when not su…
50 Implementations should also eventually be able to support the execution mode as a no-op if they do …
65 This feature allows the new execution mode in SPIR-V shaders consumed by the implementation.
[all …]
DVK_AMDX_shader_enqueue.adoc20 …e to have the flexibility required for these systems, while keeping the execution loop firmly on t…
54 … _execution graph pipeline_ that defines execution paths between multiple shaders, and allows dyna…
82 …aders in `pStages` must be in the `GLCompute` execution model, and may have the *CoalescingAMDX* e…
85 Each shader in an execution graph is associated with a name and an index, which are used to identif…
109 … same name and different indexes must consume identical payloads and have the same execution model.
110 Shaders with the same name in an execution graph pipeline must have unique indexes.
150 This command initializes it for the currently bound execution graph pipeline.
151 … need to be re-initialized if it is going to be reused with a different execution graph pipeline, …
157 Once an execution graph has been created and scratch memory has been initialized for it, the follow…
190 Each of the above commands enqueues an array of nodes in the bound execution graph pipeline with se…
[all …]
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/appendices/
DVK_NV_compute_shader_derivatives.adoc27 The SPIR-V extension provides two new execution modes, both of which allow
32 The code:DerivativeGroupQuadsNV execution mode assembles shader invocations
35 The code:DerivativeGroupLinearNV execution mode assembles shader invocations
DVK_AMD_shader_early_and_late_fragment_tests.adoc24 execution mode.
27 If `apiext:VK_EXT_shader_stencil_export` is supported, additional execution
DVK_EXT_post_depth_coverage.adoc31 This extension adds a new code:PostDepthCoverage execution mode under the
41 GL_EXT_post_depth_coverage maps to the code:PostDepthCoverage execution
/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DValidateRequest.cpp44 std::shared_ptr<IExecution> execution; in validateReusableExecution() local
48 request, {measure, kOmittedTimeoutDuration, {}, {}}, &execution); in validateReusableExecution()
53 ASSERT_EQ(nullptr, execution); in validateReusableExecution()
56 ASSERT_NE(nullptr, execution); in validateReusableExecution()
64 const auto executeStatus = execution->executeSynchronously(kNoDeadline, &executionResult); in validateReusableExecution()
76 execution->executeFenced({}, kNoDeadline, kNoDuration, &executionResult); in validateReusableExecution()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/commonvalidity/
Ddispatch_graph_common.adoc17 execution graph pipeline
29 the currently bound execution graph pipeline, and not modified after
30 that by anything other than another execution graph dispatch command
/hardware/interfaces/neuralnetworks/utils/adapter/aidl/src/
DPreparedModel.cpp194 nn::ExecutionResult<ExecutionResult> executeSynchronously(const nn::IExecution& execution, in executeSynchronously() argument
198 const auto result = execution.compute(nnDeadline); in executeSynchronously()
215 const nn::IExecution& execution, const std::vector<ndk::ScopedFileDescriptor>& waitFor, in executeFenced() argument
222 NN_TRY(execution.computeFenced(nnWaitFor, nnDeadline, nnDuration)); in executeFenced()
326 std::shared_ptr<IExecution>* execution) { in createReusableExecution() argument
336 *execution = ndk::SharedRefBase::make<Execution>(std::move(result).value()); in createReusableExecution()
340 Execution::Execution(nn::SharedExecution execution) : kExecution(std::move(execution)) { in Execution() argument
/hardware/interfaces/neuralnetworks/1.1/
DIDevice.hal66 * Creates a prepared model for execution.
69 * representations to a model for execution, possiblly including
95 * the shape of the tensors, which may only be known at execution time. As
104 * @param model The model to be prepared for execution.
105 * @param preference Indicates the intended execution behavior of a prepared
108 * preparing the model for execution and the prepared model
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/
DExecution.h76 std::shared_ptr<aidl_hal::IExecution> execution,
79 Execution(PrivateConstructorTag tag, std::shared_ptr<aidl_hal::IExecution> execution,
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_NV_device_generated_commands/
Dgeneratedcommands.adoc34 synchronized against the command execution.
36 against the command execution.

123456