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

[fix] add judgment on avx512 #51

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

Miroier
Copy link

@Miroier Miroier commented May 14, 2024

I encountered the following error when compiling ppl.nn x86 on WSL linux

996aff2c4e7e9173aee48f5d9ca81c60

I modified the code in ppl.common and the problem was fixed.

@Alcanderian
Copy link
Contributor

Alcanderian commented May 23, 2024

but. __AVX512F__ will never be defined in this file

you can see __attribute__((__target__("avx512f"))) __attribute__((optimize(0))) at line 168

we use compiler hint to enable avx512 for this function

please check wether __attribute__ has been deprecated at your version of gcc

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

Successfully merging this pull request may close these issues.

2 participants