-
Notifications
You must be signed in to change notification settings - Fork 41
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
Draft: Add SW4CK kernels #317
base: develop
Are you sure you want to change the base?
Conversation
Kernel 2 is fine. On Mar 20, 2023, at 12:59 PM, Arturo Vargas ***@***.***> wrote:
@artv3 commented on this pull request.
In src/apps/CMakeLists.txt:
@@ -80,7 +80,9 @@ blt_add_library(
PRESSURE-Hip.cpp
PRESSURE-Cuda.cpp
PRESSURE-OMP.cpp
- PRESSURE-OMPTarget.cpp
+ PRESSURE-OMPTarget.cpp
+ SW4CK_KERNEL_2.cpp
+ SW4CK_KERNEL_2-Seq.cpp
@Ram3sh do the kernels have a formal name? or is Kernel 2 okay?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
const int kfirst = 0; | ||
const int kstart = 0; | ||
const int klast = 1; | ||
const int kend = 1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Ram3sh, looking at the SW4CK src I think I see various options for problem size dimensions. Would you be able to advise what the values here should be? Or some values that we can use to scale the problem?
src/apps/SW4CK_KERNEL_2-Seq.cpp
Outdated
const int kfirst = 0; | ||
const int kstart = 0; | ||
const int klast = 1; | ||
const int kend = 1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Ram3sh -- same here.
Adding SW4CK kernels 2 and 5 as they exhibit a performance gap between RAJA and "native variants".
Source https://github.com/LLNL/SW4CK.