Searched refs:device_target_str (Results 1 – 1 of 1) sorted by relevance
61 auto device_target_str = GetEnv("DEVICE_TARGET"); in ContextAutoSet() local62 if (device_target_str.empty()) { in ContextAutoSet()63 device_target_str = "Ascend310"; // default is 310 in ContextAutoSet()73 if (device_target_str == "Ascend310") { in ContextAutoSet()77 } else if (device_target_str == "Ascend910") { in ContextAutoSet()