-
-
Notifications
You must be signed in to change notification settings - Fork 442
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
Move get_stack_ptr to source #6594
base: master
Are you sure you want to change the base?
Move get_stack_ptr to source #6594
Conversation
…ers to build/use hpx
Performance test reportHPX PerformanceComparison
Info
Comparison
Info
Comparison
Info
Explanation of Symbols
|
Coverage summary from CodacySee diff coverage on Codacy
Coverage variation details
Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: Diff coverage details
Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: See your quality gate settings Change summary preferencesCodacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more |
@@ -8,6 +8,7 @@ | |||
|
|||
#pragma once | |||
|
|||
#include <hpx/config.hpp> | |||
#include <hpx/config/compiler_specific.hpp> | |||
#include <hpx/config/defines.hpp> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you include <hpx/config.hpp>, then the other two #includes are not needed anymore (those are pulled in by it).
@@ -28,28 +29,6 @@ | |||
#include <limits> | |||
|
|||
namespace hpx::threads::coroutines::detail { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since the function is defined only for #if !defined(HPX_WINDOWS)
, shouldn't it be declared only in that case as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think what you are describing already happens since
#if defined(HPX_WINDOWS) |
Performance test reportHPX PerformanceComparison
Info
Comparison
Info
Comparison
Info
Explanation of Symbols
|
get_stack_ptr()
is moved to a source file so it still works when there is a mismatch in the features of the compiler building HPX and the compiler building the HPX headers along with the application that uses them.