[GPU] Show num_ccs for RANGE_FOR_STREAMS (#15593)

This commit is contained in:
Mingyu Kim
2023-02-09 19:55:24 +09:00
committed by GitHub
parent 833c2865c3
commit 494d688d7c

View File

@@ -787,7 +787,7 @@ Parameter Plugin::GetMetric(const std::string& name, const std::map<std::string,
std::tuple<unsigned int, unsigned int, unsigned int> range = std::make_tuple(1, 2, 1);
IE_SET_METRIC_RETURN(RANGE_FOR_ASYNC_INFER_REQUESTS, range);
} else if (name == ov::range_for_streams) {
std::tuple<unsigned int, unsigned int> range = std::make_tuple(1, 2);
std::tuple<unsigned int, unsigned int> range = std::make_tuple(1, device_info.num_ccs == 1 ? 2 : device_info.num_ccs);
IE_SET_METRIC_RETURN(RANGE_FOR_STREAMS, range);
} else if (name == GPU_METRIC_KEY(MEMORY_STATISTICS) ||
name == ov::intel_gpu::memory_statistics) {