Home
last modified time | relevance | path

Searched defs:device_attr (Results 1 – 13 of 13) sorted by relevance

/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dcross_host_transfer.cc88 if (StringAttr device_attr = op->getAttrOfType<StringAttr>(kOpDeviceAttr)) { in runOnFunction() local
101 if (StringAttr device_attr = func_op.getArgAttrOfType<StringAttr>( in runOnFunction() local
107 if (StringAttr device_attr = in runOnFunction() local
Dconstant_op_device_assignment.cc45 if (StringAttr device_attr = op->getAttrOfType<StringAttr>(kDeviceAttr)) { in runOnOperation() local
55 StringAttr device_attr = user_op->getAttrOfType<StringAttr>(kDeviceAttr); in runOnOperation() local
Dresource_device_inference.cc130 auto device_attr = in GetDeviceAttr() local
137 auto device_attr = op->getAttrOfType<mlir::StringAttr>(kDeviceAttr); in GetDeviceAttr() local
154 StringRef device_attr = GetDeviceAttr(func_op, arg.getArgNumber()); in ComputeResourceDevicesInComputation() local
180 StringRef device_attr = GetDeviceAttr(op); in ComputeResourceDevicesInComputation() local
Dtf_device_assignment.cc39 if (auto device_attr = op->getAttrOfType<StringAttr>("device")) { in runOnFunction() local
Dtpu_device_propagation.cc175 auto device_attr = op_to_update->getAttrOfType<StringAttr>(kDeviceAttr); in PropagateDevicesInGraph() local
218 auto device_attr = func.getResultAttrOfType<StringAttr>( in PropagateDevicesToResults() local
Dlaunch_to_device_attribute.cc72 auto device_attr = op->getAttr(kDeviceAttr); in AssignDevicesInRegion() local
Dreadonly_references_to_resources.cc141 StringAttr device_attr = in runOnFunction() local
Dcluster_formation.cc59 auto device_attr = op->getAttrOfType<StringAttr>("device"); in GetDevice() local
Dtpu_merge_variables_with_execute.cc129 Attribute device_attr = execute_launch.deviceAttr(); in BuildVariableAccessInfo() local
/external/llvm-project/clang/test/Parser/
Dlambda-attr.cu7 __attribute__((device)) void device_attr() { in device_attr() function
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Dgrpc_session.cc394 for (const auto& device_attr : resp.local_device()) { in ListDevices() local
397 for (const auto& device_attr : resp.remote_device()) { in ListDevices() local
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/translate/
Dexport_graphdef.cc238 if (auto device_attr = in GetArgumentNode() local
273 if (auto device_attr = in GetReturnNode() local
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/
Dtf_device.cc428 for (auto device_attr : op.devices().getValue().getValue()) { in Verify() local