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
/home/lukas/libs/hpx/src/runtime/threads/threadmanager.cpp: In member function ‘hpx::naming::gid_type hpx::threads::threadmanager_impl<SchedulingPolicy>::thread_wait_time_counter_creator(const hpx::performance_counters::counter_info&, hpx::error_code&)’: | |
/home/lukas/libs/hpx/src/runtime/threads/threadmanager.cpp:299:49: error: ‘threads_’ was not declared in this scope | |
std::size_t(paths.instanceindex_) < threads_.size()) | |
^ | |
/home/lukas/libs/hpx/src/runtime/threads/threadmanager.cpp: In member function ‘hpx::naming::gid_type hpx::threads::threadmanager_impl<SchedulingPolicy>::task_wait_time_counter_creator(const hpx::performance_counters::counter_info&, hpx::error_code&)’: | |
/home/lukas/libs/hpx/src/runtime/threads/threadmanager.cpp:352:49: error: ‘threads_’ was not declared in this scope | |
std::size_t(paths.instanceindex_) < threads_.size()) | |
^ | |
/home/lukas/libs/hpx/src/runtime/threads/threadman |
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[]) | |
{ | |
uint const num_partitions_x = 16; | |
uint const num_partitions_y = 16; | |
uint const num_cells_x = 1024; | |
uint const num_cells_y = 1024; |
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> | |
#include <hpx/parallel/algorithm.hpp> | |
int hpx_main(int argc, char* argv[]) | |
{ | |
int size_x = 4096; | |
int size_y = 4096; |
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
cd hpx | |
mkdir build | |
cd build | |
cmake -DCMAKE_INSTALL_PREFIX=/opt/hpx_release \ | |
-DTCMALLOC_INCLUDE_DIR=/opt/gperftools-2.4/include/ \ | |
-DTCMALLOC_LIBRARY=/opt/gperftools-2.4/lib/libtcmalloc_minimal_debug.so \ | |
-DHWLOC_LIBRARY=/opt/hwloc-1.11.1/lib/libhwloc.so \ | |
-DHWLOC_INCLUDE_DIR=/opt/hwloc-1.11.1/include/ \ | |
-DHPX_WITH_EXAMPLES=OFF \ | |
-DHPX_WITH_THREAD_IDLE_RATES=ON \ |
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
In file included from /home/troska/opt/hpx_release/include/hpx/dataflow.hpp:9:0, | |
from /home/troska/opt/hpx_release/include/hpx/runtime/components/default_distribution_policy.hpp:24, | |
from /home/troska/opt/hpx_release/include/hpx/runtime/components/new.hpp:17, | |
from /home/troska/opt/hpx_release/include/hpx/include/components.hpp:45, | |
from /home/troska/opt/hpx_release/include/hpx/include/runtime.hpp:10, | |
from /home/troska/opt/hpx_release/include/hpx/hpx.hpp:10, | |
from /home/troska/Work/nast_hpx/src/main.cpp:2: | |
/home/troska/opt/hpx_release/include/hpx/lcos/dataflow.hpp: In instantiation of ‘void hpx::lcos::detail::dataflow_frame<Policy, Func, Futures>::execute(mpl_::false_) [with Policy = hpx::launch; Func = foo_action; Futures = hpx::util::tuple<hpx::naming::id_type>; mpl_::false_ = mpl_::bool_<false>]’: | |
/home/troska/opt/hpx_release/include/hpx/lcos/dataflow.hpp:204:34: required from ‘void hpx::lcos::detail::datafl |
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
// Copyright (c) 2016 Lukas Troska | |
// | |
// Distributed under the Boost Software License, Version 1.0. (See accompanying | |
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | |
// This demonstrated the compilation error when using an action that returns a | |
// future inside dataflow (issue #2008) | |
#include <hpx/hpx_init.hpp> | |
#include <hpx/hpx.hpp> |
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> | |
hpx::future<double> bla() | |
{ | |
return hpx::make_ready_future(0.); | |
} | |
HPX_DEFINE_PLAIN_ACTION(bla); |
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> | |
#include <hpx/lcos/gather.hpp> | |
char const* gather_basename = "/test/gather/"; | |
HPX_REGISTER_GATHER(double, test_gather); | |
int hpx_main(int argc, char* argv[]) | |
{ |