Comments (5)
@edgargabriel Thanks, I've patched it for the Arch Linux package: https://gitlab.archlinux.org/archlinux/packaging/packages/openucc/-/commit/f5618b46d08fa2c41f218366871d17133145cde9#9b9baac1eb9b72790eef5540a1685306fc43fd6c_50_42
from ucc.
Also, please note that there is already the option --with-nvcc-gencode
for CUDA
:
Lines 109 to 118 in 1522ccf
from ucc.
@lahwaacz thank you for the bug report, we will look into this. The UCC CI checker runs through exactly the same scenario (i.e. compiling UCC with the ROCm stack installed but without an AMD GPU being available). However, because of an issue that we faced with clang-tidy newer than clang-12, we fixed the ROCm version in the UCC CI to ROCm 5.7.1 - which still uses hipcc
to compile the kernels vs. the new clang --offload-arch=...
approach that we use with ROCm > 6.0.
For now, I think your best options are either to compile on a platform with an AMD GPU present, or change the cuda_lt.sh
file and remove the --offload-arch=native
argument.
from ucc.
Hi @edgargabriel !
We also encountered the same issue (cannot determine amdgcn architecture
), since we're building ucc
from inside a docker build
step (such that devices like GPUs are not exposed).
It would be nice that we can provide the list of architectures that we want to compile for at the configuration step. For now, there are many ROCm
architectures listed in cuda_lt.sh
, but we only need a few of them (not to mention those not listed). An option like --offload-arch=A,B,C
would be welcome. It could default to what's already in cuda_lt.sh
if not provided, for backward compatibility. The same remark can be made for the enabled CUDA
architectures. It would be nice if only a chosen subset could be passed when compiling ucc
(it would help us reduce the compile time and size).
Note that we circumvented the problem by patching cuda_lt.sh
to remove the native
offloading.
from ucc.
@romintomasetti thank you, it is on our list, we definitely plan to have it fixed for the next release. I think the fix is not entirely trivial since cuda_lt.sh is used by both cuda and rocm component, so it might require a deeper rework of that part of the code section.
from ucc.
Related Issues (20)
- Build Errors with CL/DOCA_UROM HOT 2
- sm_52 compilation error, test for cuda version > 11.6 HOT 1
- Segfault when running `ucc_info` HOT 2
- `ucc_context_create` seems to take a constant time HOT 1
- ucc_mem_map limitations HOT 4
- Minor build issue at ucc_ep_map_is_identity() HOT 1
- Issues regarding ucc_coll_args::tag HOT 6
- Duplicate function declaration in src/ucc/api/ucc.h file HOT 1
- Configurable OOB/service collectives
- Correct cleanup of internal resources associated with communicators HOT 3
- Include #847 in v1.3.0 RC HOT 2
- Create a conda-forge package for the UCC library.
- Fortran OpenMP+ target offload: TL_CUDA DEBUG cannot create CUDA TL context without active CUDA context HOT 1
- 1.3.0 release tag HOT 2
- API/ABI compatibility of UCC HOT 2
- Wrong data received when sharing a team with multiple threads HOT 22
- segfault when nranks>=18 HOT 7
- add new alltoallv alg field
- --with-tlcp=(cp1,cp2) Enable build of TL collectives plugins HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ucc.