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

Config and structural updates to support unseq implementation #6016

Closed
wants to merge 1 commit into from

Conversation

akcube
Copy link
Contributor

@akcube akcube commented Sep 18, 2022

Proposed Changes

  • Config file for auto-vectorization user provided hints
  • Structural changes to account for unseq implementations

Any background context you want to provide?

#2271

@jenkins-cscs
Copy link

Can one of the admins verify this patch?


#pragma once

#include <hpx/config.hpp>
Copy link
Member

Choose a reason for hiding this comment

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

Why do you need this file? Wouldn't #including <hpx/config.hpp> instead of this file be sufficient?

@@ -0,0 +1,22 @@
set(tests "")
Copy link
Member

Choose a reason for hiding this comment

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

This file misses Copyright, License, and SPDX-License-Identifier. It also misses an endline on the last line.

#define HPX_LANE_SIZE 64
#endif

#endif
Copy link
Member

Choose a reason for hiding this comment

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

Endline is missing here.

#define HPX_LANE_SIZE 16
#else
#define HPX_LANE_SIZE 64
#endif
Copy link
Member

Choose a reason for hiding this comment

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

I think the default should be no vectorization, e.g. if this is compiled on an ARM/SVE platform or similar. Alternatively, let's cause the compilation to fail (have an #error.

#define HPX_LANE_SIZE 64
#endif

#endif
Copy link
Member

Choose a reason for hiding this comment

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

All of your new files miss endline characters on the last lines.

@hkaiser
Copy link
Member

hkaiser commented Sep 21, 2022

This PR is superseded by #6018. Closing without merging. All comments here should be addressed in #6018.

@hkaiser hkaiser closed this Sep 21, 2022
@hkaiser hkaiser added this to the 1.9.0 milestone Sep 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants