microsoft / microsoft/antares

[Error] error: ‘CHECK_EQ’ was not declared in this scope; did you mean ‘CHECK_OK’?

Open
#367 17 comments 0 reactions 0 assignees View on GitHub

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:
image

image

image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.