Skip to content
This repository has been archived by the owner on Nov 2, 2023. It is now read-only.

unify stdexec impls for 1D stencil codes #37

Merged
merged 3 commits into from
Oct 18, 2023
Merged

Conversation

weilewei
Copy link
Collaborator

  • add scheduler map in commons.hpp
  • unify stdexec implementations for cpu, gpu and multigpu cases
  • remove files for separate impls
  • formatted cmake and relevant modified hpp/cpp files

TODO:
need to fix the -DSTDPAR cmake flag so the cpu based scheduler can also be compiled

include/commons.hpp Outdated Show resolved Hide resolved
include/commons.hpp Outdated Show resolved Hide resolved
include/commons.hpp Outdated Show resolved Hide resolved
include/commons.hpp Outdated Show resolved Hide resolved
Copy link
Owner

@mhaseeb123 mhaseeb123 left a comment

Choose a reason for hiding this comment

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

adding some comments

apps/1d_stencil/stencil_stdexec.cpp Outdated Show resolved Hide resolved
@weilewei
Copy link
Collaborator Author

@mhaseeb123 I felt having a sche selector class is a bit redundant since what we are doing is just matching strings. I used a function instead.

include/commons.hpp Outdated Show resolved Hide resolved
mhaseeb123 added a commit that referenced this pull request Oct 18, 2023
@weilewei weilewei merged commit 4c7afb0 into main Oct 18, 2023
1 check failed
@weilewei weilewei deleted the unify_1d_stdexec_impls branch October 18, 2023 21:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants