| /third_party/mesa3d/src/gallium/frontends/rusticl/api/ |
| D | kernel.rs | 1 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 …]
|
| /third_party/mesa3d/src/freedreno/computerator/ |
| D | ir3_asm.cc | 7 * 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 …]
|
| D | main.cc | 7 * 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 40 uint8_t *end = ptr + sz - 3; in dump_float() 109 "Usage: %s [-dfgh]\n" in usage() 112 " -d, --disasm print disassembled shader\n" in usage() 113 " -f, --file=FILE read shader from file (instead of stdin)\n" in usage() 114 " -g, --groups=X,Y,Z use specified group size\n" in usage() 115 " -h, --help show this message\n" in usage() 116 " -p, --perfcntr=LIST sample specified performance counters " in usage() 135 for (int j = 0; j < group->num_countables; j++) { in setup_counter() [all …]
|
| D | a4xx.cc | 7 * 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 49 static struct kernel * 53 struct ir3_kernel *ir3_kernel = ir3_asm_assemble(a4xx_backend->compiler, in); in a4xx_assemble() 54 ir3_kernel->backend = b; in a4xx_assemble() 55 return &ir3_kernel->base; in a4xx_assemble() 59 a4xx_disassemble(struct kernel *kernel, FILE *out) in a4xx_disassemble() argument 61 ir3_asm_disassemble(to_ir3_kernel(kernel), out); in a4xx_disassemble() 65 cs_program_emit(struct fd_ringbuffer *ring, struct kernel *kernel) in cs_program_emit() argument 67 struct ir3_kernel *ir3_kernel = to_ir3_kernel(kernel); in cs_program_emit() [all …]
|
| /third_party/mindspore/mindspore-src/source/include/api/ |
| D | delegate.h | 5 * you may not use this file except in compliance with the License. 8 * http://www.apache.org/licenses/LICENSE-2.0 26 #include "include/api/kernel.h" 31 SCHEMA_INVALID = -1, /**< invalid version */ 36 using KernelIter = std::vector<kernel::Kernel *>::iterator; 43 DelegateModel(std::vector<kernel::Kernel *> *kernels, const std::vector<MSTensor> &inputs, in DelegateModel() 44 … const std::vector<MSTensor> &outputs, const std::map<kernel::Kernel *, const T *> &primitives, in DelegateModel() argument 51 /// \brief Get Primitive of kernel::Kernel. 53 /// \param[in] kernel kernel in DelegateModel kernels vector. 55 /// \return The Primitive of The kernel. [all …]
|
| /third_party/mindspore/mindspore-src/source/mindspore/ccsrc/runtime/graph_scheduler/actor/ |
| D | kernel_actor.h | 2 * Copyright 2021-2023 Huawei Technologies Co., Ltd 5 * you may not use this file except in compliance with the License. 8 * http://www.apache.org/licenses/LICENSE-2.0 33 #include "kernel/kernel.h" 41 using mindspore::kernel::Address; 42 using mindspore::kernel::KernelLaunchAddr; 43 using mindspore::kernel::KernelMod; 44 using mindspore::kernel::KernelTensor; 45 using mindspore::kernel::KernelTensorPtr; 60 // The kernel actor is used to receive the device tensors and control info to luanch kernel. [all …]
|
| /third_party/protobuf/rust/ |
| D | protobuf.rs | 1 // Protocol Buffers - Google's data interchange format 4 // Use of this source code is governed by a BSD-style 6 // https://developers.google.com/open-source/licenses/bsd 10 //! This file forwards to `shared.rs`, which exports a kernel-specific 11 //! `__runtime`. Rust Protobuf gencode actually depends directly on kernel 13 //! - To be able to use `protobuf` as a crate name for both cpp and upb kernels 15 //! - To make it more difficult to access internal-only items by default. 18 use protobuf_cpp as kernel; 21 use protobuf_upb as kernel; 23 pub use kernel::__public::*; [all …]
|
| /third_party/FreeBSD/ |
| D | UPDATING | 9 https://docs.freebsd.org/en/books/handbook/cutting-edge/#makeworld 16 14.2-RELEASE. 19 Clang, llvm, lld, lldb, compiler-rt, libc++, libunwind and openmp have 20 been upgraded to 18.1.6. It is important that you run `make delete-old` 29 could use it, but old binaries don't have this, so we default to 'no 42 non-compliant MTAs; please see the first 8.18.1 release note in 96 Move standard include files to the clibs-dev package and move clang 97 internal libraries and headers to clang and clang-dev. Upgrading systems 101 pkg upgrade -y FreeBSD-utilities 102 pkg upgrade -y FreeBSD-utilities-dev [all …]
|
| /third_party/mesa3d/.gitlab-ci/lava/ |
| D | lava-gitlab-ci.yml | 2 …REGISTRY_IMAGE}/alpine/x86_64_lava_ssh_client:${ALPINE_X86_64_LAVA_SSH_TAG}--${MESA_TEMPLATES_COMM… 5 .lava-test: 10 FDO_CI_CONCURRENT: 6 # should be replaced by per-machine definitions 11 # the dispatchers use this to cache data locally 12 LAVA_HTTP_CACHE_URI: "http://caching-proxy/cache/?uri=" 17 # per-job build artifacts 18 JOB_ROOTFS_OVERLAY_PATH: "${JOB_ARTIFACTS_BASE}/job-rootfs-overlay.tar.gz" 20 LAVA_S3_ARTIFACT_NAME: "mesa-${ARCH}-default-debugoptimized" 21 S3_ARTIFACT_NAME: "mesa-python-ci-artifacts" 28 - !reference [.download_s3, before_script] [all …]
|
| /third_party/liburing/ |
| D | README | 2 -------- 6 applications that don't need (or want) to deal with the full kernel 11 https://kernel.dk/io_uring.pdf 13 Subscribe to io-uring@vger.kernel.org for io_uring related discussions 14 and development for both kernel and userspace. The list is archived here: 16 https://lore.kernel.org/io-uring/ 19 kernel version dependency 20 -------------------------- 22 liburing itself is not tied to any specific kernel release, and hence it's 23 possible to use the newest liburing release even on older kernels (and vice [all …]
|
| /third_party/backends/doc/ |
| D | sane-usb.man | 1 .TH sane\-usb 5 "14 Jul 2008" "@PACKAGEVERSION@" "SANE Scanner Access Now Easy" 2 .IX sane\-usb 4 sane\-usb \- USB configuration tips for SANE 8 operating system kernel and using it with SANE. 10 This page applies to USB most backends and scanners, as they use the generic 14 backend need a special USB kernel driver. 17 This is a short HOWTO-like section. For the full details, read the following 34 Nothing is found even as root? Check that your kernel supports USB and that 40 another method to access USB devices: the kernel scanner driver. The kernel 42 removed from SANE at any time. In Linux, the kernel scanner driver has been [all …]
|
| /third_party/ltp/include/ |
| D | tst_taint.h | 1 // SPDX-License-Identifier: GPL-2.0-or-later 23 * tst_res(TFAIL, "kernel has issues"); 25 * tst_res(TPASS, "kernel seems to be fine"); 30 * The above code checks whether the kernel issued a warning (TST_TAINT_W) 33 * triggered a kernel bug. 35 * You do not need to use tst_taint_check() explicitly because it'll be called 37 * tst_test.taint_check in non-zero. 44 * This are all 17 flags that are present in kernel 4.15 45 * see kernel/panic.c in kernel sources 47 * Not all of them are valid in all kernel versions. [all …]
|
| /third_party/fsverity-utils/ |
| D | README.md | 1 # fsverity-utils 5 This is fsverity-utils, a set of userspace utilities for fs-verity. 6 fs-verity is a Linux kernel feature that does transparent on-demand 7 integrity/authenticity verification of the contents of read-only 9 file. It is similar to dm-verity, but implemented at the file level 10 rather than at the block device level. See the [kernel 11 documentation](https://www.kernel.org/doc/html/latest/filesystems/fsverity.html) 12 for more information about fs-verity, including which filesystems 15 fsverity-utils currently contains just one program, `fsverity`. The 16 `fsverity` program allows you to set up fs-verity protected files. [all …]
|
| /third_party/ltp/testcases/kdump/ |
| D | README | 2 ---------------------------- 10 3. Kdump kernel boots and saves a vmcore. 11 4. System reboots to 1st kernel. 16 The scripts make use of the crasher module for basic testing of kdump 17 and the new Linux Kernel Dump Test Module (LKDTM) for more involved 18 testing. LKDTM makes use of the kprobes infrastructure for inserting 19 crashpoints into the kernel at run-time. Thus the kernel need not be 24 ---------------------- 38 * kernel-kdump 39 * kernel-source [all …]
|
| /third_party/ltp/testcases/kdump/doc/ |
| D | README | 2 ---------------------------- 10 3. Kdump kernel boots and saves a vmcore. 11 4. System reboots to 1st kernel. 16 The scripts make use of the crasher module for basic testing of kdump 17 and the new Linux Kernel Dump Test Module (LKDTM) for more involved 18 testing. LKDTM makes use of the kprobes infrastructure for inserting 19 crashpoints into the kernel at run-time. Thus the kernel need not be 24 ---------------------- 38 * kernel-kdump 39 * kernel-source [all …]
|
| /third_party/mesa3d/.gitlab-ci/container/ |
| D | gitlab-ci.yml | 3 .incorporate-templates-commit: 5 FDO_DISTRIBUTION_TAG: "${MESA_IMAGE_TAG}--${MESA_TEMPLATES_COMMIT}" 7 .incorporate-base-tag+templates-commit: 9 …FDO_BASE_IMAGE: "${CI_REGISTRY_IMAGE}/${MESA_BASE_IMAGE}:${MESA_BASE_TAG}--${MESA_TEMPLATES_COMMIT… 10 FDO_DISTRIBUTION_TAG: "${MESA_IMAGE_TAG}--${MESA_BASE_TAG}--${MESA_TEMPLATES_COMMIT}" 12 .set-image: 14 - .incorporate-templates-commit 19 .set-image-base-tag: 21 - .set-image 22 - .incorporate-base-tag+templates-commit [all …]
|
| /third_party/libbpf/docs/ |
| D | libbpf_overview.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 libbpf is a C-based library containing a BPF loader that takes compiled BPF 8 object files and prepares and loads them into the Linux kernel. libbpf takes the 10 kernel hooks, allowing BPF application developers to focus only on BPF program 13 The following are the high-level features supported by libbpf: 15 * Provides high-level and low-level APIs for user space programs to interact 16 with BPF programs. The low-level APIs wrap all the bpf system call 17 functionality, which is useful when users need more fine-grained control 22 * Provides BPF-side APIS, including BPF helper definitions, BPF maps support, 24 * Supports BPF CO-RE mechanism, enabling BPF developers to write portable [all …]
|
| /third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/cpu/kernel/nnacl/kernel/ |
| D | convolution_winograd.c | 5 * you may not use this file except in compliance with the License. 8 * http://www.apache.org/licenses/LICENSE-2.0 17 #include "nnacl/kernel/convolution_winograd.h" 18 #include "nnacl/kernel/convolution_winograd_base.h" 20 #include "nnacl/kernel/convolution_winograd_avx.h" 23 #include "nnacl/kernel/convolution_winograd_sse.h" 26 #include "nnacl/kernel/convolution_winograd_arm64.h" 29 #include "nnacl/kernel/convolution_winograd_arm32.h" 33 ConvolutionWinogradBaseStruct *kernel = NULL; in SelectConvolutionWinograd() local 36 kernel = CreateConvWinogradAVX(conv_param); in SelectConvolutionWinograd() [all …]
|
| /third_party/libbpf/ |
| D | README.md | 2 …<source media="(prefers-color-scheme: dark)" srcset="assets/libbpf-logo-sideways-darkbg.png" width… 3 <img src="assets/libbpf-logo-sideways.png" width="40%"> 10 [](https://… 16 *Please use this Github repository for building and packaging libbpf 19 Libbpf *authoritative source code* is developed as part of [bpf-next Linux source 20 tree](https://kernel.googlesource.com/pub/scm/linux/kernel/git/bpf/bpf-next) under 22 libbpf changes should be sent to [BPF mailing list](http://vger.kernel.org/vger-lists.html#bpf), 23 please don't open PRs here unless you are changing Github-specific parts of libbpf 24 (e.g., Github-specific Makefile). 32 Please check out [libbpf-bootstrap](https://github.com/libbpf/libbpf-bootstrap) [all …]
|
| /third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/ascend/kernel/acl/ |
| D | acl_kernel_build.cc | 2 * Copyright 2022-2023 Huawei Technologies Co., Ltd 5 * you may not use this file except in compliance with the License. 8 * http://www.apache.org/licenses/LICENSE-2.0 16 #include "plugin/device/ascend/kernel/acl/acl_kernel_build.h" 17 #include "plugin/device/ascend/kernel/acl/acl_kernel_mod.h" 18 #include "plugin/device/ascend/kernel/acl/acl_kernel/getnext_kernel_mod.h" 19 #include "plugin/device/ascend/kernel/acl/acl_kernel/custom_op_kernel_mod.h" 23 #include "kernel/framework_utils.h" 27 namespace kernel { namespace 32 MS_LOG(INFO) << "Begin to create acl kernel module for primitive " << primitive->name(); in AclOpBuild() [all …]
|
| /third_party/rust/crates/nix/test/test_kmod/ |
| D | mod.rs | 1 use crate::*; 2 use std::fs::copy; 3 use std::path::PathBuf; 4 use std::process::Command; 5 use tempfile::{tempdir, TempDir}; 7 fn compile_kernel_module() -> (PathBuf, String, TempDir) { in compile_kernel_module() 31 // Return the relative path of the build kernel module in compile_kernel_module() 35 use nix::errno::Errno; 36 use nix::kmod::{delete_module, DeleteModuleFlags}; 37 use nix::kmod::{finit_module, init_module, ModuleInitFlags}; [all …]
|
| /third_party/musl/porting/uniproton/kernel/ |
| D | BUILD.gn | 1 # Copyright (c) 2020-2022 Huawei Device Co., Ltd. All rights reserved. 3 # Redistribution and use in source and binary forms, with or without modification, 23 # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 26 # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 29 import("//kernel/uniproton/uniproton.gni") 30 import("//third_party/optimized-routines/optimized-routines.gni") 33 libc = "musl-c" 34 libm = "musl-m" 51 "//kernel/uniproton/src/core/kernel/include", 52 "//kernel/uniproton/src/utility/lib/include", [all …]
|
| /third_party/libabigail/doc/manuals/ |
| D | kmidiff.rst | 7 ``kmidiff`` compares the binary Kernel Module Interfaces of two Linux 8 Kernel trees. The binary KMI is the interface that the Linux Kernel 10 result of the build of the Linux Kernel source tree. 16 And example of how to build your kernel if you want to compare it to 19 git clone -b v4.5 git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git linux/v4.5 24 build/modules sub-directory of the your kernel source tree: :: 30 Then construct a list of interfaces exported by the kernel, that you 33 cat > kmi-whitelist << EOF 43 kernel, you now have these two directories: ``linux/v4.5`` and ``linux/v4.6``. 52 --kmi-whitelist linux/v4.6/kmi-whitelist \ [all …]
|
| /third_party/ntfs-3g/include/ntfs-3g/ |
| D | param.h | 2 * param.h - Parameter values for ntfs-3g 4 * Copyright (c) 2009-2010 Jean-Pierre Andre 17 * along with this program (in the main directory of the NTFS-3G 19 * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 34 /* default security sub-authorities */ 36 DEFSECAUTH1 = -1153374643, /* 3141592653 */ 67 * Use of big write buffers 87 * Parameters for upper-case table 90 /* Create upper-case tables as defined by Windows 6.1 (Win7) */ 98 #define XATTRMAPPINGFILE ".NTFS-3G/XattrMapping" /* default mapping file */ [all …]
|
| /third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/ascend/kernel/akg/ |
| D | akg_utils.cc | 5 * you may not use this file except in compliance with the License. 8 * http://www.apache.org/licenses/LICENSE-2.0 17 #include "plugin/device/ascend/kernel/akg/akg_utils.h" 26 #include "kernel/framework_utils.h" 30 namespace kernel { namespace 42 if (func_info.second->handle_ != nullptr) { in ~KernelManager() 43 (void)dlclose(func_info.second->handle_); in ~KernelManager() 51 auto dso_path = bin_map->kernel_meta_path(); in GetFunctionAndKernelName() 57 void *KernelManager::GenFuncStub(const mindspore::kernel::KernelPack &kernel_pack, bool force_reloa… in GenFuncStub() 60 auto kernel = kernel_pack.GetKernel(); in GenFuncStub() local [all …]
|