Home
last modified time | relevance | path

Searched refs:is_device (Results 1 – 16 of 16) sorted by relevance

/third_party/mindspore/mindspore/lite/src/runtime/kernel/ascend310/src/
Dmodel_infer.cc65 bool is_device = (run_mode == ACL_DEVICE); in Init() local
66 model_process_.SetIsDevice(is_device); in Init()
67 MS_LOG(INFO) << "Get run mode success is device input/output " << is_device; in Init()
Dmodel_process.h58 void SetIsDevice(bool is_device) { is_run_on_device_ = is_device; } in SetIsDevice() argument
/third_party/mindspore/mindspore/ccsrc/cxx_api/graph/acl/
Dmodel_process.h57 void SetIsDevice(bool is_device) { is_run_on_device_ = is_device; } in SetIsDevice() argument
Dacl_graph_impl.cc120 bool is_device = (run_mode == ACL_DEVICE); in InitEnv() local
121 model_process_.SetIsDevice(is_device); in InitEnv()
122 MS_LOG(INFO) << "Get run mode success is device input/output " << is_device; in InitEnv()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/core/
Dde_tensor.cc40 DETensor::DETensor(std::shared_ptr<dataset::DeviceTensor> device_tensor_impl, bool is_device) in DETensor() argument
41 … : device_tensor_impl_(device_tensor_impl), name_("MindDataDeviceTensor"), is_device_(is_device) { in DETensor()
Dde_tensor.h39 DETensor(std::shared_ptr<dataset::DeviceTensor> device_tensor_impl, bool is_device);
/third_party/boost/boost/iostreams/
Dcombine.hpp60 BOOST_STATIC_ASSERT(is_device<Source>::value);
61 BOOST_STATIC_ASSERT(is_device<Sink>::value);
143 is_device<In>,
Dtee.hpp51 BOOST_STATIC_ASSERT(is_device<Device>::value);
124 BOOST_STATIC_ASSERT(is_device<Device>::value);
125 BOOST_STATIC_ASSERT(is_device<Sink>::value);
Dtraits_fwd.hpp79 struct is_device;
Dcompose.hpp78 BOOST_STATIC_ASSERT(is_device<Device>::value);
281 is_device<FilterOrDevice>,
Dtraits.hpp342 struct is_device : detail::has_trait<T, device_tag> { }; struct
Dchain.hpp260 if (is_device<component_type>::value) { in push_impl()
/third_party/boost/boost/iostreams/detail/adapter/
Dconcept_adapter.hpp45 is_device<T>,
51 is_device<T>,
57 is_device<T>,
/third_party/mindspore/mindspore/ccsrc/cxx_api/
Dtypes.cc112 size_t data_len, bool is_device) in TensorReferenceImpl() argument
113 …ata_(data), data_size_(data_len), name_(name), type_(type), shape_(shape), is_device_(is_device) {} in TensorReferenceImpl()
/third_party/ffmpeg/fftools/
Dcmdutils.c1285 static int is_device(const AVClass *avclass) in is_device() function
1315 is_dev = is_device(ofmt->priv_class); in show_formats_devices()
1329 is_dev = is_device(ifmt->priv_class); in show_formats_devices()
/third_party/e2fsprogs/misc/
Dmke2fs.c1552 int show_version_only = 0, is_device = 0; in PRS() local
2039 } else if (!force && is_device && (fs_blocks_count > dev_size)) { in PRS()
2687 if (!check_plausibility(device_name, flags, &is_device) && !force) in PRS()