Skip to content

Instantly share code, notes, and snippets.

#include <hpx/hpx_main.hpp>
#include <hpx/hpx.hpp>
#include <iostream>
#include <vector>
#include <algorithm>
#include <numeric>
#include <atomic>
#include <thread>
#include <hpx/type_support/always_void.hpp>
#include <utility>
namespace hpx { namespace traits {
///////////////////////////////////////////////////////////////////////////
namespace detail {
template <typename T, typename U, typename Enable = void>
struct equality_result
{
#include <hpx/type_support/always_void.hpp>
#include <utility>
namespace hpx { namespace traits {
///////////////////////////////////////////////////////////////////////////
namespace detail {
template <typename T, typename U, typename Enable = void>
struct equality_result
{
// Copyright (c) 2020 Yorlik
//
// SPDX-License-Identifier: BSL-1.0
// 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)
#include <hpx/hpx.hpp>
#include <hpx/hpx_main.hpp>
#include <hpx/serialization.hpp>
// some header file
// Allow applications to add configuration settings if HPX_MAIN is set
std::vector<std::string> user_main_config(
std::vector<std::string> const& config);
// Make sure our configuration information is injected into the startup
// procedure
struct register_user_main_config
{
register_user_main_config();
diff --git a/src/execution_tree/compiler/compiler.cpp b/src/execution_tree/compiler/compiler.cpp
index cfc2b639..cc7331f6 100644
--- a/src/execution_tree/compiler/compiler.cpp
+++ b/src/execution_tree/compiler/compiler.cpp
@@ -414,7 +414,11 @@ namespace phylanx { namespace execution_tree { namespace compiler
{
if (id.id >= 0)
{
- name += annotation(id);
+ std::size_t sequence_number =
int main(int argc, char* argv[])
{
auto vm = handle_command_line(argc, argv);   
auto ast = read_ast(vm);   
if (need_transformation(vm))       
ast = transform_ast(vm, ast);   
auto result = compile_and_run(vm, ast);   
if (need_print_result(vm))       
cout << result;   
if (need_write_ast(vm))       
Source: hwloc
Version: 1.11.7
Description: Portable Hardware Locality (hwloc)
The Portable Hardware Locality (hwloc) software package provides a portable abstraction (across OS, versions, architectures, ...) of the hierarchical topology of modern architectures, including NUMA memory nodes, sockets, shared caches, cores and simultaneous multithreading. It also gathers various system attributes such as cache and memory information as well as the locality of I/O devices such as network interfaces, InfiniBand HCAs or GPUs.
Configuration after runtime start:
----------------------------------
============================
[application]
[hpx]
'affinity' : 'pu'
'bind' : 'balanced'
'cmd_line' : 'hello_world.exe --hpx:dump-config'
'component_path' : '$[hpx.location];$[system.executable_prefix]' -> 'D:\Devel\hpx\build\All.vc14\Debug;D:\Devel\hpx\build\All.vc14\Debug'
'component_path_suffixes' : '/lib/hpx;/bin/hpx'
response addressing_service::service(
request const& req
, error_code& ec
)
{
return client_->service(req, ec);
}