Skip to content

Commit

Permalink
UCT/ROCM/IPC: Fix CR comments #2
Browse files Browse the repository at this point in the history
  • Loading branch information
Sourav Chakraborty committed Feb 17, 2021
1 parent d48757c commit f1e3982
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/uct/rocm/base/rocm_base.c
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ ucs_status_t uct_rocm_base_get_link_type(hsa_amd_link_info_type_t *link_type)

status = hsa_amd_agent_iterate_memory_pools(agent2,
uct_rocm_hsa_pool_callback, (void*)&pool);
if (status != HSA_STATUS_SUCCESS && status != HSA_STATUS_INFO_BREAK) {
if ((status != HSA_STATUS_SUCCESS) && (status != HSA_STATUS_INFO_BREAK)) {
ucs_debug("Could not iterate HSA memory pools: 0x%x", status);
return UCS_ERR_UNSUPPORTED;
}
Expand Down

0 comments on commit f1e3982

Please sign in to comment.