[Error] error: ‘CHECK_EQ’ was not declared in this scope; did you mean ‘CHECK_OK’?
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 469
- Forks
- 51
- PR merge metrics
- No merged PRs in 30d
Description
When I try to run this command "AMDGFX=gfx1031 BACKEND=c-rocm_win64 Antares torch-setup" to Setup Plugin for Pytorch, it returned an error: error: ‘CHECK_EQ’ was not declared in this scope; did you mean ‘CHECK_OK’?
And there are also many other errors when compile this.
My gcc version is 9.4.0 and Ubuntu is 20.04.1
These are some screenshots of the errors:



Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the setup with AMDGFX=gfx1031 BACKEND=c-rocm_win64 Antares torch-setup on Ubuntu 20.04.1 with GCC 9.4.0, then inspect the first compiler diagnostic involving CHECK_EQ and the subsequent errors. Done means the PyTorch plugin setup compiles successfully without these errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, pytorch, ubuntu
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100