Skip to content

Commit

Permalink
Merge branch 'sysman-metrics' of github.com:argonne-lcf/THAPI into sy…
Browse files Browse the repository at this point in the history
…sman-metrics
  • Loading branch information
solo2abera committed Oct 10, 2023
2 parents ba7a6e3 + 8c3f0e0 commit 31c45a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ze/tracer_ze_helpers.include.c
Original file line number Diff line number Diff line change
Expand Up @@ -874,6 +874,7 @@ void intializeEngines() {
}
_sampling_engines_initialized = 1;
}

int initializeHandles() {
ze_result_t res;
const char *e = getenv("ZES_ENABLE_SYSMAN");
Expand All @@ -896,7 +897,6 @@ int initializeHandles() {
_ZE_ERROR_MSG("1st ZE_DRIVER_GET_PTR", res);
return -1;
}

ze_driver_handle_t *hDriver = (ze_driver_handle_t*) alloca(_sampling_driverCount * sizeof(ze_driver_handle_t));
res = ZE_DRIVER_GET_PTR(&_sampling_driverCount, hDriver);
if (res != ZE_RESULT_SUCCESS) {
Expand Down

0 comments on commit 31c45a2

Please sign in to comment.