MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / ExecutorForDevice

Method ExecutorForDevice

tensorflow/stream_executor/host/host_platform.cc:48–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48port::StatusOr<StreamExecutor*> HostPlatform::ExecutorForDevice(int ordinal) {
49 StreamExecutorConfig config;
50 config.ordinal = ordinal;
51 config.plugin_config = PluginConfig();
52 config.device_options = DeviceOptions::Default();
53 return GetExecutor(config);
54}
55
56port::StatusOr<StreamExecutor*> HostPlatform::ExecutorForDeviceWithPluginConfig(
57 int device_ordinal, const PluginConfig& plugin_config) {

Callers 1

TESTFunction · 0.45

Calls 2

PluginConfigClass · 0.85
DefaultFunction · 0.85

Tested by 1

TESTFunction · 0.36