Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for extended launch syntax. #1530

Merged
merged 6 commits into from
Nov 17, 2019
Merged

Conversation

AlexVlx
Copy link
Contributor

@AlexVlx AlexVlx commented Oct 12, 2019

This depends on ROCm/hcc-clang-upgrade#183. It supersedes #1523.

Copy link
Contributor

@gargrahul gargrahul left a comment

Choose a reason for hiding this comment

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

By when do you think ROCm/hcc-clang-upgrade#183 would be merged ?

Copy link
Contributor

@mangupta mangupta left a comment

Choose a reason for hiding this comment

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

Building the test fails with the following error message:

hip/tests/src/kernel/hipExtLaunchKernelGGL.cpp:44:5: error: no matching function for call to 'hipExtLaunchKernelGGL'
    hipExtLaunchKernelGGL(HipTest::vectorADD, dim3(blocks),
    ^~~~~~~~~~~~~~~~~~~~~
hip/include/hip/hcc_detail/functional_grid_launch.hpp:177:6: note: candidate function [with Args = <int *, int *, int *, unsigned long>, F = void (*)(int *, int *, int *, unsigned long)] not viable: no overload of 'vectorADD' matching 'void (*)(int *, int *, int *, unsigned long)' for 1st argument
void hipExtLaunchKernelGGL(F kernel, const dim3& numBlocks,

tests/src/kernel/hipExtLaunchKernelGGL.cpp Outdated Show resolved Hide resolved
@AlexVlx
Copy link
Contributor Author

AlexVlx commented Oct 25, 2019

@mangupta this won't work until the Clang support is in place (that is the reason for the build failure). Thanks for spotting the typo.

Copy link
Contributor

@gargrahul gargrahul left a comment

Choose a reason for hiding this comment

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

LGTM

@gargrahul gargrahul dismissed mangupta’s stale review November 17, 2019 06:23

Requested changes were addressed.

@gargrahul gargrahul merged commit 69e74c3 into master Nov 17, 2019
@mangupta mangupta deleted the feature_ext_ggl_launch branch November 18, 2019 03:12
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