-
-
Notifications
You must be signed in to change notification settings - Fork 542
Re-enable external build tests with C++ modules #7202
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
Changes from all commits
797854d
cdff10b
a7c5c53
af1fe47
6ec642a
e286bfd
45d182a
a5cd735
03ae3b5
f879162
13c5e03
8b3984b
489d884
fd1e4eb
62a85b6
2f9325d
ccbec5a
d5609b6
fb671ac
3fdd927
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -23,8 +23,6 @@ export module HPX.@cap_libname@; | |
| // Make sure the exported symbols are name-mangled using standard C++ rules. | ||
| // This is necessary as otherwise the symbols exported from the shared libraries | ||
| // will be exported from the module using a differently encoded name. | ||
| extern "C++" { | ||
|
|
||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This change will break linking when C++ modules are enabled. I think we discussed this before. What's you rationale of removing the |
||
| #if defined(HPX_MSVC) | ||
| // disable warning C5244: '#include <filename>' in the purview of module | ||
| // 'HPX.@cap_libname@' appears erroneous. Consider moving that directive before the | ||
|
|
@@ -51,5 +49,3 @@ extern "C++" { | |
| #if defined(HPX_MSVC) | ||
| #pragma warning(pop) | ||
| #endif | ||
|
|
||
| } // extern "C++" | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -96,7 +96,8 @@ int hpx_main(hpx::program_options::variables_map& vm) | |
| std::vector<hpx::shared_future<void>> transpose_futures; | ||
| transpose_futures.resize(num_blocks); | ||
|
|
||
| for_each(par, range, [&](std::uint64_t b) { | ||
| for (std::uint64_t b = 0; b < num_blocks; ++b) | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This change is unrelated. Please separate into new PR, if appropriate. |
||
| { | ||
| transpose_futures[b] = | ||
| for_each(par(task), range, [&, b](std::uint64_t phase) { | ||
| std::uint64_t const block_size = block_order * block_order; | ||
|
|
@@ -108,7 +109,7 @@ int hpx_main(hpx::program_options::variables_map& vm) | |
| transpose(&A[from_block][A_offset], &B[b][B_offset], | ||
| block_order, tile_size); | ||
| }).share(); | ||
| }); | ||
| } | ||
|
|
||
| hpx::wait_all(transpose_futures); | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.