Skip to content

[SYCLomatic] Support memory APIs migration with syclcompat#2286

Merged
zhimingwang36 merged 5 commits intooneapi-src:SYCLomaticfrom
ziranzha:syclcompat2
Aug 30, 2024
Merged

[SYCLomatic] Support memory APIs migration with syclcompat#2286
zhimingwang36 merged 5 commits intooneapi-src:SYCLomaticfrom
ziranzha:syclcompat2

Conversation

@ziranzha
Copy link
Copy Markdown
Contributor

No description provided.

@ziranzha ziranzha requested a review from a team as a code owner August 27, 2024 08:30
Copy link
Copy Markdown
Contributor

@AndyCHHuang AndyCHHuang left a comment

Choose a reason for hiding this comment

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

LGTM

std::string MemoryMigrationRule::getMemoryHelperFunctionName(StringRef Name) {
return dpct::getMemoryHelperFunctionName(Name);
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please add lit test for this PR.

Comment thread clang/test/dpct/usm-syclcompat.cu Outdated
@@ -0,0 +1,1090 @@
// FIXME
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

why FIXME in Line1?

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.

Copy from the original lit test. Will remove it.

@@ -0,0 +1,1090 @@
// FIXME
// UNSUPPORTED: system-windows
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Have you built the migrated result for the 2 lit cases?

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.

Yes.

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 654f81b into oneapi-src:SYCLomatic Aug 30, 2024
@ziranzha ziranzha deleted the syclcompat2 branch September 2, 2024 00:47
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