Skip to content

Commit

Permalink
Merge pull request #3168 from STEllAR-GROUP/fixing_3165
Browse files Browse the repository at this point in the history
Changing used namespace for seq execution policy
  • Loading branch information
hkaiser committed Feb 13, 2018
2 parents ef7360b + 56e4e39 commit 861b8d5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions cmake/HPX_SetupVc.cmake
Expand Up @@ -78,6 +78,8 @@ if(NOT MSVC)
foreach(_flag ${Vc_ARCHITECTURE_FLAGS})
hpx_add_compile_flag(${_flag})
endforeach()
else()
hpx_add_config_cond_define(_SILENCE_ALL_CXX17_DEPRECATION_WARNINGS)
endif()

hpx_add_config_define(HPX_HAVE_DATAPAR)
Expand Down
4 changes: 2 additions & 2 deletions hpx/parallel/datapar/transform_loop.hpp
@@ -1,4 +1,4 @@
// Copyright (c) 2007-2016 Hartmut Kaiser
// Copyright (c) 2007-2018 Hartmut Kaiser
//
// 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)
Expand Down Expand Up @@ -127,7 +127,7 @@ namespace hpx { namespace parallel { namespace util
>::type
call(InIter first, InIter last, OutIter dest, F && f)
{
return util::transform_loop(parallel::v1::seq,
return util::transform_loop(parallel::execution::seq,
first, last, dest, std::forward<F>(f));
}
};
Expand Down

0 comments on commit 861b8d5

Please sign in to comment.