-
-
Notifications
You must be signed in to change notification settings - Fork 422
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4136 from msimberg/compute-module
HPX.Compute modules
- Loading branch information
Showing
87 changed files
with
1,937 additions
and
1,482 deletions.
There are no files selected for viewing
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
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
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# Copyright (c) 2019 The STE||AR-Group | ||
# | ||
# 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) | ||
|
||
cmake_minimum_required(VERSION 3.3.2 FATAL_ERROR) | ||
|
||
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake") | ||
|
||
set(compute_headers | ||
hpx/compute/detail/get_proxy_type.hpp | ||
hpx/compute/detail/iterator.hpp | ||
hpx/compute/detail/target_distribution_policy.hpp | ||
hpx/compute/host/block_allocator.hpp | ||
hpx/compute/host/block_executor.hpp | ||
hpx/compute/host/default_executor.hpp | ||
hpx/compute/host/get_targets.hpp | ||
hpx/compute/host.hpp | ||
hpx/compute/host/numa_domains.hpp | ||
hpx/compute/host/target_distribution_policy.hpp | ||
hpx/compute/host/target.hpp | ||
hpx/compute/host/traits/access_target.hpp | ||
hpx/compute/serialization/vector.hpp | ||
hpx/compute/traits/access_target.hpp | ||
hpx/compute/traits/allocator_traits.hpp | ||
hpx/compute/traits.hpp | ||
hpx/compute/vector.hpp | ||
) | ||
|
||
set(compute_compat_headers) | ||
|
||
set(compute_sources | ||
get_host_targets.cpp | ||
host_target.cpp | ||
numa_domains.cpp | ||
) | ||
|
||
include(HPX_AddModule) | ||
add_hpx_module(compute | ||
COMPATIBILITY_HEADERS OFF | ||
DEPRECATION_WARNINGS | ||
FORCE_LINKING_GEN | ||
GLOBAL_HEADER_GEN ON | ||
SOURCES ${compute_sources} | ||
HEADERS ${compute_headers} | ||
COMPAT_HEADERS ${compute_compat_headers} | ||
DEPENDENCIES | ||
hpx_algorithms | ||
hpx_config | ||
hpx_coroutines | ||
hpx_execution | ||
hpx_hardware | ||
hpx_plugin | ||
hpx_program_options | ||
hpx_serialization | ||
hpx_type_support | ||
CMAKE_SUBDIRS examples tests | ||
) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
|
||
.. | ||
Copyright (c) 2019 The STE||AR-Group | ||
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) | ||
|
||
======= | ||
compute | ||
======= | ||
|
||
This library is part of HPX. | ||
|
||
Documentation can be found `here | ||
<https://stellar-group.github.io/hpx/docs/sphinx/latest/html/libs/compute/docs/index.html>`__. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
.. | ||
Copyright (c) 2019 The STE||AR-Group | ||
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) | ||
|
||
.. _libs_compute: | ||
|
||
======= | ||
compute | ||
======= | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Copyright (c) 2019 The STE||AR-Group | ||
# | ||
# 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) | ||
|
||
if (HPX_WITH_EXAMPLES) | ||
add_hpx_pseudo_target(examples.modules.compute) | ||
add_hpx_pseudo_dependencies(examples.modules examples.modules.compute) | ||
if (HPX_WITH_TESTS AND HPX_WITH_TESTS_EXAMPLES AND HPX_COMPUTE_WITH_TESTS) | ||
add_hpx_pseudo_target(tests.examples.modules.compute) | ||
add_hpx_pseudo_dependencies(tests.examples.modules tests.examples.modules.compute) | ||
endif() | ||
endif() |
Oops, something went wrong.