Commit 27aaae5d authored by Cristian Lalescu's avatar Cristian Lalescu
Browse files

gets rid of __restrict__ qualifier

parent 4b010b46
Pipeline #95768 passed with stages
in 34 minutes and 16 seconds
......@@ -400,11 +400,11 @@ std::vector<real_number> BuildLimitsAllProcesses(
template <typename partsize_t, typename rnumber, int size_of_particle>
int set_particle_data_to_zero(
rnumber __restrict__ *data,
rnumber *data, // TODO: this should be "restrict", but intel can't handle it.
const partsize_t numberParticles)
{
// TODO: ensure simd.
// don't use openmp here, as this function may be called from within openmp parallel regions
// don't use openmp here, as this function WILL be called from within openmp parallel regions
std::fill_n(
data,
numberParticles*size_of_particle,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment