-
Notifications
You must be signed in to change notification settings - Fork 34
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
Missing "__atomic_fetch_add_8" support #698
Comments
Could you trace where the |
Attempted to reproduce the issue with: #include <hip/hip_runtime.h>
__device__ int x = 0;
__global__ void k() { __atomic_fetch_add(&x, 1, __ATOMIC_RELAXED); } But this gets blocked by an assertion:
There is a possibility that the QuickSilver app is compiled with clang without assertions enabled and the compiler produces ill-formed code. |
@linehill |
The assertions are enabled with -DCMAKE_BUILD_TYPE=Debug.
Not sure yet. There might be very unexpected way the |
@Sarbojit2019, any success tracing the origin of the |
@Sarbojit2019 status? |
Since no reply from @Sarbojit2019 and this error not appearing anywhere else, let's move to 1.3 |
Works now. |
While running the QuickSilver app with Levelzero as backed I see a crash. Looks like "__atomic_fetch_add_8" support is missing.
QuickSilver : https://github.com/oneapi-src/Velocity-Bench/tree/main/QuickSilver
Error message:
CHIP warning [TID 1675333] [1700634335.412708246] : Missing definition for '__atomic_fetch_add_8'
CHIP warning [TID 1675333] [1700634335.412844660] : SPIR-V Parser: MemberId 82 not found in type map
CHIP warning [TID 1675333] [1700634335.412847436] : SPIR-V Parser: MemberId 82 not found in type map
CHIP warning [TID 1675333] [1700634335.412849475] : SPIR-V Parser: MemberId 82 not found in type map
CHIP warning [TID 1675333] [1700634335.412873560] : SPIR-V Parser: MemberId 192 not found in type map
CHIP warning [TID 1675333] [1700634335.412879170] : SPIR-V Parser: MemberId 192 not found in type map
CHIP warning [TID 1675333] [1700634335.412882545] : SPIR-V Parser: MemberId 194 not found in type map
CHIP error [TID 1675333] [1700634336.321535904] : hipErrorTbd (ZE_RESULT_ERROR_INVALID_MODULE_UNLINKED ) in /home/sarbojit/src/chipStar/src/backend/Level0/CHIPBackendLevel0.cc:2482:compile
CHIP error [TID 1675333] [1700634336.321705150] : Caught Error: hipErrorTbd
error: #1054 (hipErrorTbd
Aborted (core dumped)
The text was updated successfully, but these errors were encountered: