Home
last modified time | relevance | path

Searched +full:use +full:- +full:kernel (Results 1 – 25 of 1284) sorted by relevance

12345678910>>...52

/external/intel-media-driver/media_softlet/agnostic/common/vp/hal/feature_manager/
Dvp_kernelset.cpp1 /* Copyright (c) 2020-2022, Intel Corporation
6 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
18 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
23 //! \brief The header file of the base class of kernel set
24 //! \details The kernel set will include kernel generation from binary.
42 m_pKernelPool = &hwInterface->m_vpPlatformInterface->GetKernelPool(); in VpKernelSet()
45 …US VpKernelSet::GetKernelInfo(std::string kernelName, uint32_t kuid, uint32_t& size, void*& kernel) in GetKernelInfo() argument
49 auto it = m_pKernelPool->find(kernelName); in GetKernelInfo()
51 if (m_pKernelPool->end() == it) in GetKernelInfo()
56 Kdll_State* kernelState = it->second.GetKdllState(); in GetKernelInfo()
[all …]
/external/mesa3d/src/gallium/frontends/rusticl/api/
Dkernel.rs1 use crate::api::event::create_and_queue;
2 use crate::api::icd::*;
3 use crate::api::util::*;
4 use crate::core::device::*;
5 use crate::core::event::*;
6 use crate::core::kernel::*;
7 use crate::core::memory::*;
8 use crate::core::program::*;
9 use crate::core::queue::*;
11 use mesa_rust_util::ptr::*;
[all …]
/external/arm-trusted-firmware/docs/plat/
Drpi3.rst4 The `Raspberry Pi 3`_ is an inexpensive single-board computer that contains four
5 Arm Cortex-A53 cores.
7 The following instructions explain how to use this port of the TF-A with the
10 officially supported kernel is a AArch32 kernel. This doesn't mean that this
11 port of TF-A can't boot a AArch64 kernel. The `Linux tree fork`_ maintained by
13 `AArch64 kernel build instructions`_.
16 which is available from both the Non-secure and Secure worlds. This port
18 elements like PSCI to support the Linux kernel.
21 ------
34 - If a file called ``kernel8.img`` is located on the ``boot`` partition of the
[all …]
/external/trusty/arm-trusted-firmware/docs/plat/
Drpi3.rst4 The `Raspberry Pi 3`_ is an inexpensive single-board computer that contains four
5 Arm Cortex-A53 cores.
7 The following instructions explain how to use this port of the TF-A with the
10 officially supported kernel is a AArch32 kernel. This doesn't mean that this
11 port of TF-A can't boot a AArch64 kernel. The `Linux tree fork`_ maintained by
13 `AArch64 kernel build instructions`_.
16 which is available from both the Non-secure and Secure worlds. This port
18 elements like PSCI to support the Linux kernel.
21 ------
34 - If a file called ``kernel8.img`` is located on the ``boot`` partition of the
[all …]
/external/ComputeLibrary/docs/contributor_guide/
Dimplementation_topics.dox2 /// Copyright (c) 2017-2021 Arm Limited.
4 /// SPDX-License-Identifier: MIT
9 /// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
21 /// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
35 - max[n].start() <= sub[n].start() < max[n].end()
36 - sub[n].start() < sub[n].end() <= max[n].end()
37 - max[n].step() == sub[n].step()
38 - (sub[n].start() - max[n].start()) % max[n].step() == 0
39 - (sub[n].end() - sub[n].start()) % max[n].step() == 0
49 // Implicitly initializes the CLKernelLibrary to use ./cl_kernels as location for OpenCL kernels fi…
[all …]
/external/executorch/docs/source/
Dkernel-library-custom-aten-kernel.md1 # Kernel Registration
4-overview.md), we lower the operators in the dialect to the _out variants_ of the [core ATen opera…
6 ## Kernel Libraries
7 ### First-party kernel libraries:
9kernel library](https://github.com/pytorch/executorch/tree/main/kernels/portable)** is the in-hous…
11kernel library](https://github.com/pytorch/executorch/tree/main/kernels/optimized)** specializes o…
13kernel library](https://github.com/pytorch/executorch/tree/main/kernels/quantized)** implements op…
15 ### Custom kernel libraries:
17kernel library can be viewed as a good example. We have optimized [`add.out`](https://github.com/p…
18 1. combining kernel libraries and define fallback kernels;
[all …]
Dkernel-library-overview.md1Kernel Library and the Optimized Kernel Library, which are the default kernel libraries shipped wi…
3 # Overview of ExecuTorch’s Kernel Libraries
5kernel libraries that contain implementations of the operators required by their ExecuTorch progra…
7kernel library is simply a collection of ATen operator implementations that follow a common theme …
9 ExecuTorch ships with two kernel libraries by default: the **Portable Kernel Library** and the **Op…
11 ## Portable Kernel Library
13 The Portable Kernel Library is in a sense the “reference” kernel library that is used by ExecuTorch…
20 …e ExecuTorch runtime; operator implementations should not use any external dependencies, or use an…
22kernel library for ExecuTorch, the Portable Kernel Library aims to have a high degree of operator …
24Kernel Library primarily aims to provide easily accessible operator implementations that will “jus…
[all …]
/external/pytorch/aten/src/ATen/core/op_registration/
Dop_registration.h51 * > .kernel<my_kernel_cpu>(DispatchKey::CPU));
70 // internal-only for registering stack based kernels
72 Options&& kernel(DispatchKey dispatch_key) && { in kernel() function
73 …return std::move(*this).kernel(dispatch_key, KernelFunction::makeFromBoxedFunction<kernel_func>(),… in kernel()
76 // internal-only for registering stack based catch-all kernels
79 …return std::move(*this).kernel(std::nullopt, KernelFunction::makeFromBoxedFunction<kernel_func>(),… in catchAllKernel()
90 * Use this to specify the schema for an operator. You can also specify
92 * schema be inferred from the kernel function.
100 * > .kernel<my_kernel_cpu>(DispatchKey::CPU));
106 * > .schema("my_op(Tensor a) -> Tensor")
[all …]
DREADME.md3 …ant to write a new operator or a new kernel for an existing operator. How do you do that and what …
7 …functions.yaml`. Just add an entry there and write the corresponding C++ kernel function. It’s ver…
9 ### So when should you **not** use `native_functions.yaml`?
11 There’s four main use cases
18 For these use cases, the custom operator API is the better solution.
26use `torch::autograd::Function` to implement autograd ([example](https://github.com/pytorch/pytorc…
30 So, you’ve read all above but still want to use the custom operator API? Great. Here’s how you do i…
36 This is probably the most simple way to write an operator. Just write a kernel function and registe…
43 .kernel<decltype(my_kernel_cpu), &my_kernel_cpu>(CPU()));
46 It is recommended to put your kernel into an anonymous namespace because that allows for better lin…
[all …]
/external/coreboot/src/arch/arm64/
Dfit_payload.c1 /* SPDX-License-Identifier: GPL-2.0-or-later */
37 /* Returns true if decompressing was successful and it looks like a kernel. */
42 switch (node->compression) { in decompress_kernel_header()
44 memcpy(scratch.raw, node->data, sizeof(scratch.raw)); in decompress_kernel_header()
47 ulzman(node->data, node->size, in decompress_kernel_header()
51 ulz4fn(node->data, node->size, in decompress_kernel_header()
64 printk(BIOS_ERR, "Invalid kernel magic: %#.8x\n != %#.8x\n", in decompress_kernel_header()
72 * endianness of the kernel. Where image_size is non-zero image_size is in decompress_kernel_header()
73 * little-endian and must be respected. Where image_size is zero, in decompress_kernel_header()
89 * memory as possible free for use by the kernel immediately after the in get_kernel_size()
[all …]
/external/pytorch/aten/src/ATen/core/dispatch/
DOperatorEntry.cpp40 …ema& from_def_, const std::string& from_def_debug, const KernelFunction& kernel, const FunctionSch… in checkSchema() argument
42 FunctionSchema from_def = from_def_.cloneWithRealTypes(kernel.isValidSymUnboxed()); in checkSchema()
47 … "Inferred operator schema for a C++ kernel function doesn't match the expected function schema.\n" in checkSchema()
59 static AnnotatedKernel kernel; in missingKernel() local
60 return kernel; in missingKernel()
64 static AnnotatedKernel kernel( in ambiguousAutogradOtherKernel() local
66 return kernel; in ambiguousAutogradOtherKernel()
71 …if (C10_UNLIKELY(sym_cpp_signature_.has_value() && (call_signature != sym_cpp_signature_->signatur… in assertSignatureIsCorrect()
75 if (C10_UNLIKELY(cpp_signature_.has_value() && (call_signature != cpp_signature_->signature))) { in assertSignatureIsCorrect()
83 for (const auto& kernel : kernels_) { in registerSchema() local
[all …]
/external/liburing/man/
Dio_uring_setup.21 .\" Copyright (C) 2019 Jens Axboe <axboe@kernel.dk>
5 .\" SPDX-License-Identifier: LGPL-2.0-or-later
7 .TH io_uring_setup 2 2019-01-29 "Linux" "Linux Programmer's Manual"
9 io_uring_setup \- setup a context for performing asynchronous I/O
26 completion queues are shared between userspace and the kernel, which
30 is used by the application to pass options to the kernel, and by the
31 kernel to convey information about the ring buffers.
61 Perform busy-waiting for an I/O completion, as opposed to getting
64 this to work. Busy-waiting provides lower latency, but may consume
71 It is illegal to mix and match polled and non-polled I/O on an io_uring
[all …]
/external/intel-media-driver/media_driver/agnostic/gen9_bxt/codec/hal/
Dcodechal_encode_hevc_g9_bxt.cpp7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
24 //! \brief HEVC dual-pipe encoder for GEN9 BXT.
31 //! HEVC encoder kernel header structure for G9 BXT
36 …ODECHAL_KERNEL_HEADER Hevc_LCUEnc_I_2xDownSampling_Kernel; //!< 2x down sampling kernel
37 …EL_HEADER Hevc_LCUEnc_I_32x32_PU_ModeDecision_Kernel; //!< Intra 32x32 PU mode decision kernel
38 …_HEADER Hevc_LCUEnc_I_16x16_PU_SADComputation_Kernel; //!< Intra 16x16 PU SAD computation kernel
39 …EL_HEADER Hevc_LCUEnc_I_16x16_PU_ModeDecision_Kernel; //!< Intra 16x16 PU mode decision kernel
40 …RNEL_HEADER Hevc_LCUEnc_I_8x8_PU_Kernel; //!< Intra 8x8 PU mode decision kernel
41 …EADER Hevc_LCUEnc_I_8x8_PU_FMode_Kernel; //!< Intra 8x8 PU final mode decision kernel
[all …]
/external/ComputeLibrary/src/core/CL/
DICLKernel.h2 * Copyright (c) 2016-2022 Arm Limited.
4 * SPDX-License-Identifier: MIT
9 * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
21 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
96 /** Configure the kernel's window and local workgroup size hint.
99 * @param[in] lws_hint Local-Workgroup-Size to use.
100 * @param[in] wbsm_hint (Optional) Workgroup-Batch-Size-Modifier to use.
107 /** Configure the kernel's window and tuning parameters hints.
110 * @param[in] tuning_params_hint (Optional) Tuning parameters to use.
130 /** Returns a reference to the OpenCL kernel of this object.
[all …]
/external/autotest/client/common_lib/cros/
Dkernel_utils.py2 # Use of this source code is governed by a BSD-style license that can be
12 _KERNEL_A = {'name': 'KERN-A', 'kernel': 2, 'root': 3}
13 _KERNEL_B = {'name': 'KERN-B', 'kernel': 4, 'root': 5}
17 # Time to wait for new kernel to be marked successful after auto update.
29 @param host: The host to use in a server test. None to use utils.run.
37 def _cgpt(flag, kernel, host=None): argument
42 @param kernel: The kernel we want to interact with.
46 rootdev = _run(['rootdev','-s', '-d'], host).stdout.strip()
47 return int(_run(['cgpt', 'show', '-n', '-i', str(kernel['kernel']), flag,
52 Returns the (<active>, <inactive>) kernel state as a pair.
[all …]
/external/rust/android-crates-io/crates/criterion/src/stats/univariate/kde/
Dmod.rs1 //! Kernel density estimation
3 pub mod kernel; module
5 use self::kernel::Kernel;
6 use crate::stats::float::Float;
7 use crate::stats::univariate::Sample;
9 use rayon::prelude::*;
11 /// Univariate kernel density estimator
15 K: Kernel<A>,
18 kernel: K, field
25 K: Kernel<A>,
[all …]
/external/vboot_reference/scripts/keygeneration/
Dcreate_new_keys.sh3 # Use of this source code is governed by a BSD-style license that can be
6 # Generate .vbpubk and .vbprivk pairs for use by developer builds. These should
18 --android Also generate android keys
19 --uefi Also generate UEFI keys
20 --8k Use 8k keys instead of 4k (enables options below)
21 --8k-root Use 8k key size for the root key
22 --8k-recovery Use 8k key size for the recovery key
23 --8k-recovery-kernel Use 8k key size for the recovery kernel data
24 --8k-installer-kernel Use 8k key size for the installer kernel data
25 --key-name <name> Name of the keyset (for key.versions)
[all …]
/external/executorch/kernels/test/custom_kernel_example/
DREADME.md3 … an example about how to use the kernel library framework to automatically test an ATen-compliant …
5 - my_functions.yaml: contains the op for my custom kernel. Contains only relu for now.
6 - op_relu.cpp: the impl for my custom kernel. The code is copied from portable kernel.
7 - targets.bzl: defines the op library and the ET codegen generated lib for the kernel.
8 - tests.bzl: defines the new targets needed to invoke tests from kernel library framework to test m…
12 To clarify, we don't need a separate bzl file for it. We can use targets.bzl and add targets there …
18 - Step 1: Define the function header wrapper in executorch/kernels/test/targets.bzl, like
20 … generally `codegen_function_header_wrapper("<path-to-your-kernel>/<your-kernel-name>", "<your-ker…
24 - Step 2: Use the helper to produce the supported feature list for tests.
33 - Step 3: Use the helper generated_op_test to re-use existing tests
/external/ComputeLibrary/arm_compute/runtime/CL/
DICLTuner.h2 * Copyright (c) 2017-2020, 2022 Arm Limited.
4 * SPDX-License-Identifier: MIT
9 * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
21 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
39 /** Tune OpenCL kernel statically
41 * @note Tuning is performed using only kernel and tensor metadata,
44 * @param[in] kernel Kernel to tune
46 virtual void tune_kernel_static(ICLKernel &kernel) = 0;
47 /** Tune OpenCL kernel dynamically
49 …* @note Tuning requires memory to be available on all kernel tensors and objects in order to be pe…
[all …]
DCLTuner.h2 * Copyright (c) 2017-2022 Arm Limited.
4 * SPDX-License-Identifier: MIT
9 * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
21 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
78 /** Manually add tuning parameters for a kernel
80 * @param[in] kernel_id Unique identifiant of the kernel
81 * @param[in] optimal_tuning_params Optimal tuning parameters to use for the given kernel
97 /** Set the OpenCL kernel event
99 … * @note The interceptor can use this function to store the event associated to the OpenCL kernel
101 * @param[in] kernel_event The OpenCL kernel event
[all …]
/external/mesa3d/src/freedreno/computerator/
Dir3_asm.cc7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
20 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
32 struct ir3_kernel *kernel = (struct ir3_kernel *)calloc(1, sizeof(*kernel)); in ir3_asm_assemble() local
33 struct ir3_shader *shader = ir3_parse_asm(c, &kernel->info, in); in ir3_asm_assemble()
35 errx(-1, "assembler failed"); in ir3_asm_assemble()
36 struct ir3_shader_variant *v = shader->variants; in ir3_asm_assemble()
38 kernel->v = v; in ir3_asm_assemble()
39 kernel->bin = v->bin; in ir3_asm_assemble()
41 kernel->base.local_size[0] = v->local_size[0]; in ir3_asm_assemble()
42 kernel->base.local_size[1] = v->local_size[1]; in ir3_asm_assemble()
[all …]
/external/OpenCL-CTS/test_conformance/api/
Dtest_kernels.cpp5 // you may not use this file except in compliance with the License.
8 // http://www.apache.org/licenses/LICENSE-2.0
86 cl_kernel kernel; in test_get_kernel_info() local
93 …if( create_single_kernel_helper( context, &program, &kernel, 1, sample_single_test_kernel, "sample… in test_get_kernel_info()
95 return -1; in test_get_kernel_info()
98 error = clGetKernelInfo( kernel, CL_KERNEL_FUNCTION_NAME, 0, NULL, &paramSize ); in test_get_kernel_info()
99 test_error( error, "Unable to get kernel function name param size" ); in test_get_kernel_info()
102 …log_error( "ERROR: Kernel function name param returns invalid size (expected %d, got %d)\n", (int)… in test_get_kernel_info()
103 return -1; in test_get_kernel_info()
106 error = clGetKernelInfo( kernel, CL_KERNEL_FUNCTION_NAME, sizeof( name ), name, NULL ); in test_get_kernel_info()
[all …]
/external/OpenCL-CTS/test_conformance/math_brute_force/
Dcommon.cpp5 // you may not use this file except in compliance with the License.
8 // http://www.apache.org/licenses/LICENSE-2.0
56 void EmitDefineType(std::ostringstream &kernel, const char *name, in EmitDefineType() argument
59 kernel << "#define " << name << " " << GetTypeName(type) in EmitDefineType()
61 kernel << "#define " << name << "_SCALAR " << GetTypeName(type) << '\n'; in EmitDefineType()
64 void EmitDefineUndef(std::ostringstream &kernel, const char *name, in EmitDefineUndef() argument
67 kernel << "#define " << name << " " << GetUndefValue(type) << '\n'; in EmitDefineUndef()
70 void EmitEnableExtension(std::ostringstream &kernel, in EmitEnableExtension() argument
91 if (needsFp64) kernel << "#pragma OPENCL EXTENSION cl_khr_fp64 : enable\n"; in EmitEnableExtension()
100 options << " -cl-denorms-are-zero"; in GetBuildOptions()
[all …]
/external/bcc/man/man8/
Dstackcount.81 .TH stackcount 8 "2016-01-14" "USER COMMANDS"
3 stackcount \- Count function calls and their stack traces. Uses Linux eBPF/bcc.
5 .B stackcount [\-h] [\-p PID] [\-c CPU] [\-i INTERVAL] [\-D DURATION] [\-T]
6 [\-r] [\-s] [\-P] [\-K] [\-U] [\-v] [\-d] [\-f] [\-\-debug] pattern
9 stack trace, kernel stack and user stack, summarized in-kernel for efficiency.
11 unique stack traces, and their occurrence counts. In addition to kernel and
12 user functions, kernel tracepoints and USDT tracepoint are also supported.
15 If you'd prefer to use regular expressions, use the \-r option.
24 \-h
27 \-r
[all …]
/external/bcc/tools/
Dreset-trace_example.txt1 Demonstrations of reset-trace, for Linux bcc/BPF.
4 You will probably never need this tool. If you kill -9 a bcc tool (plus other
5 signals, like SIGTERM), or if a bcc tool crashes, then kernel tracing can be
6 left in a semi-enabled state. It's not as bad as it sounds: there may just be
14 /sys/kernel/debug/tracing: kprobe_events, uprobe_events, trace_pipe.
16 a note is printed. All tracing files can be reset with -F for force, but this
21 # ./reset-trace.sh
27 You can use -v to see what it does:
29 # ./reset-trace.sh -v
32 Checking /sys/kernel/debug/tracing/kprobe_events
[all …]

12345678910>>...52