Skip to content

Config and structural updates to support unseq implementation#6016

Closed
akcube wants to merge 1 commit into
TheHPXProject:masterfrom
akcube:unseq_impl
Closed

Config and structural updates to support unseq implementation#6016
akcube wants to merge 1 commit into
TheHPXProject:masterfrom
akcube:unseq_impl

Conversation

@akcube

@akcube akcube commented Sep 18, 2022

Copy link
Copy Markdown
Contributor

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
Copy Markdown

Can one of the admins verify this patch?


#pragma once

#include <hpx/config.hpp> No newline at end of file

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor

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 No newline at end of file

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor

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 No newline at end of file

Copy link
Copy Markdown
Contributor

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

hkaiser commented Sep 21, 2022

Copy link
Copy Markdown
Contributor

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