Skip to content

Conversation

@minsii
Copy link

@minsii minsii commented Apr 14, 2022

Summary:
Current code always builds nccl module as long as USE_ROCM is ON.
However, we should build it only when USE_RCCL is ON. This patch fixes
it by adding the hipified nccl files in nccl/CMakeLists.txt which will be included
only when USE_RCCL is ON.

Differential Revision: D35636872

minsii added 2 commits April 13, 2022 22:01
Summary:
The original code cannot correctly check whether the user has
specified env var ROCM_PATH, thus always used the default /opt/rocm
incorrectly.

Differential Revision: D35636873

fbshipit-source-id: b6dc031f335bcbf3f1d32ee6f8b84d6a7ebb78b3
Summary:
Current code always builds nccl module as long as USE_ROCM is ON.
However, we should build it only when USE_RCCL is ON. This patch fixes
it by adding the hipified nccl files in nccl/CMakeLists.txt which will be included
only when USE_RCCL is ON.

Differential Revision: D35636872

fbshipit-source-id: 936f61fef5808431ace35d2da916762875b65b11
@facebook-github-bot
Copy link

This pull request was exported from Phabricator. Differential Revision: D35636872

@jiayisuse
Copy link
Contributor

Thanks for fixing! Could we re-run the failed test at https://app.circleci.com/pipelines/github/facebookincubator/gloo/520/workflows/e701bbf6-cd61-4cdf-a38c-8903f83ef158/jobs/4942

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants