Skip to content

Comments

declare_target local#883

Merged
spophale merged 20 commits intomasterfrom
test_target_data_local
Feb 5, 2026
Merged

declare_target local#883
spophale merged 20 commits intomasterfrom
test_target_data_local

Conversation

@andrewkallai
Copy link
Collaborator

@andrewkallai andrewkallai commented Sep 25, 2025

Does not compile with clang 22.0.0

@andrewkallai andrewkallai self-assigned this Sep 25, 2025
@andrewkallai andrewkallai added 6.0 in progress PR created, we are working on it labels Sep 25, 2025
@spophale
Copy link
Collaborator

spophale commented Oct 16, 2025

@andrewkallai , I see what you are trying to do using tofrom in the absence of support for the local clause, BUT you cannot use a scalar in that case, since every device has a unique value of "x" and hence "sum", you will need a sum[TotGpus] array to store unique value for each device "i" at index "i".

return OMPVV_SKIPPED_EXIT_CODE;
}

int errors_arr[TotGpus] = {0};
Copy link
Collaborator

@spophale spophale Oct 23, 2025

Choose a reason for hiding this comment

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

Suggested change
int errors_arr[TotGpus] = {0};
int errors_arr[TotGpus] = {0};
int sum_arr[TotGpus] = {0};

@andrewkallai andrewkallai removed the in progress PR created, we are working on it label Oct 30, 2025
@spophale
Copy link
Collaborator

@seyonglee , this PR is ready to be re-reviewed.

@spophale spophale merged commit f3bcef9 into master Feb 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants