Skip to content

Conversation

shraiysh
Copy link
Member

@shraiysh shraiysh commented Nov 3, 2023

This patch addresses the concern about multiple devices and also adds more tests for map(to:), map(from:) and named common blocks.

@kiranchandramohan
Copy link
Contributor

@agozillon @TIFitis Are you OK with these tests?

Copy link
Member

@TIFitis TIFitis left a comment

Choose a reason for hiding this comment

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

LGTM with the suggested changes.

Copy link
Member

Choose a reason for hiding this comment

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

Test commonblock_simple_to is already testing the for map-type isn't it?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, that is correct. Removed this redundant test. Thanks!

Copy link
Member

Choose a reason for hiding this comment

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

Can you remove the explicit mapping from this test? I guess we want to check implicit mapping here.

Copy link
Member Author

Choose a reason for hiding this comment

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

This test checks if a variable with implicit type gets mapped accurately. This test does not check the implicit mapping. I will rename it to commonblock_simple_with_implicit_type_var.

Copy link
Contributor

@agozillon agozillon left a comment

Choose a reason for hiding this comment

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

LGTM

@shraiysh shraiysh force-pushed the more_tests_for_commonblock branch from 714c7e3 to 44482f0 Compare December 1, 2023 16:57
@shraiysh shraiysh merged commit abaeaf3 into llvm:main Dec 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
openmp:libomptarget OpenMP offload runtime
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants