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
/* | |
I have a function object or function F (given by user). | |
I want to calculate number of parameters that F takes. | |
Or I want to store parameters in parameter pack | |
Or apply some operations on parameters like, | |
check if first parameter (or nth parameter) is ref or | |
const ref or value etc.. | |
*/ |
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
I still did not get clarity about unseq. | |
I am clear that datapar/dataseq is about using simd or | |
some kind vector intrinsics and provide vectorization. | |
But what does unseq do? | |
could you elobarate on this | |
--> "while unseq leaves the vectorization to the compiler" |
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 <Vc/IO> | |
#include <Vc/Vc> | |
#include <hpx/hpx.hpp> | |
#include <hpx/hpx_init.hpp> | |
#include <omp.h> | |
#include <algorithm> | |
#include <chrono> |
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
Static configuration: | |
--------------------- | |
Core library: | |
HPX_WITH_LOGGING=ON | |
HPX_WITH_DYNAMIC_HPX_MAIN=ON | |
HPX_WITH_DISTRIBUTED_RUNTIME=ON | |
HPX_WITH_IO_COUNTERS=ON | |
HPX_WITH_DATAPAR_VC=ON | |
HPX_WITH_DATAPAR=ON | |
HPX_WITH_AUTOMATIC_SERIALIZATION_REGISTRATION=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
#include <hpx/hpx.hpp> | |
#include <hpx/hpx_init.hpp> | |
#include <iostream> | |
#include <vector> | |
static constexpr hpx::execution::dataseq_policy dataseq; | |
int hpx_main() | |
{ | |
std::cout << "HPX VC test\n"; |
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.hpp> | |
#include <hpx/hpx_init.hpp> | |
#include <boost/range/irange.hpp> | |
#include <iostream> | |
int hpx_main() | |
{ | |
std::cout << "HPX VC test\n"; | |
hpx::execution::dataseq_policy dataseq; | |
auto range = boost::irange(0, 10); |
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/kmit/srinivas/.local/builds/hpx/libs/parallelism/algorithms/include/hpx/parallel/util/transform_loop.hpp:179, | |
from /home/kmit/srinivas/.local/builds/hpx/libs/parallelism/algorithms/include/hpx/parallel/algorithms/transform.hpp:196, | |
from /home/kmit/srinivas/.local/builds/hpx/libs/parallelism/algorithms/include/hpx/parallel/container_algorithms/transform.hpp:402, | |
from /home/kmit/srinivas/.local/builds/hpx/libs/parallelism/algorithms/include/hpx/parallel/container_algorithms.hpp:45, | |
from /home/kmit/srinivas/.local/builds/hpx/libs/full/include/include/hpx/algorithm.hpp:11, | |
from /home/kmit/srinivas/.local/builds/hpx/libs/full/include/include/hpx/hpx.hpp:10, | |
from /home/kmit/srinivas/.local/builds/hpx/libs/full/checkpoint/examples/1d_stencil_4_checkpoint.cpp:24: | |
/home/kmit/srinivas/.local/builds/hpx/libs/parallelism/algorithms/include/hpx/parallel/datapar/transform_loop.hpp: In static mem |
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/kmit/srinivas/.local/builds/hpx/libs/parallelism/executors/include/hpx/executors/execution_policy.hpp:21, | |
from /home/kmit/srinivas/.local/builds/hpx/libs/parallelism/algorithms/include/hpx/parallel/algorithms/reduce.hpp:223, | |
from /home/kmit/srinivas/.local/builds/hpx/libs/full/collectives/include/hpx/collectives/detail/communicator.hpp:25, | |
from /home/kmit/srinivas/.local/builds/hpx/libs/full/collectives/include/hpx/collectives/all_gather.hpp:102, | |
from /home/kmit/srinivas/.local/builds/hpx/build/libs/full/collectives/include/hpx/modules/collectives.hpp:14, | |
from /home/kmit/srinivas/.local/builds/hpx/libs/full/runtime_distributed/src/server/runtime_support_server.cpp:22: | |
/home/kmit/srinivas/.local/builds/hpx/libs/parallelism/executors/include/hpx/executors/datapar/execution_policy.hpp: In member function ‘typename hpx::parallel::execution::rebind_executor<hpx::execution::v1::dataseq_task_policy, Execu |
This file has been truncated, but you can view the full file.
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
/usr/bin/cmake -S/home/kmit/srinivas/.local/builds/hpx -B/home/kmit/srinivas/.local/builds/hpx/build --check-build-system CMakeFiles/Makefile.cmake 0 | |
/usr/bin/cmake -E cmake_progress_start /home/kmit/srinivas/.local/builds/hpx/build/CMakeFiles /home/kmit/srinivas/.local/builds/hpx/build/CMakeFiles/progress.marks | |
make -f CMakeFiles/Makefile2 all | |
make[1]: Entering directory '/home/kmit/srinivas/.local/builds/hpx/build' | |
make -f libs/core/config_registry/CMakeFiles/hpx_config_registry.dir/build.make libs/core/config_registry/CMakeFiles/hpx_config_registry.dir/depend | |
make[2]: Entering directory '/home/kmit/srinivas/.local/builds/hpx/build' | |
cd /home/kmit/srinivas/.local/builds/hpx/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/kmit/srinivas/.local/builds/hpx /home/kmit/srinivas/.local/builds/hpx/libs/core/config_registry /home/kmit/srinivas/.local/builds/hpx/build /home/kmit/srinivas/.local/builds/hpx/build/libs/core/config_registry /home/kmit/srinivas/.local/builds/hpx/build/libs/core/config_regis |
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
/usr/bin/cmake -S/home/kmit/srinivas/.local/builds/hpx -B/home/kmit/srinivas/.local/builds/hpx/build --check-build-system CMakeFiles/Makefile.cmake 0 | |
/usr/bin/cmake -E cmake_progress_start /home/kmit/srinivas/.local/builds/hpx/build/CMakeFiles /home/kmit/srinivas/.local/builds/hpx/build/CMakeFiles/progress.marks | |
make -f CMakeFiles/Makefile2 all | |
make[1]: Entering directory '/home/kmit/srinivas/.local/builds/hpx/build' | |
make -f libs/core/config_registry/CMakeFiles/hpx_config_registry.dir/build.make libs/core/config_registry/CMakeFiles/hpx_config_registry.dir/depend | |
make[2]: Entering directory '/home/kmit/srinivas/.local/builds/hpx/build' | |
cd /home/kmit/srinivas/.local/builds/hpx/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/kmit/srinivas/.local/builds/hpx /home/kmit/srinivas/.local/builds/hpx/libs/core/config_registry /home/kmit/srinivas/.local/builds/hpx/build /home/kmit/srinivas/.local/builds/hpx/build/libs/core/config_registry /home/kmit/srinivas/.local/builds/hpx/build/libs/core/config_regis |
NewerOlder