update: dlopen of target runtimes with NOLOAD; enabled KFD domain in explicite test

This commit is contained in:
Evgeny
2019-11-13 11:57:17 -06:00
parent a11eb168a5
commit f2b6a6b35c
3 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ class BaseLoader : public T {
private:
BaseLoader() {
const int flags = RTLD_LAZY;
const int flags = RTLD_LAZY|RTLD_NOLOAD;
handle_ = dlopen(lib_name_, flags);
if (handle_ == NULL) {
fprintf(stderr, "roctracer: Loading '%s' failed, %s\n", lib_name_, dlerror());