Skip to content

ParticleTileData: No Restrict in Storage #3245

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

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Src/Particle/AMReX_ParticleTile.H
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ struct ParticleTileData

Long m_size;
ParticleType* AMREX_RESTRICT m_aos;
GpuArray<ParticleReal* AMREX_RESTRICT, NArrayReal> m_rdata;
GpuArray<int* AMREX_RESTRICT, NArrayInt> m_idata;
GpuArray<ParticleReal*, NArrayReal> m_rdata;
GpuArray<int*, NArrayInt> m_idata;

int m_num_runtime_real;
int m_num_runtime_int;
Expand Down Expand Up @@ -170,8 +170,8 @@ struct ConstParticleTileData

Long m_size;
const ParticleType* AMREX_RESTRICT m_aos;
GpuArray<const ParticleReal* AMREX_RESTRICT, NArrayReal> m_rdata;
GpuArray<const int* AMREX_RESTRICT, NArrayInt > m_idata;
GpuArray<const ParticleReal*, NArrayReal> m_rdata;
GpuArray<const int*, NArrayInt> m_idata;

int m_num_runtime_real;
int m_num_runtime_int;
Expand Down