Update to KOKKOS_TOOLS_LIBS env var (#69)

This commit is contained in:
Maarten Arnst
2024-12-20 01:20:54 +01:00
committed by Sajina Kandy
parent 27f210ea5d
commit 043a8010a9
6 changed files with 14 additions and 15 deletions
+2 -2
View File
@@ -770,7 +770,7 @@ parse_args(int argc, char** argv, std::vector<char*>& _env)
update_env(_env, "OMP_TOOL_LIBRARIES", _dl_libpath, UPD_APPEND);
if(_v.count("all") > 0 || _v.count("kokkosp") > 0)
update_env(_env, "KOKKOS_PROFILE_LIBRARY", _omni_libpath, UPD_APPEND);
update_env(_env, "KOKKOS_TOOLS_LIBS", _omni_libpath, UPD_APPEND);
});
parser.add_argument({ "-E", "--exclude" }, "Exclude data from these backends")
@@ -800,7 +800,7 @@ parse_args(int argc, char** argv, std::vector<char*>& _env)
remove_env(_env, "OMP_TOOL_LIBRARIES");
if(_v.count("all") > 0 || _v.count("kokkosp") > 0)
remove_env(_env, "KOKKOS_PROFILE_LIBRARY");
remove_env(_env, "KOKKOS_TOOLS_LIBS");
});
parser.start_group("HARDWARE COUNTER OPTIONS", "See also: rocprof-sys-avail -H");