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

Move CFD-related fucntions to a separate module. #922

Merged
merged 1 commit into from
Feb 20, 2023

Conversation

diptorupd
Copy link
Collaborator

@diptorupd diptorupd commented Feb 20, 2023

  • Have you provided a meaningful PR description?

    • The compute follows data related functions are required in parfor lowering as well. The PR moves the two functions determine_kernel_launch_queue and chk_compute_follows_data_compliance out of kernel_interface/dispatcher.py into kernel_interface/utils.py and makes them public.
    • The Range and NdRange classes are moved to kernel_interface/indexers.py
  • Have you added a test, reproducer or referred to an issue with a reproducer?

  • Have you tested your changes locally for CPU and GPU devices?

  • Have you made sure that new changes do not introduce compiler warnings?

  • If this PR is a work in progress, are you filing the PR as a draft?

   - The compute follows data related functions are
     required in parfor lowering as well. The PR moves
     the two functions determine_kernel_launch_queue and
     chk_compute_follows_data_compliance out of
     kernel_interface/dispatcher.py into kernel_interface/utils.py
     and makes them public.
   - The Range and NdRange classes are moved to
     kernel_interface/indexers.py
Copy link
Contributor

@mingjie-intel mingjie-intel left a comment

Choose a reason for hiding this comment

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

LGTM

@diptorupd diptorupd merged commit 56e7129 into main Feb 20, 2023
@diptorupd diptorupd deleted the Make-cfd-checks-public branch February 20, 2023 19:30
github-actions bot added a commit that referenced this pull request Feb 20, 2023
Move CFD-related fucntions to a separate module. 56e7129
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.

2 participants