Home
last modified time | relevance | path

Searched full:kernel (Results 1 – 25 of 5132) sorted by relevance

12345678910>>...206

/third_party/mindspore/mindspore/lite/
DBUILD.gn50 "src/cxx_api/kernel.cc",
327 "src/runtime/kernel/arm/base/argminmax_base.cc",
328 "src/runtime/kernel/arm/base/assert.cc",
329 "src/runtime/kernel/arm/base/call.cc",
330 "src/runtime/kernel/arm/base/carry_data.cc",
331 "src/runtime/kernel/arm/base/constant_of_shape.cc",
332 "src/runtime/kernel/arm/base/convolution_base.cc",
333 "src/runtime/kernel/arm/base/crop_base.cc",
334 "src/runtime/kernel/arm/base/detection_post_process_base.cc",
335 "src/runtime/kernel/arm/base/group_convolution_base.cc",
[all …]
/third_party/boost/boost/gil/extension/numeric/
Dconvolve.hpp13 #include <boost/gil/extension/numeric/kernel.hpp>
34 /// \brief Compute the cross-correlation of 1D kernel with the rows of an image
37 /// \tparam Kernel - TODO
41 /// \param kernel - TODO
49 typename Kernel,
55 Kernel const& kernel, in correlate_rows_impl() argument
61 BOOST_ASSERT(kernel.size() != 0); in correlate_rows_impl()
63 if(kernel.size() == 1) in correlate_rows_impl()
66 view_multiplies_scalar<PixelAccum>(src_view, *kernel.begin(), dst_view); in correlate_rows_impl()
86 if (width < static_cast<x_coord_t>(kernel.size())) in correlate_rows_impl()
[all …]
/third_party/mindspore/mindspore/lite/src/
Dlite_kernel_util.cc23 namespace mindspore::kernel { namespace
27 std::set<lite::Tensor *> LiteKernelUtil::AllOutTensor(const std::vector<kernel::LiteKernel *> &kern… in AllOutTensor()
37 std::vector<kernel::LiteKernel *> LiteKernelUtil::SubgraphInputNodes(const std::vector<kernel::Lite… in SubgraphInputNodes()
38 std::vector<kernel::LiteKernel *> input_nodes; in SubgraphInputNodes()
40 for (const auto &kernel : kernels) { in SubgraphInputNodes() local
41 MS_ASSERT(kernel != nullptr); in SubgraphInputNodes()
43 auto all_input_tensors = kernel->in_tensors(); in SubgraphInputNodes()
44 for (auto input : kernel->in_tensors()) { in SubgraphInputNodes()
54 if (kernel_is_input && !lite::IsContain(input_nodes, kernel)) { in SubgraphInputNodes()
55 input_nodes.push_back(kernel); in SubgraphInputNodes()
[all …]
Dscheduler.cc50 #include "src/runtime/kernel/arm/fp16/fp16_op_handler.h"
53 #include "src/runtime/kernel/opencl/opencl_subgraph.h"
58 #include "src/runtime/kernel/arm/base/partial_fusion.h"
67 kernel::SubGraphKernel *CreateCustomSubGraph(std::vector<kernel::LiteKernel *> &&input_kernels, in CreateCustomSubGraph()
68 std::vector<kernel::LiteKernel *> &&output_kernels, in CreateCustomSubGraph()
69 … const std::vector<kernel::LiteKernel *> &kernels, kernel::Kernel *kernel) { in CreateCustomSubGraph() argument
70 …auto sub_kernel = new (std::nothrow) kernel::CustomSubGraph(input_kernels, output_kernels, kernels… in CreateCustomSubGraph()
73 delete kernel; in CreateCustomSubGraph()
123 int CastKernelWeight(kernel::SubGraphType belong_subgraph_type, kernel::LiteKernel *kernel, bool su… in CastKernelWeight() argument
124 MS_ASSERT(kernel != nullptr); in CastKernelWeight()
[all …]
Dscheduler.h58 int Schedule(std::vector<kernel::LiteKernel *> *dst_kernels);
63 int CheckInputParam(std::vector<kernel::LiteKernel *> *dst_kernels);
71 // schedule a node to kernel according to context and kernels registered
72 …int HandleBuildinCpuKernelWeight(kernel::SubGraphType belong_subgraph_type, kernel::LiteKernel *ke…
73 kernel::LiteKernel *FindBackendKernel(const std::vector<Tensor *> &in_tensors,
77 … OpParameter *op_parameter, const kernel::KernelKey &desc, TypeId kernel_data_type,
78 kernel::LiteKernel **kernel);
79 int CheckCpuValid(std::vector<kernel::LiteKernel *> *dst_kernels);
84 … OpParameter *op_parameter, const kernel::KernelKey &desc, kernel::LiteKernel **kernel,
88 … const LiteGraph::Node *node, TypeId data_type, kernel::LiteKernel **kernel);
[all …]
/third_party/ltp/tools/
Drestore_kernel_faults_default.sh35 echo 0 > /sys/kernel/debug/fail_io_timeout/reject-end
36 echo 0 > /sys/kernel/debug/fail_io_timeout/reject-start
37 echo 4294967295 > /sys/kernel/debug/fail_io_timeout/require-end
38 echo 0 > /sys/kernel/debug/fail_io_timeout/require-start
39 echo 32 > /sys/kernel/debug/fail_io_timeout/stacktrace-depth
40 echo N > /sys/kernel/debug/fail_io_timeout/task-filter
41 echo 2 > /sys/kernel/debug/fail_io_timeout/verbose
42 echo 0 > /sys/kernel/debug/fail_io_timeout/space
43 echo 1 > /sys/kernel/debug/fail_io_timeout/times
44 echo 1 > /sys/kernel/debug/fail_io_timeout/interval
[all …]
/third_party/mindspore/mindspore/lite/src/train/
Dtrain_session.cc37 #include "src/runtime/kernel/arm/fp32_grad/convolution.h"
38 #include "src/runtime/kernel/arm/fp32/batchnorm_fp32.h"
97 for (auto kernel : this->train_kernels_) { in AllocWorkSpace()
98 if (workspace_size < static_cast<kernel::InnerKernel *>(kernel->kernel())->workspace_size()) { in AllocWorkSpace()
99 workspace_size = static_cast<kernel::InnerKernel *>(kernel->kernel())->workspace_size(); in AllocWorkSpace()
107 for (auto kernel : this->train_kernels_) { in AllocWorkSpace()
108 static_cast<kernel::InnerKernel *>(kernel->kernel())->set_workspace(workspace_); in AllocWorkSpace()
118 for (auto kernel : this->train_kernels_) { in FreeWorkSpace()
119 static_cast<kernel::InnerKernel *>(kernel->kernel())->FreeWorkspace(); in FreeWorkSpace()
175 int TrainSession::AllocTensors(const std::vector<kernel::LiteKernel *> &kernels) { in AllocTensors()
[all …]
/third_party/ltp/
DREADME.kernel_config2 Enable CODE COVERAGE for your Kernel:
4 1) Apply kernel-gcov patch(s) against the corresponding Kernel. They are available here:
5 http://ltp.cvs.sourceforge.net/viewvc/ltp/utils/analysis/gcov-kernel/linux-2.*.*-gcov.patch?view=lo…
6 2) Also enable the following options in your .config file before building the kernel
13 Enabling Kernel Configuration to test Containers/Namespaces
32 Enabling Kernel Configuration to test Controllers
44 Enabling Kernel Configuration to test Power Management features
66 Enabling Kernel Configuration to test filecaps security feature
70 Enabling Kernel Configuration to test SELinux security feature
72 Your Kernel should have been built with the following options to
[all …]
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/fp16/
Dconvolution_delegate_fp16.cc17 #include "src/runtime/kernel/arm/fp16/convolution_delegate_fp16.h"
19 #include "src/runtime/kernel/arm/fp16/convolution_fp16.h"
20 #include "src/runtime/kernel/arm/fp16/convolution_winograd_fp16.h"
21 #include "src/runtime/kernel/arm/fp16/convolution_1x1_fp16.h"
22 #include "src/runtime/kernel/arm/fp16/group_convolution_fp16.h"
23 #include "src/runtime/kernel/arm/fp16/convolution_depthwise_fp16.h"
24 #include "src/runtime/kernel/arm/fp16/convolution_depthwise_slidewindow_fp16.h"
25 #include "src/runtime/kernel/arm/fp16/convolution_depthwise_3x3_fp16.h"
26 #include "src/runtime/kernel/arm/base/group_convolution_creator.h"
32 using mindspore::kernel::KERNEL_ARCH;
[all …]
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/fp32/
Dconvolution_delegate_fp32.cc17 #include "src/runtime/kernel/arm/fp32/convolution_delegate_fp32.h"
19 #include "src/runtime/kernel/arm/fp32/convolution_fp32.h"
20 #include "src/runtime/kernel/arm/fp32/convolution_1x1_fp32.h"
21 #include "src/runtime/kernel/arm/fp32/convolution_winograd_fp32.h"
22 #include "src/runtime/kernel/arm/fp32/convolution_depthwise_fp32.h"
23 #include "src/runtime/kernel/arm/fp32/convolution_depthwise_slidewindow_fp32.h"
24 #include "src/runtime/kernel/arm/fp32/convolution_depthwise_slidewindow_x86_fp32.h"
25 #include "src/runtime/kernel/arm/base/group_convolution_creator.h"
26 #include "src/runtime/kernel/arm/fp32/group_convolution_fp32.h"
31 #include "src/runtime/kernel/arm/fp32/convolution_depthwise_3x3_fp32.h"
[all …]
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/int8/
Dconvolution_int8_creator.cc17 #include "src/runtime/kernel/arm/int8/convolution_int8_creator.h"
18 #include "src/runtime/kernel/arm/int8/convolution_int8.h"
19 #include "src/runtime/kernel/arm/int8/convolution_1x1_int8.h"
20 #include "src/runtime/kernel/arm/int8/convolution_3x3_int8.h"
21 #include "src/runtime/kernel/arm/int8/convolution_depthwise_int8.h"
22 #include "src/runtime/kernel/arm/int8/convolution_depthwise_3x3_int8.h"
23 #include "src/runtime/kernel/arm/int8/convolution_depthwise_slidewindow_int8.h"
24 #include "src/runtime/kernel/arm/int8/group_convolution_int8.h"
25 #include "src/runtime/kernel/arm/base/group_convolution_creator.h"
30 using mindspore::kernel::KERNEL_ARCH;
[all …]
/third_party/mindspore/mindspore/lite/include/registry/
Dopencl_runtime_wrapper.h46 /// \param[in] kernel Used to return the compiled kernel
48 /// \param[in] kernel_name Define OpenCl source kernel name.
49 /// \param[in] build_options_ext Define OpenCl kernel build options.
51 /// \return Status as a status identification of build Kernel
52 …Status BuildKernel(cl::Kernel *kernel, const std::string &program_name, const std::string &kernel_…
55 /// \brief Set kernel argument
57 /// \param[in] kernel Define OpenCl kernel.
58 /// \param[in] index Define OpenCl kernel argument index.
59 /// \param[in] value Define OpenCl kernel argument value pointer.
60 /// \param[in] mem_type Define OpenCl kernel argument value memory type.
[all …]
/third_party/mindspore/mindspore/lite/src/runtime/gpu/opencl/
Dopencl_executor.cc18 #include "src/runtime/kernel/opencl/utils.h"
24 … const std::vector<kernel::LiteKernel *> &kernels, const KernelCallBack &before, in Run()
33 … const std::vector<kernel::LiteKernel *> &kernels, const KernelCallBack &before, in RunOrTune()
41 for (auto *kernel : kernels) { in RunOrTune() local
42 MS_ASSERT(kernel); in RunOrTune()
44 callbackParam.node_name = kernel->name(); in RunOrTune()
45 callbackParam.node_type = kernel->type_str(); in RunOrTune()
47 …!before(TensorVectorCast(kernel->in_tensors()), TensorVectorCast(kernel->out_tensors()), callbackP… in RunOrTune()
48 MS_LOG(ERROR) << "run kernel before_callback failed, name: " << kernel->name(); in RunOrTune()
51 for (auto tensor : kernel->out_tensors()) { in RunOrTune()
[all …]
/third_party/flutter/skia/third_party/externals/spirv-tools/test/
Doperand_capabilities_test.cpp96 CASE1(EXECUTION_MODEL, ExecutionModelKernel, Kernel),
116 CASE1(MEMORY_MODEL, MemoryModelOpenCL, Kernel),
144 CASE1(EXECUTION_MODE, ExecutionModeLocalSizeHint, Kernel),
159 CASE1(EXECUTION_MODE, ExecutionModeVecTypeHint, Kernel),
160 CASE1(EXECUTION_MODE, ExecutionModeContractionOff, Kernel),
167 CASE1(EXECUTION_MODE, ExecutionModeInitializer, Kernel),
168 CASE1(EXECUTION_MODE, ExecutionModeFinalizer, Kernel),
212 CASE1(SAMPLER_ADDRESSING_MODE, SamplerAddressingModeNone, Kernel),
214 Kernel),
215 CASE1(SAMPLER_ADDRESSING_MODE, SamplerAddressingModeClamp, Kernel),
[all …]
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/mem_reuse/
Dmem_swap_manager.cc32 for (const auto &kernel : execution_order_) { in Init() local
33 // Parse topo order of kernel in Init()
34 (void)kernel_execution_info_.emplace(kernel.get(), kernel_index++); in Init()
36 auto kernel_mod = AnfAlgo::GetKernelMod(kernel); in Init()
40 size_t output_num = AnfAlgo::GetOutputTensorNum(kernel); in Init()
42 TensorInfo tensor_info = {output_sizes[output_idx], kernel, output_idx}; in Init()
47 // Parse topo order of user kernel in Init()
130 const AnfNodePtr &kernel = tensor_info.kernel_; in CheckDistanceBetweenKernels() local
131 auto &kernel_exec_info = SearchKernelExecutionInfo(kernel); in CheckDistanceBetweenKernels()
154 const AnfNodePtr &kernel = tensor_info.kernel_; in CheckDistanceBetweenKernelsWithIdx() local
[all …]
/third_party/mindspore/include/api/
Dkernel.h27 namespace mindspore::kernel {
28 /// \brief The Kernel class is used to define a MindSpore Kernel.
29 class MS_API Kernel {
31 Kernel() = default;
34 /// \param[in] inputs define the input tensors for kernel.
35 /// \param[in] outputs define the output tensors for kernel.
36 /// \param[in] primitive define the primitive of kernel generated by flatbuffers.
37 /// \param[in] ctx define the context for kernel.
38Kernel(const std::vector<mindspore::MSTensor> &inputs, const std::vector<mindspore::MSTensor> &out… in Kernel() function
44 virtual ~Kernel() = default;
[all …]
/third_party/ltp/testcases/kernel/mce-test/doc/cases/
Dsoft-inj_panic_npcc.txt29 * No warning or bug during kernel processing.
30 * MCE records collected via kernel panic log is same as reference ones.
31 * Kernel panic message is "Fatal Machine check"
38 * Test MCE handler logic for EIPV MCE in kernel space
44 * No warning or bug during kernel processing.
45 * MCE records collected via kernel panic log is same as reference ones.
46 * Kernel panic message is "Fatal Machine check"
47 * Exception message is "In kernel and no restart IP"
53 * Test MCE handler timeout logic for EIPV MCE in kernel space
64 * No warning or bug during kernel processing.
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DAMDGPUMetadata.cpp22 LLVM_YAML_IS_SEQUENCE_VECTOR(Kernel::Arg::Metadata)
23 LLVM_YAML_IS_SEQUENCE_VECTOR(Kernel::Metadata)
93 struct MappingTraits<Kernel::Attrs::Metadata> {
94 static void mapping(IO &YIO, Kernel::Attrs::Metadata &MD) { in mapping()
95 YIO.mapOptional(Kernel::Attrs::Key::ReqdWorkGroupSize, in mapping()
97 YIO.mapOptional(Kernel::Attrs::Key::WorkGroupSizeHint, in mapping()
99 YIO.mapOptional(Kernel::Attrs::Key::VecTypeHint, in mapping()
101 YIO.mapOptional(Kernel::Attrs::Key::RuntimeHandle, MD.mRuntimeHandle, in mapping()
107 struct MappingTraits<Kernel::Arg::Metadata> {
108 static void mapping(IO &YIO, Kernel::Arg::Metadata &MD) { in mapping()
[all …]
/third_party/spirv-tools/test/
Doperand_capabilities_test.cpp113 CASE1(EXECUTION_MODEL, ExecutionModelKernel, Kernel),
133 CASE1(MEMORY_MODEL, MemoryModelOpenCL, Kernel),
161 CASE1(EXECUTION_MODE, ExecutionModeLocalSizeHint, Kernel),
177 CASE1(EXECUTION_MODE, ExecutionModeVecTypeHint, Kernel),
178 CASE1(EXECUTION_MODE, ExecutionModeContractionOff, Kernel),
185 CASE1(EXECUTION_MODE, ExecutionModeInitializer, Kernel),
186 CASE1(EXECUTION_MODE, ExecutionModeFinalizer, Kernel),
217 CASE3(DIMENSIONALITY, Dim2D, Kernel, Shader, ImageMSArray),
231 CASE1(SAMPLER_ADDRESSING_MODE, SamplerAddressingModeNone, Kernel),
233 Kernel),
[all …]
/third_party/eudev/rules/
D50-udev-default.rules7 SUBSYSTEM=="virtio-ports", KERNEL=="vport*", ATTR{name}=="?*", SYMLINK+="virtio-ports/$attr{name}"
11 SUBSYSTEM=="rtc", KERNEL=="rtc0", SYMLINK+="rtc", OPTIONS+="link_priority=-100"
18 SUBSYSTEM=="tty", KERNEL=="ptmx", GROUP="tty", MODE="0666"
19 SUBSYSTEM=="tty", KERNEL=="tty", GROUP="tty", MODE="0666"
20 SUBSYSTEM=="tty", KERNEL=="tty[0-9]*", GROUP="tty", MODE="0620"
21 SUBSYSTEM=="tty", KERNEL=="sclp_line[0-9]*", GROUP="tty", MODE="0620"
22 SUBSYSTEM=="tty", KERNEL=="ttysclp[0-9]*", GROUP="tty", MODE="0620"
23 SUBSYSTEM=="tty", KERNEL=="3270/tty[0-9]*", GROUP="tty", MODE="0620"
24 SUBSYSTEM=="vc", KERNEL=="vcs*|vcsa*", GROUP="tty"
25 KERNEL=="tty[A-Z]*[0-9]|ttymxc[0-9]*|pppox[0-9]*|ircomm[0-9]*|noz[0-9]*|rfcomm[0-9]*", GROUP="dialo…
[all …]
/third_party/protobuf/js/experimental/runtime/kernel/
Dmessage_set.js20 const Kernel = goog.require('protobuf.runtime.Kernel'); constant
37 * @param {!Kernel} kernel
40 function createItemMap(kernel) { argument
43 for (const item of kernel.getRepeatedGroupIterable(
51 writeItemMap(kernel, itemMap);
57 * @param {!Kernel} kernel
60 function writeItemMap(kernel, itemMap) { argument
61 kernel.setRepeatedGroupIterable(MSET_GROUP_FIELD_NUMBER, itemMap.values());
70 * @param {!Kernel} kernel
73 static fromKernel(kernel) { argument
[all …]
/third_party/skia/third_party/externals/spirv-tools/test/
Doperand_capabilities_test.cpp113 CASE1(EXECUTION_MODEL, ExecutionModelKernel, Kernel),
133 CASE1(MEMORY_MODEL, MemoryModelOpenCL, Kernel),
161 CASE1(EXECUTION_MODE, ExecutionModeLocalSizeHint, Kernel),
177 CASE1(EXECUTION_MODE, ExecutionModeVecTypeHint, Kernel),
178 CASE1(EXECUTION_MODE, ExecutionModeContractionOff, Kernel),
185 CASE1(EXECUTION_MODE, ExecutionModeInitializer, Kernel),
186 CASE1(EXECUTION_MODE, ExecutionModeFinalizer, Kernel),
218 CASE3(DIMENSIONALITY, Dim2D, Kernel, Shader, ImageMSArray),
232 CASE1(SAMPLER_ADDRESSING_MODE, SamplerAddressingModeNone, Kernel),
234 Kernel),
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/
Doperand_capabilities_test.cpp113 CASE1(EXECUTION_MODEL, ExecutionModelKernel, Kernel),
133 CASE1(MEMORY_MODEL, MemoryModelOpenCL, Kernel),
161 CASE1(EXECUTION_MODE, ExecutionModeLocalSizeHint, Kernel),
177 CASE1(EXECUTION_MODE, ExecutionModeVecTypeHint, Kernel),
178 CASE1(EXECUTION_MODE, ExecutionModeContractionOff, Kernel),
185 CASE1(EXECUTION_MODE, ExecutionModeInitializer, Kernel),
186 CASE1(EXECUTION_MODE, ExecutionModeFinalizer, Kernel),
218 CASE3(DIMENSIONALITY, Dim2D, Kernel, Shader, ImageMSArray),
232 CASE1(SAMPLER_ADDRESSING_MODE, SamplerAddressingModeNone, Kernel),
234 Kernel),
[all …]
/third_party/boost/libs/compute/test/
Dtest_kernel.cpp15 #include <boost/compute/kernel.hpp>
27 compute::kernel foo = compute::kernel::create_with_source( in BOOST_AUTO_TEST_CASE()
32 compute::kernel bar = compute::kernel::create_with_source( in BOOST_AUTO_TEST_CASE()
40 compute::kernel foo = compute::kernel::create_with_source( in BOOST_AUTO_TEST_CASE()
45 compute::kernel bar = compute::kernel::create_with_source( in BOOST_AUTO_TEST_CASE()
50 compute::kernel baz = compute::kernel::create_with_source( in BOOST_AUTO_TEST_CASE()
65 compute::kernel foo = in BOOST_AUTO_TEST_CASE()
66 compute::kernel::create_with_source(source, "foo", context); in BOOST_AUTO_TEST_CASE()
93 compute::kernel kernel = program.create_kernel("sum"); in BOOST_AUTO_TEST_CASE() local
98 kernel.get_work_group_info<ulong_>(device, CL_KERNEL_LOCAL_MEM_SIZE); in BOOST_AUTO_TEST_CASE()
[all …]
/third_party/boost/boost/compute/
Dkernel.hpp39 /// \class kernel
40 /// \brief A compute kernel.
43 class kernel class
46 /// Creates a null kernel object.
47 kernel() in kernel() function in boost::compute::kernel
52 /// Creates a new kernel object for \p kernel. If \p retain is
53 /// \c true, the reference count for \p kernel will be incremented.
54 explicit kernel(cl_kernel kernel, bool retain = true) in kernel() argument
55 : m_kernel(kernel) in kernel()
62 /// Creates a new kernel object with \p name from \p program.
[all …]

12345678910>>...206