Added kompute env debug layer param

This commit is contained in:
Alejandro Saucedo 2021-03-04 21:47:58 +00:00
parent ec92d7b340
commit ffdb41772d

View file

@ -178,7 +178,7 @@ Manager::createInstance()
std::istringstream iss(envLayerNamesVal); std::istringstream iss(envLayerNamesVal);
std::istream_iterator<std::string> beg(iss), end; std::istream_iterator<std::string> beg(iss), end;
std::vector<std::string> envLayerNames(beg, end); std::vector<std::string> envLayerNames(beg, end);
for (const std::string& layerName : envLayerNames) { for (std::string layerName : envLayerNames) {
desiredLayerNames.push_back(layerName.c_str()); desiredLayerNames.push_back(layerName.c_str());
} }
KP_LOG_DEBUG("Desired layers: {}", desiredLayerNames); KP_LOG_DEBUG("Desired layers: {}", desiredLayerNames);