Skip to content

Commit

Permalink
Style issues
Browse files Browse the repository at this point in the history
  • Loading branch information
capi1500 committed Nov 5, 2024
1 parent bfe0359 commit 3c9ffb3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions include/dr/mp/algorithms/for_each.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ namespace __detail {
auto zipped = zip_view(seg0_begin, seg0_end);
auto distance = zipped | std::views::transform(sub);

if ((distance | std::views::filter(is_zero)).empty())
if (rng::empty(distance | std::views::filter(is_zero)))
return;

auto seg_infos = dr::__detail::tuple_transform(segs, [begin](auto &&seg) {
Expand Down Expand Up @@ -123,7 +123,7 @@ namespace __detail {
auto zipped = zip_view(seg0_begin, seg0_end);
auto distance = zipped | std::views::transform(sub);

if ((distance | std::views::filter(is_zero)).empty())
if (rng::empty(distance | std::views::filter(is_zero)))
return;

auto seg_infos = dr::__detail::tuple_transform(segs, [&begin](auto &&seg) {
Expand Down Expand Up @@ -176,7 +176,7 @@ namespace __detail {
auto zipped = zip_view(seg0_begin, seg0_end);
auto distance = zipped | std::views::transform(sub);

if ((distance | std::views::filter(is_zero)).empty())
if (rng::empty(distance | std::views::filter(is_zero)))
return;

auto seg_infos = dr::__detail::tuple_transform(segs, [&begin](auto &&seg) {
Expand Down
8 changes: 4 additions & 4 deletions include/dr/mp/halo.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#pragma once

#include "halo/halo.hpp"
#include "halo/group.hpp"
#include "halo/instance.hpp"
#include "halo/format.hpp"
#include <dr/mp/halo/halo.hpp>
#include <dr/mp/halo/group.hpp>
#include <dr/mp/halo/instance.hpp>
#include <dr/mp/halo/format.hpp>
4 changes: 2 additions & 2 deletions include/dr/mp/halo/instance.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

#include <dr/mp/global.hpp>
#include <dr/mp/sycl_support.hpp>
#include "halo.hpp"
#include "group.hpp"
#include <dr/mp/halo/halo.hpp>
#include <dr/mp/halo/group.hpp>

namespace dr::mp {
template<typename T, typename Memory>
Expand Down

0 comments on commit 3c9ffb3

Please sign in to comment.