Add support for the hipFuncGetAttributes interface.

[ROCm/clr commit: bf9529aaa8]
Этот коммит содержится в:
Alex Voicu
2018-05-11 03:35:10 +01:00
родитель bcf5b45d04
Коммит 4e6996282d
6 изменённых файлов: 189 добавлений и 20 удалений
+2 -2
Просмотреть файл
@@ -107,8 +107,8 @@ namespace hip_impl
it0->second.cbegin(),
it0->second.cend(),
[=](const pair<hsa_agent_t, Kernel_descriptor>& x) {
return x.first.handle == agent.handle;
});
return x.first == agent;
});
if (it1 == it0->second.cend()) {
throw runtime_error{