-
-
Save ltroska/88187b034f1b336c461eba67f1a20df2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <hpx/hpx_init.hpp> | |
#include <hpx/hpx.hpp> | |
int hpx_main(int argc, char* argv[]) | |
{ | |
auto c = hpx::dataflow( | |
hpx::util::unwrapped( | |
[](int a) -> int | |
{return a;} | |
), | |
3 | |
); | |
return hpx::finalize(); | |
} | |
int main(int argc, char* argv[]) | |
{ | |
return hpx::init(argc, argv); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment