Skip to content

[SYCLomatic] Update the error handling of user-defined rule#122

Merged
zhimingwang36 merged 3 commits intooneapi-src:SYCLomaticfrom
AndyCHHuang:UDR-msg
Jul 18, 2022
Merged

[SYCLomatic] Update the error handling of user-defined rule#122
zhimingwang36 merged 3 commits intooneapi-src:SYCLomaticfrom
AndyCHHuang:UDR-msg

Conversation

@AndyCHHuang
Copy link
Copy Markdown
Contributor

Signed-off-by: Huang, Andy andy.huang@intel.com

Signed-off-by: Huang, Andy <andy.huang@intel.com>
@AndyCHHuang AndyCHHuang requested a review from a team as a code owner July 15, 2022 02:54
Signed-off-by: Huang, Andy <andy.huang@intel.com>
Comment thread clang/lib/DPCT/Rules.cpp Outdated
llvm::errs() << RuleFile << ":Error: in rule " << RuleName
<< ", expect a positive integer, found " << ArgIndex
<< " after " << Keyword << "\n";
} else {
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could remove if stmt if assigned keyword to "$" in function call

Signed-off-by: Huang, Andy <andy.huang@intel.com>
@zhiweij1
Copy link
Copy Markdown
Contributor

The BLAS-related failures are expected. One will be fixed in a SYCLomatic PR. Another bug is in MKL.

Copy link
Copy Markdown
Contributor

@zhimingwang36 zhimingwang36 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zhimingwang36 zhimingwang36 merged commit 895c0d1 into oneapi-src:SYCLomatic Jul 18, 2022
@AndyCHHuang AndyCHHuang deleted the UDR-msg branch March 19, 2024 03:12
ShengchenJ pushed a commit to ShengchenJ/SYCLomatic that referenced this pull request Sep 27, 2024
…reference type (oneapi-src#122)

Signed-off-by: Cai, Justin <justin.cai@intel.com>
ShengchenJ pushed a commit to ShengchenJ/SYCLomatic that referenced this pull request Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants