Skip to content

Instantly share code, notes, and snippets.

@bremerm31
Created April 10, 2019 20:49
Show Gist options
  • Save bremerm31/584501988c9dc8d6ab1101b9e67d7228 to your computer and use it in GitHub Desktop.
Save bremerm31/584501988c9dc8d6ab1101b9e67d7228 to your computer and use it in GitHub Desktop.
Script erroneously name hello world
File Edit Options Buffers Tools C++ Help
#include <hpx/hpx_init.hpp>
#include <hpx/include/iostreams.hpp>
int hpx_main()
{
hpx::cout << hpx::get_num_localities().get() << hpx::endl;
return hpx::finalize();
}
int main(int argc, char* argv[])
{
// Initialize and run HPX.
return hpx::init(argc, argv);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment