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

Sycl shared memory kernels #439

Merged
merged 14 commits into from
May 2, 2024
Merged

Sycl shared memory kernels #439

merged 14 commits into from
May 2, 2024

Conversation

artv3
Copy link
Member

@artv3 artv3 commented Apr 15, 2024

Addresses:
#429

Kernel list

  • basic/MAT_MAT_SHARED
  • apps/CONVECTION3DPA
  • apps/ MASS3DPA
  • apps/DIFFUSION3DPA
  • apps/ MASS3DEA

Will require updating RAJA due to bugfix. See: LLNL/RAJA#1626 and LLNL/RAJA#1628

@artv3 artv3 marked this pull request as ready for review April 17, 2024 17:19
@artv3
Copy link
Member Author

artv3 commented Apr 17, 2024

Hi @rhornung67, I believe I have this working now. We will need to update RAJA though.
A quite note on the SYCL kernels, we only support dynamic shared memory, other backends used static shared memory (which tends to be used in applications).

@artv3
Copy link
Member Author

artv3 commented Apr 30, 2024

@rhornung67 did you want to take a look at this MR as well?


template < size_t block_size >
void runCudaVariantImpl(VariantID vid);
template < size_t block_size >
void runHipVariantImpl(VariantID vid);
template < size_t block_size >
Copy link
Member

Choose a reason for hiding this comment

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

I've been naming the template parameter for the SYCL methods work_group_size, in the header and implementation files, since that is the SYCL terminology. Please do that for consistency.

Copy link
Member

@rhornung67 rhornung67 left a comment

Choose a reason for hiding this comment

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

template parameter name change request for consistency.

@artv3
Copy link
Member Author

artv3 commented May 1, 2024

template parameter name change request for consistency.

Sounds good @rhornung67 , just pushed up the changes. I also pushed up an update to RAJA as we need the SYCL thread ordering fix we merged in yesterday.

@artv3 artv3 merged commit 9b633e8 into develop May 2, 2024
20 checks passed
@artv3 artv3 deleted the artv3/sycl-shmem-kernels branch May 2, 2024 14:51
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.

None yet

3 participants