Home
last modified time | relevance | path

Searched refs:api_type (Results 1 – 17 of 17) sorted by relevance

/third_party/mindspore/mindspore/lite/tools/benchmark/
Drun_benchmark.cc40 auto api_type = std::getenv("MSLITE_API_TYPE"); in RunBenchmark() local
41 if (api_type != nullptr) { in RunBenchmark()
42 MS_LOG(INFO) << "MSLITE_API_TYPE = " << api_type; in RunBenchmark()
43 std::cout << "MSLITE_API_TYPE = " << api_type << std::endl; in RunBenchmark()
47 if (flags.config_file_ != "" || (api_type != nullptr && std::string(api_type) == "NEW")) { in RunBenchmark()
49 } else if (api_type == nullptr || std::string(api_type) == "OLD") { in RunBenchmark()
51 } else if (std::string(api_type) == "C") { in RunBenchmark()
/third_party/mindspore/mindspore/ccsrc/profiler/device/gpu/
Dgpu_profiling.cc237 if (event->api_type != CUPTIApiType::kActivity) { in FixOpNameByCorrelationId()
249 switch (event.api_type) { in AddEvent()
276 …<< ",api_type:" << static_cast<int>(event.api_type) << ",start_time_stamp:" << event.start_time_st… in EventLog()
298 switch (event.api_type) { in ProcessEvents()
370 event.api_type = CUPTIApiType::kCallback; in EventHandleProcess()
605 profilingData->api_type = CUPTIApiType::kActivity; in HandleActivityMemcpyRecord()
622 profilingData->api_type = CUPTIApiType::kActivity; in HandleActivityMemcpy2Record()
638 profilingData->api_type = CUPTIApiType::kActivity; in HandleActivityMemsetRecord()
651 profilingData->api_type = CUPTIApiType::kActivity; in HandleActivityKernelRecord()
Dgpu_profiling.h73 CUPTIApiType api_type; member
Dgpu_data_saver.cc61 if (event.op_name.empty() || event.api_type != CUPTIApiType::kActivity || in ParseEvent()
/third_party/mesa3d/src/amd/vulkan/layers/
Dradv_sqtt_layer.c32 enum rgp_sqtt_marker_general_api_type api_type) in radv_write_begin_general_api_marker() argument
38 marker.api_type = api_type; in radv_write_begin_general_api_marker()
45 enum rgp_sqtt_marker_general_api_type api_type) in radv_write_end_general_api_marker() argument
51 marker.api_type = api_type; in radv_write_end_general_api_marker()
59 enum rgp_sqtt_marker_event_type api_type, uint32_t vertex_offset_user_data, in radv_write_event_marker() argument
66 marker.api_type = api_type; in radv_write_event_marker()
87 enum rgp_sqtt_marker_event_type api_type, uint32_t x, uint32_t y, in radv_write_event_with_dims_marker() argument
94 marker.event.api_type = api_type; in radv_write_event_with_dims_marker()
/third_party/grpc/src/core/ext/xds/
Dgoogle_mesh_ca_certificate_provider_factory.cc165 std::string api_type; in ParseJsonObjectServer() local
166 if (ParseJsonObjectField(server, "api_type", &api_type, &error_list_server, in ParseJsonObjectServer()
168 if (api_type != "GRPC") { in ParseJsonObjectServer()
/third_party/grpc/include/grpcpp/impl/codegen/
Dservice_type.h73 method->api_type() == internal::RpcServiceMethod::ApiType::SYNC) { in has_synchronous_methods()
82 if (method && (method->api_type() == in has_callback_methods()
84 method->api_type() == in has_callback_methods()
Drpc_service_method.h106 ApiType api_type() const { return api_type_; } in api_type() function
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_sqtt.c777 enum rgp_sqtt_marker_event_type api_type, in si_sqtt_write_event_marker() argument
785 marker.api_type = api_type == EventInvalid ? EventCmdDraw : api_type; in si_sqtt_write_event_marker()
809 enum rgp_sqtt_marker_event_type api_type, in si_write_event_with_dims_marker() argument
815 marker.event.api_type = api_type; in si_write_event_with_dims_marker()
Dsi_pipe.h1552 enum rgp_sqtt_marker_event_type api_type,
1562 enum rgp_sqtt_marker_event_type api_type,
/third_party/mesa3d/src/amd/common/
Dac_sqtt.h243 uint32_t api_type : 20; member
299 uint32_t api_type : 24; member
Dac_rgp.c587 enum sqtt_api_type api_type; member
609 chunk->api_type = SQTT_API_TYPE_VULKAN; in ac_sqtt_fill_api_info()
/third_party/gstreamer/gstreamer/gst/
Dgstbuffer.h627 guint gst_buffer_get_n_meta (GstBuffer *buffer, GType api_type);
Dgstbuffer.c2269 gst_buffer_get_n_meta (GstBuffer * buffer, GType api_type) in gst_buffer_get_n_meta() argument
2275 while ((meta = gst_buffer_iterate_meta_filtered (buffer, &state, api_type))) in gst_buffer_get_n_meta()
/third_party/jerryscript/jerry-core/api/
Djerry.c4096 jerry_typedarray_type_t api_type; /**< api type */ member
4145 if (type_name == jerry_typedarray_mappings[i].api_type) in jerry_typedarray_find_by_type()
4316 return jerry_typedarray_mappings[i].api_type; in jerry_get_typedarray_type()
/third_party/grpc/src/cpp/server/
Dserver_cc.cc1057 } else if (method->api_type() == in RegisterService()
/third_party/libusb/libusb/os/
Dwindows_winusb.c570 static int auto_claim(struct libusb_transfer *transfer, int *interface_number, int api_type) in auto_claim() argument
578 switch (api_type) { in auto_claim()
590 if ((priv->usb_interface[current_interface].apib->id == api_type) in auto_claim()