Skip to content
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

[QA] error: use of undeclared identifier '__asm__' #59

Open
qiji2023 opened this issue Feb 21, 2024 · 1 comment
Open

[QA] error: use of undeclared identifier '__asm__' #59

qiji2023 opened this issue Feb 21, 2024 · 1 comment

Comments

@qiji2023
Copy link

Problem Description

I use inline asm in opencl code, but I get a error error: use of undeclared identifier '__asm__' on RX588 with driver 20.4.2

it is ok on RX6900xt, but the error will appear on RX 588

my code is like:

 __asm__ volatile("v_mad_u64_u32 %[t], null, %[aj], %[bi], 0;"      \
                           : [t] "=v"(tl[j])                                 \
                           : [aj] "v"(a->data[j]), [bi] "v"(b->data[i]));    \

Operating System

window10

CPU

amd R9

GPU

AMD Radeon VII

ROCm Version

ROCm 5.5.0

ROCm Component

No response

Steps to Reproduce

No response

(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support

No response

Additional Information

No response

@qiji2023
Copy link
Author

@amd-aakash can you help me?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant