Skip to content

Compilication error #1

Open
Open
@chasingegg

Description

@chasingegg

Hi, I'm compiling cpu code, but got the following error.

../util/SpinLock.h:73:25: error: no match for ‘operator==’ (operand types are ‘const std::atomic_flag’ and ‘int’)
   return (spinlock_.v_) == 1;

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