Skip to content

Commit

Permalink
[UCX] add rocm support (#2489)
Browse files Browse the repository at this point in the history
  • Loading branch information
vchuravy authored Feb 3, 2021
1 parent 1db8477 commit b179f72
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion U/UCX/build_tarballs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ if [[ "${target}" != *aarch64* ]]; then
FLAGS+=(--with-cuda=${prefix}/cuda)
fi
if [[ "${target}" == *x86_64* ]]; then
FLAGS+=(--with-rocm=${prefix})
fi
./configure ${FLAGS[@]}
# For a bug in `src/uct/sm/cma/Makefile` that I did't have the time to look
Expand Down Expand Up @@ -83,12 +87,14 @@ products = [
# - ROCM -> TODO

cuda_version = v"11.2.0"
rocm_version = v"3.7.0"

dependencies = [
Dependency(PackageSpec(name="CompilerSupportLibraries_jll", uuid="e66e0078-7015-5450-92f7-15fbd957f2ae")),
Dependency(PackageSpec(name="NUMA_jll", uuid="7f51dc2b-bb24-59f8-b771-bb1490e4195d")),
Dependency(PackageSpec(name="rdma_core_jll", uuid="69dc3629-5c98-505f-8bcd-225213cebe70")),
BuildDependency(PackageSpec(name="CUDA_full_jll", version=cuda_version))
BuildDependency(PackageSpec(name="CUDA_full_jll", version=cuda_version)),
BuildDependency(PackageSpec(name="hsa_rocr_jll", version=rocm_version))
]

# Build the tarballs, and possibly a `build.jl` as well.
Expand Down

3 comments on commit b179f72

@giordano
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration failed because it tried to upload to v1.9.0+2. This is strange, because usually the version for the registration doesn't get out-of-sync 😕

@vchuravy
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm, the registry was quite slow today.

@giordano
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At the 8th attempt (after Elliot kicked the servers) it worked 🎉

Please sign in to comment.