Home
last modified time | relevance | path

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

12345678910>>...57

/third_party/mindspore/patches/
D0033-support-fp16-for-arm64-arch.patch19 "src/runtime/js_api:mindsporelite_napi"
23 "src/runtime/kernel/cpu/fp32/batch_to_space_fp32.cc",
24 "src/runtime/kernel/cpu/fp32/bias_fp32.cc",
25 "src/runtime/kernel/cpu/fp32/broadcast_to_fp32.cc",
26 - "src/runtime/kernel/cpu/fp32/cast_for_x86_fp16.cc",
27 "src/runtime/kernel/cpu/fp32/cast_fp32.cc",
28 "src/runtime/kernel/cpu/fp32/convolution_1x1_fp32.cc",
29 "src/runtime/kernel/cpu/fp32/convolution_delegate_fp32.cc",
31 "src/runtime/kernel/cpu/fp32/custom_gru_fp32.cc",
35 + cpu_kernel_sources += [ "src/runtime/kernel/cpu/fp32/cast_for_x86_fp16.cc" ]
[all …]
D0017-support-build-training-lib.patch9 .../lite/src/runtime/kernel/cpu/BUILD.gn | 226 -----------------
11 delete mode 100644 mindspore/lite/src/runtime/kernel/cpu/BUILD.gn
85 "src/runtime/js_api:mslite"
91 "src/runtime/cxx_api/cell.cc",
92 "src/runtime/cxx_api/context.cc",
94 "src/runtime/kernel/cpu/fp32/unstack_fp32.cc",
95 "src/runtime/kernel/cpu/fp32/where_fp32.cc",
96 "src/runtime/kernel/cpu/fp32/zeroslike_fp32.cc",
97 + "src/runtime/kernel/cpu/fp32/oneslike_fp32.cc",
98 + "src/runtime/kernel/cpu/fp32/custom_gru_fp32.cc",
[all …]
D0007-support-third-party-model-in-mslite-runtime.patch18 .../lite/src/runtime/cxx_api/converters.cc | 10 +++
19 .../lite/src/runtime/cxx_api/converters.h | 1 +
20 .../src/runtime/delegate/nnrt/CMakeLists.txt | 27 ++-----
22 .../runtime/delegate/nnrt/nnrt_delegate.cc | 13 ++--
24 .../src/runtime/delegate/nnrt/nnrt_stub.cc | 78 +++++++++++++++++++
25 mindspore/lite/src/runtime/infer_manager.cc | 3 +-
26 mindspore/lite/src/runtime/inner_context.cc | 12 ++-
27 .../lite/src/runtime/kernel/cpu/BUILD.gn | 1 +
28 .../runtime/kernel/cpu/base/custom_base.cc | 46 +++++++++++
29 .../src/runtime/kernel/cpu/base/custom_base.h | 43 ++++++++++
[all …]
D0021-js-namespace-bugfix.patch8 mindspore/lite/src/runtime/js_api/BUILD.gn | 2 +-
9 mindspore/lite/src/runtime/js_api/native_module_ohos_ms.cc | 2 +-
20 - "src/runtime/js_api:mindspore_lite_napi"
21 + "src/runtime/js_api:mindsporelite_napi"
25 diff --git a/mindspore/lite/src/runtime/js_api/BUILD.gn b/mindspore/lite/src/runtime/js_api/BUILD.gn
27 --- a/mindspore/lite/src/runtime/js_api/BUILD.gn
28 +++ b/mindspore/lite/src/runtime/js_api/BUILD.gn
38 diff --git a/mindspore/lite/src/runtime/js_api/native_module_ohos_ms.cc b/mindspore/lite/src/runtim…
40 --- a/mindspore/lite/src/runtime/js_api/native_module_ohos_ms.cc
41 +++ b/mindspore/lite/src/runtime/js_api/native_module_ohos_ms.cc
D0026-js-buffer-add-bugfix.patch7 mindspore/lite/src/runtime/js_api/mslite_model_napi.cc | 2 +-
8 mindspore/lite/src/runtime/js_api/mstensor_napi.cc | 2 +-
11 diff --git a/mindspore/lite/src/runtime/js_api/mslite_model_napi.cc b/mindspore/lite/src/runtime/js…
13 --- a/mindspore/lite/src/runtime/js_api/mslite_model_napi.cc
14 +++ b/mindspore/lite/src/runtime/js_api/mslite_model_napi.cc
24 diff --git a/mindspore/lite/src/runtime/js_api/mstensor_napi.cc b/mindspore/lite/src/runtime/js_api…
26 --- a/mindspore/lite/src/runtime/js_api/mstensor_napi.cc
27 +++ b/mindspore/lite/src/runtime/js_api/mstensor_napi.cc
/third_party/jsframework/
DBUILD.gn34 js_framework = "//third_party/jsframework/runtime"
73 "runtime/main/app/App.ts",
74 "runtime/main/app/bundle.ts",
75 "runtime/main/app/helper.ts",
76 "runtime/main/app/index.ts",
77 "runtime/main/app/map.ts",
80 "runtime/main/extend/dpi/Dpi.ts",
81 "runtime/main/extend/dpi/index.ts",
82 "runtime/main/extend/i18n/I18n.ts",
83 "runtime/main/extend/i18n/index.ts",
[all …]
/third_party/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DUtils.java43 import org.jruby.runtime.Block;
44 import org.jruby.runtime.ThreadContext;
45 import org.jruby.runtime.builtin.IRubyObject;
64 return context.runtime.newSymbol(typeName.replace("TYPE_", "").toLowerCase()); in fieldTypeToRuby()
69 Ruby runtime = context.runtime; in checkType() local
77 throw runtime.newTypeError("Expected number type for integral field."); in checkType()
90 num2ulong(context.runtime, value); in checkType()
97 throw runtime.newTypeError("Expected number type for float field."); in checkType()
101 throw runtime.newTypeError("Expected number type for double field."); in checkType()
105 throw runtime.newTypeError("Invalid argument for boolean field."); in checkType()
[all …]
DRubyMessageBuilderContext.java39 import org.jruby.runtime.Binding;
40 import org.jruby.runtime.Block;
41 import org.jruby.runtime.ObjectAllocator;
42 import org.jruby.runtime.ThreadContext;
43 import org.jruby.runtime.builtin.IRubyObject;
47 public static void createRubyMessageBuilderContext(Ruby runtime) { in createRubyMessageBuilderContext() argument
48 RubyModule protobuf = runtime.getClassFromPath("Google::Protobuf"); in createRubyMessageBuilderContext()
49 …ssageBuilderContext = protobuf.defineClassUnder("MessageBuilderContext", runtime.getObject(), new … in createRubyMessageBuilderContext()
51 public IRubyObject allocate(Ruby runtime, RubyClass klazz) { in createRubyMessageBuilderContext()
52 return new RubyMessageBuilderContext(runtime, klazz); in createRubyMessageBuilderContext()
[all …]
DRubyEnumDescriptor.java44 import org.jruby.runtime.Block;
45 import org.jruby.runtime.ObjectAllocator;
46 import org.jruby.runtime.ThreadContext;
47 import org.jruby.runtime.builtin.IRubyObject;
51 public static void createRubyEnumDescriptor(Ruby runtime) { in createRubyEnumDescriptor() argument
52 RubyModule mProtobuf = runtime.getClassFromPath("Google::Protobuf"); in createRubyEnumDescriptor()
53 …RubyClass cEnumDescriptor = mProtobuf.defineClassUnder("EnumDescriptor", runtime.getObject(), new … in createRubyEnumDescriptor()
55 public IRubyObject allocate(Ruby runtime, RubyClass klazz) { in createRubyEnumDescriptor()
56 return new RubyEnumDescriptor(runtime, klazz); in createRubyEnumDescriptor()
59 cEnumDescriptor.includeModule(runtime.getEnumerable()); in createRubyEnumDescriptor()
[all …]
DRubyDescriptor.java40 import org.jruby.runtime.Block;
41 import org.jruby.runtime.ObjectAllocator;
42 import org.jruby.runtime.ThreadContext;
43 import org.jruby.runtime.builtin.IRubyObject;
51 public static void createRubyDescriptor(Ruby runtime) { in createRubyDescriptor() argument
52 RubyModule protobuf = runtime.getClassFromPath("Google::Protobuf"); in createRubyDescriptor()
53 …RubyClass cDescriptor = protobuf.defineClassUnder("Descriptor", runtime.getObject(), new ObjectAll… in createRubyDescriptor()
55 public IRubyObject allocate(Ruby runtime, RubyClass klazz) { in createRubyDescriptor()
56 return new RubyDescriptor(runtime, klazz); in createRubyDescriptor()
59 cDescriptor.includeModule(runtime.getEnumerable()); in createRubyDescriptor()
[all …]
DRubyBuilder.java38 import org.jruby.runtime.*;
39 import org.jruby.runtime.builtin.IRubyObject;
43 public static void createRubyBuilder(Ruby runtime) { in createRubyBuilder() argument
44 RubyModule protobuf = runtime.getClassFromPath("Google::Protobuf"); in createRubyBuilder()
45 …RubyClass cBuilder = protobuf.defineClassUnder("Builder", runtime.getObject(), new ObjectAllocator… in createRubyBuilder()
47 public IRubyObject allocate(Ruby runtime, RubyClass klazz) { in createRubyBuilder()
48 return new RubyBuilder(runtime, klazz); in createRubyBuilder()
54 public RubyBuilder(Ruby runtime, RubyClass metaClass) { in RubyBuilder() argument
55 super(runtime, metaClass); in RubyBuilder()
56 this.cDescriptor = (RubyClass) runtime.getClassFromPath("Google::Protobuf::Descriptor"); in RubyBuilder()
[all …]
DRubyRepeatedField.java39 import org.jruby.runtime.Block;
40 import org.jruby.runtime.ObjectAllocator;
41 import org.jruby.runtime.ThreadContext;
42 import org.jruby.runtime.builtin.IRubyObject;
47 public static void createRubyRepeatedField(Ruby runtime) { in createRubyRepeatedField() argument
48 RubyModule mProtobuf = runtime.getClassFromPath("Google::Protobuf"); in createRubyRepeatedField()
49 RubyClass cRepeatedField = mProtobuf.defineClassUnder("RepeatedField", runtime.getObject(), in createRubyRepeatedField()
52 public IRubyObject allocate(Ruby runtime, RubyClass klazz) { in createRubyRepeatedField()
53 return new RubyRepeatedField(runtime, klazz); in createRubyRepeatedField()
57 cRepeatedField.includeModule(runtime.getEnumerable()); in createRubyRepeatedField()
[all …]
DRubyDescriptorPool.java40 import org.jruby.runtime.*;
41 import org.jruby.runtime.builtin.IRubyObject;
48 public static void createRubyDescriptorPool(Ruby runtime) { in createRubyDescriptorPool() argument
49 RubyModule protobuf = runtime.getClassFromPath("Google::Protobuf"); in createRubyDescriptorPool()
50 …RubyClass cDescriptorPool = protobuf.defineClassUnder("DescriptorPool", runtime.getObject(), new O… in createRubyDescriptorPool()
52 public IRubyObject allocate(Ruby runtime, RubyClass klazz) { in createRubyDescriptorPool()
53 return new RubyDescriptorPool(runtime, klazz); in createRubyDescriptorPool()
58 …descriptorPool = (RubyDescriptorPool) cDescriptorPool.newInstance(runtime.getCurrentContext(), Blo… in createRubyDescriptorPool()
68 this.cBuilder = (RubyClass) context.runtime.getClassFromPath("Google::Protobuf::Builder"); in initialize()
85 return context.runtime.getNil(); in build()
[all …]
DRubyFieldDescriptor.java40 import org.jruby.runtime.ObjectAllocator;
41 import org.jruby.runtime.ThreadContext;
42 import org.jruby.runtime.builtin.IRubyObject;
46 public static void createRubyFileDescriptor(Ruby runtime) { in createRubyFileDescriptor() argument
47 RubyModule mProtobuf = runtime.getClassFromPath("Google::Protobuf"); in createRubyFileDescriptor()
48 …RubyClass cFieldDescriptor = mProtobuf.defineClassUnder("FieldDescriptor", runtime.getObject(), ne… in createRubyFileDescriptor()
50 public IRubyObject allocate(Ruby runtime, RubyClass klazz) { in createRubyFileDescriptor()
51 return new RubyFieldDescriptor(runtime, klazz); in createRubyFileDescriptor()
57 public RubyFieldDescriptor(Ruby runtime, RubyClass klazz) { in RubyFieldDescriptor() argument
58 super(runtime, klazz); in RubyFieldDescriptor()
[all …]
DRubyMessage.java38 import org.jruby.runtime.Block;
39 import org.jruby.runtime.Helpers;
40 import org.jruby.runtime.ThreadContext;
41 import org.jruby.runtime.builtin.IRubyObject;
69 final Ruby runtime = context.runtime; in initialize() local
70 … this.cRepeatedField = (RubyClass) runtime.getClassFromPath("Google::Protobuf::RepeatedField"); in initialize()
71 this.cMap = (RubyClass) runtime.getClassFromPath("Google::Protobuf::Map"); in initialize()
79 throw runtime.newArgumentError("expected Hash arguments."); in initialize()
86 … throw runtime.newTypeError("Expected string or symbols as hash keys in initialization map."); in initialize()
93 …throw runtime.newArgumentError("Expected Hash object as initializer value for map field '" + key.… in initialize()
[all …]
DRubyMap.java41 import org.jruby.internal.runtime.methods.DynamicMethod;
42 import org.jruby.runtime.Block;
43 import org.jruby.runtime.ObjectAllocator;
44 import org.jruby.runtime.ThreadContext;
45 import org.jruby.runtime.builtin.IRubyObject;
57 public static void createRubyMap(Ruby runtime) { in createRubyMap() argument
58 RubyModule protobuf = runtime.getClassFromPath("Google::Protobuf"); in createRubyMap()
59 … RubyClass cMap = protobuf.defineClassUnder("Map", runtime.getObject(), new ObjectAllocator() { in createRubyMap()
65 cMap.includeModule(runtime.getEnumerable()); in createRubyMap()
121 throw context.runtime.newArgumentError("Invalid key type for map."); in initialize()
[all …]
DRubyOneofDescriptor.java11 import org.jruby.runtime.Block;
12 import org.jruby.runtime.ObjectAllocator;
13 import org.jruby.runtime.ThreadContext;
14 import org.jruby.runtime.builtin.IRubyObject;
21 public static void createRubyOneofDescriptor(Ruby runtime) { in createRubyOneofDescriptor() argument
22 RubyModule protobuf = runtime.getClassFromPath("Google::Protobuf"); in createRubyOneofDescriptor()
23 …RubyClass cRubyOneofDescriptor = protobuf.defineClassUnder("OneofDescriptor", runtime.getObject(),… in createRubyOneofDescriptor()
30 cRubyOneofDescriptor.includeModule(runtime.getEnumerable()); in createRubyOneofDescriptor()
64 this.name = context.runtime.newString(name.asJavaString()); in setName()
66 return context.runtime.getNil(); in setName()
[all …]
DRubyEnumBuilderContext.java41 import org.jruby.runtime.ObjectAllocator;
42 import org.jruby.runtime.ThreadContext;
43 import org.jruby.runtime.builtin.IRubyObject;
47 public static void createRubyEnumBuilderContext(Ruby runtime) { in createRubyEnumBuilderContext() argument
48 RubyModule protobuf = runtime.getClassFromPath("Google::Protobuf"); in createRubyEnumBuilderContext()
49 …RubyClass cMessageBuilderContext = protobuf.defineClassUnder("EnumBuilderContext", runtime.getObje… in createRubyEnumBuilderContext()
51 public IRubyObject allocate(Ruby runtime, RubyClass klazz) { in createRubyEnumBuilderContext()
52 return new RubyEnumBuilderContext(runtime, klazz); in createRubyEnumBuilderContext()
78 return context.runtime.getNil(); in value()
/third_party/glslang/Test/baseResults/
DruntimeArray.vert.out44 0:46 a: direct index for structure (layout( column_major shared) uniform runtime-sized array…
45 …k{layout( column_major shared) uniform runtime-sized array of int a, layout( column_major shared) …
51 0:47 b: direct index for structure (layout( column_major shared) uniform runtime-sized array…
52 …k{layout( column_major shared) uniform runtime-sized array of int a, layout( column_major shared) …
58 0:48 a: direct index for structure (layout( column_major shared) buffer runtime-sized array …
59 …ock{layout( column_major shared) buffer runtime-sized array of int a, layout( column_major shared)…
65 0:49 b: direct index for structure (layout( column_major shared) buffer runtime-sized array …
66 …ock{layout( column_major shared) buffer runtime-sized array of int a, layout( column_major shared)…
72 0:51 a: direct index for structure (layout( column_major shared) uniform runtime-sized array…
73 …k{layout( column_major shared) uniform runtime-sized array of int a, layout( column_major shared) …
[all …]
Dglsl.es320.subgroupBasic.comp.out11 0:14 a: direct index for structure (layout( column_major shared) buffer runtime-sized arra…
12 …=0 column_major shared) buffer block{layout( column_major shared) buffer runtime-sized array of hi…
20 0:15 a: direct index for structure (layout( column_major shared) buffer runtime-sized arra…
21 …=0 column_major shared) buffer block{layout( column_major shared) buffer runtime-sized array of hi…
29 0:16 a: direct index for structure (layout( column_major shared) buffer runtime-sized arra…
30 …=0 column_major shared) buffer block{layout( column_major shared) buffer runtime-sized array of hi…
38 0:17 a: direct index for structure (layout( column_major shared) buffer runtime-sized arra…
39 …=0 column_major shared) buffer block{layout( column_major shared) buffer runtime-sized array of hi…
62 …=0 column_major shared) buffer block{layout( column_major shared) buffer runtime-sized array of hi…
77 0:14 a: direct index for structure (layout( column_major shared) buffer runtime-sized arra…
[all …]
/third_party/vk-gl-cts/scripts/
Dbuild_android_mustpass.py72 runtime = "23m",
80 runtime = "23m"),
87 runtime = "5m"),
95 runtime = "2m"),
112 runtime = "46m",
120 runtime = "46m"),
127 runtime = "10m"),
134 runtime = "10m"),
154 runtime = "1h50m",
162 runtime = "1h50m"),
[all …]
/third_party/rust/crates/aho-corasick/src/packed/teddy/
Dcompile.rs76 use crate::packed::teddy::runtime; in build_imp()
124 exec: runtime::Exec::TeddySlim1Mask128( in build_imp()
125 runtime::TeddySlim1Mask128 { in build_imp()
126 mask1: runtime::Mask128::new(masks[0]), in build_imp()
133 exec: runtime::Exec::TeddySlim1Mask256( in build_imp()
134 runtime::TeddySlim1Mask256 { in build_imp()
135 mask1: runtime::Mask256::new(masks[0]), in build_imp()
142 exec: runtime::Exec::TeddyFat1Mask256( in build_imp()
143 runtime::TeddyFat1Mask256 { in build_imp()
144 mask1: runtime::Mask256::new(masks[0]), in build_imp()
[all …]
/third_party/python/Python/
Dpystate.c49 _PyRuntimeState_Init_impl(_PyRuntimeState *runtime) in _PyRuntimeState_Init_impl() argument
54 void *open_code_hook = runtime->open_code_hook; in _PyRuntimeState_Init_impl()
55 void *open_code_userdata = runtime->open_code_userdata; in _PyRuntimeState_Init_impl()
56 _Py_AuditHookEntry *audit_hook_head = runtime->audit_hook_head; in _PyRuntimeState_Init_impl()
59 Py_ssize_t unicode_next_index = runtime->unicode_ids.next_index; in _PyRuntimeState_Init_impl()
61 memset(runtime, 0, sizeof(*runtime)); in _PyRuntimeState_Init_impl()
63 runtime->open_code_hook = open_code_hook; in _PyRuntimeState_Init_impl()
64 runtime->open_code_userdata = open_code_userdata; in _PyRuntimeState_Init_impl()
65 runtime->audit_hook_head = audit_hook_head; in _PyRuntimeState_Init_impl()
67 _PyEval_InitRuntimeState(&runtime->ceval); in _PyRuntimeState_Init_impl()
[all …]
Dpylifecycle.c62 static void call_ll_exitfuncs(_PyRuntimeState *runtime);
271 emit_stderr_warning_for_legacy_locale(_PyRuntimeState *runtime) in emit_stderr_warning_for_legacy_locale() argument
273 const PyPreConfig *preconfig = &runtime->preconfig; in emit_stderr_warning_for_legacy_locale()
449 PyStatus status = _PyConfig_Write(config, tstate->interp->runtime); in interpreter_update_config()
519 pyinit_core_reconfigure(_PyRuntimeState *runtime, in pyinit_core_reconfigure() argument
535 status = _PyConfig_Write(config, runtime); in pyinit_core_reconfigure()
557 pycore_init_runtime(_PyRuntimeState *runtime, in pycore_init_runtime() argument
560 if (runtime->initialized) { in pycore_init_runtime()
564 PyStatus status = _PyConfig_Write(config, runtime); in pycore_init_runtime()
578 _PyRuntimeState_SetFinalizing(runtime, NULL); in pycore_init_runtime()
[all …]
/third_party/rust/crates/rustix/src/
Druntime.rs42 backend::runtime::syscalls::tls::set_thread_area(u_info) in set_thread_area()
49 backend::runtime::syscalls::tls::arm_set_tls(data) in arm_set_tls()
56 backend::runtime::syscalls::tls::set_fs(data) in set_fs()
62 backend::runtime::syscalls::tls::set_tid_address(data) in set_tid_address()
79 backend::runtime::syscalls::tls::set_thread_name(name) in set_thread_name()
84 pub use backend::runtime::tls::UserDesc;
94 backend::runtime::syscalls::tls::exit_thread(status) in exit_thread()
125 backend::runtime::tls::startup_tls_info() in startup_tls_info()
143 pub use backend::runtime::tls::StartupTlsInfo;
224 backend::runtime::syscalls::fork() in fork()
[all …]

12345678910>>...57