-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Documentation]: Could you please tell me your gcc version? #501
Comments
Hi, projects using rocThrust must be compiled with hipcc or a hip-aware llvm toolchain. When installing ROCm, both of these should be available through your package manager, and they should also be available through any ROCm docker images. |
As far as I understand, hipcc is also based on llvm. The local gcc is used during the clang construction process of llvm. Are there any requirements for the local gcc version? |
Are you referring to LLVM using libgcc and/or libstdc++? If so, that's a good question, because I don't know about any version compatibilities here. The only thing I can suggest is that the current version of hipcc is based on LLVM 19, and compiling rocThrust with a version of hipcc based on a particular version of LLVM will probably do whatever this version of LLVM does. Unfortunately, I also don't know about the support in that regard. What error are you getting? |
My current problem is that I encountered no matching function call for non-allocating call operator new at https://github.com/ROCm/rocThrust/blob/44020d667b4efa17ed6896153fb8ff5cb4dafad8/thrust/system/hip/detail/uninitialized_fill .h#L62 |
Would you be able to provide some detailed intructions on how to reproduce this issue? I tried reproducing it by preparing a docker container from
|
can you build this test? this is the error case
I have made the corresponding changes to bypass the use of non-placement new on the device side, and it has passed during the compilation process. Whether it can work remains to be seen later. Thank you very much for your help |
Yes, with the same gcc 7 setup as above. rocm-terminal is based on Ubuntu 22, which uses gcc 9 by default - this is used in our CI and there are currently no issues with that.
I commented out the
Be sure to let me know! |
Description of errors
Could you please tell me your gcc version? And the minimum version of gcc required to build the project. The gcc version I used with clang is 7.0, and I cannot build the project.
Attach any links, screenshots, or additional evidence you think will be helpful.
No response
The text was updated successfully, but these errors were encountered: