Skip to content

Cannot compile XNNPACK for Windows... #8588

@Honya2000

Description

@Honya2000

I tried to update my project with latest XNNPACK, but so far cannot make it compilable....

First it didn't compiled because of missing symbols in standard pthreadpool like:

pthreadpool_task_1d_tile_1d_dynamic_with_id_t, pthreadpool_task_2d_tile_2d_dynamic_t, etc.

Then i analyzed cmake files and realized that it requires special pthreadpool version from archive.
So i downloaded it and.. it still doesn't compile, because in windows stdatomic.h is not exists.
So it fails to compile at this line...
#include <stdatomic.h>

in threadpool-atomics.h.

Any ideas how to compile XNNPACK for windows platform ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions