Skip to content

Question: Is the method is_available correct? #176

@zzau13

Description

@zzau13

I'm using part of your code to implement one of my libraries. And I have a question about the method is_available.

If I compile with avx2 support and run it on a processor without the avx2 flag, wouldn't that result in a SIGILL, illegal instruction? I don't understand, shouldn't I check it at runtime?

Forgive my ignorance, could you explain a little?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions