Skip to content

Commit

Permalink
[libomptarget][amdgpu] Follow on to D110513, empty kernarg pools are …
Browse files Browse the repository at this point in the history
…not fatal
  • Loading branch information
JonChesterfield committed Sep 27, 2021
1 parent 738734f commit 2bc4d48
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions openmp/libomptarget/plugins/amdgpu/src/rtl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -383,9 +383,7 @@ FindKernargPool(const std::vector<hsa_agent_t> &HSAAgents) {
err = hsa_amd_agent_iterate_memory_pools(
Agent, addKernArgPool, static_cast<void *>(&KernArgPools));
if (err != HSA_STATUS_SUCCESS) {
DP("[%s:%d] %s failed: %s\n", __FILE__, __LINE__,
"Iterate all memory pools", get_error_string(err));
return {err, hsa_amd_memory_pool_t{}};
DP("addKernArgPool returned %s, continuing\n", get_error_string(err));
}
}

Expand Down

0 comments on commit 2bc4d48

Please sign in to comment.