Skip to content

Commit

Permalink
Apply tidyness fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mmore500 committed Oct 14, 2022
1 parent ad2b82b commit 8a655cc
Show file tree
Hide file tree
Showing 34 changed files with 74 additions and 73 deletions.
2 changes: 1 addition & 1 deletion include/netuit/assign/GenerateMetisAssignments.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
#endif

#include "../../uitsl/debug/audit_cast.hpp"
#include "../../uitsl/debug/uitsl_assert.hpp"
#include "../../uitsl/debug/EnumeratedFunctor.hpp"
#include "../../uitsl/debug/uitsl_assert.hpp"
#include "../../uitsl/mpi/mpi_init_utils.hpp"
#include "../../uitsl/parallel/thread_utils.hpp"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@

#include <mpi.h>

#include "../../../../../../uitsl/debug/uitsl_always_assert.hpp"
#include "../../../../../../uitsl/distributed/RdmaAccumulatorBundle.hpp"
#include "../../../../../../uitsl/distributed/RdmaWindowManager.hpp"
#include "../../../../../../uitsl/debug/uitsl_always_assert.hpp"
#include "../../../../../../uitsl/meta/f::static_test.hpp"
#include "../../../../../../uitsl/meta/s::static_test.hpp"
#include "../../../../../../uitsl/mpi/mpi_init_utils.hpp"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@

#include <mpi.h>

#include "../../../../../../uitsl/debug/uitsl_always_assert.hpp"
#include "../../../../../../uitsl/distributed/RdmaAccumulatorBundle.hpp"
#include "../../../../../../uitsl/distributed/RdmaWindowManager.hpp"
#include "../../../../../../uitsl/debug/uitsl_always_assert.hpp"
#include "../../../../../../uitsl/meta/f::static_test.hpp"
#include "../../../../../../uitsl/meta/s::static_test.hpp"
#include "../../../../../../uitsl/mpi/mpi_init_utils.hpp"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
#include <algorithm>
#include <array>
#include <cassert>
#include <vector>
#include <stddef.h>
#include <vector>

#include <mpi.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@

#include <mpi.h>

#include "../../../../../../uitsl/debug/uitsl_always_assert.hpp"
#include "../../../../../../uitsl/datastructs/RingBuffer.hpp"
#include "../../../../../../uitsl/datastructs/SiftingArray.hpp"
#include "../../../../../../uitsl/debug/err_audit.hpp"
#include "../../../../../../uitsl/debug/uitsl_always_assert.hpp"
#include "../../../../../../uitsl/meta/t::static_test.hpp"
#include "../../../../../../uitsl/mpi/mpi_init_utils.hpp"
#include "../../../../../../uitsl/utility/print_utils.hpp"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

#include <algorithm>
#include <array>
#include <optional>
#include <memory>
#include <optional>
#include <stddef.h>

#include <mpi.h>
Expand Down
2 changes: 1 addition & 1 deletion include/uit/spouts/Inlet.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
#include <cassert>
#include <cstdint>
#include <iostream>
#include <optional>
#include <memory>
#include <optional>
#include <stddef.h>
#include <utility>

Expand Down
1 change: 1 addition & 0 deletions include/uit_emp/_codegen/make_facade.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ def setup_one_facade(header_path: str) -> None:
header_guard = (
"UIT_EMP_"
+ header_path.upper().replace("/", "_").replace(".", "_")
+ "_INCLUDE"
)
relpath = lambda x: os.path.relpath(x, os.path.dirname(header_path))

Expand Down
2 changes: 1 addition & 1 deletion include/uit_emp/_codegen/pylib/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from ._iter_header_content import iter_header_content
from ._iter_headerguards import iter_headerguards
from ._iter_header_paths import iter_header_paths
from ._iter_header_content import iter_header_content
from ._iter_macros import iter_macros
6 changes: 3 additions & 3 deletions include/uit_emp/base/always_assert.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once
#ifndef UIT_EMP_BASE_ALWAYS_ASSERT_HPP
#define UIT_EMP_BASE_ALWAYS_ASSERT_HPP
#ifndef UIT_EMP_BASE_ALWAYS_ASSERT_HPP_INCLUDE
#define UIT_EMP_BASE_ALWAYS_ASSERT_HPP_INCLUDE

#ifdef UIT_VENDORIZE_EMP
#include "../vendorization/push_uit_emp.hh"
Expand All @@ -17,4 +17,4 @@ namespace uit_emp = emp;
#include "../vendorization/pop_uit_emp.hh"
#endif // #ifdef UIT_VENDORIZE_EMP

#endif // #ifndef UIT_EMP_BASE_ALWAYS_ASSERT_HPP
#endif // #ifndef UIT_EMP_BASE_ALWAYS_ASSERT_HPP_INCLUDE
6 changes: 3 additions & 3 deletions include/uit_emp/base/assert.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once
#ifndef UIT_EMP_BASE_ASSERT_HPP
#define UIT_EMP_BASE_ASSERT_HPP
#ifndef UIT_EMP_BASE_ASSERT_HPP_INCLUDE
#define UIT_EMP_BASE_ASSERT_HPP_INCLUDE

#ifdef UIT_VENDORIZE_EMP
#include "../vendorization/push_uit_emp.hh"
Expand All @@ -17,4 +17,4 @@ namespace uit_emp = emp;
#include "../vendorization/pop_uit_emp.hh"
#endif // #ifdef UIT_VENDORIZE_EMP

#endif // #ifndef UIT_EMP_BASE_ASSERT_HPP
#endif // #ifndef UIT_EMP_BASE_ASSERT_HPP_INCLUDE
6 changes: 3 additions & 3 deletions include/uit_emp/base/error.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once
#ifndef UIT_EMP_BASE_ERROR_HPP
#define UIT_EMP_BASE_ERROR_HPP
#ifndef UIT_EMP_BASE_ERROR_HPP_INCLUDE
#define UIT_EMP_BASE_ERROR_HPP_INCLUDE

#ifdef UIT_VENDORIZE_EMP
#include "../vendorization/push_uit_emp.hh"
Expand All @@ -17,4 +17,4 @@ namespace uit_emp = emp;
#include "../vendorization/pop_uit_emp.hh"
#endif // #ifdef UIT_VENDORIZE_EMP

#endif // #ifndef UIT_EMP_BASE_ERROR_HPP
#endif // #ifndef UIT_EMP_BASE_ERROR_HPP_INCLUDE
6 changes: 3 additions & 3 deletions include/uit_emp/base/errors.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once
#ifndef UIT_EMP_BASE_ERRORS_HPP
#define UIT_EMP_BASE_ERRORS_HPP
#ifndef UIT_EMP_BASE_ERRORS_HPP_INCLUDE
#define UIT_EMP_BASE_ERRORS_HPP_INCLUDE

#ifdef UIT_VENDORIZE_EMP
#include "../vendorization/push_uit_emp.hh"
Expand All @@ -17,4 +17,4 @@ namespace uit_emp = emp;
#include "../vendorization/pop_uit_emp.hh"
#endif // #ifdef UIT_VENDORIZE_EMP

#endif // #ifndef UIT_EMP_BASE_ERRORS_HPP
#endif // #ifndef UIT_EMP_BASE_ERRORS_HPP_INCLUDE
6 changes: 3 additions & 3 deletions include/uit_emp/data/DataFile.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once
#ifndef UIT_EMP_DATA_DATAFILE_HPP
#define UIT_EMP_DATA_DATAFILE_HPP
#ifndef UIT_EMP_DATA_DATAFILE_HPP_INCLUDE
#define UIT_EMP_DATA_DATAFILE_HPP_INCLUDE

#ifdef UIT_VENDORIZE_EMP
#include "../vendorization/push_uit_emp.hh"
Expand All @@ -17,4 +17,4 @@ namespace uit_emp = emp;
#include "../vendorization/pop_uit_emp.hh"
#endif // #ifdef UIT_VENDORIZE_EMP

#endif // #ifndef UIT_EMP_DATA_DATAFILE_HPP
#endif // #ifndef UIT_EMP_DATA_DATAFILE_HPP_INCLUDE
6 changes: 3 additions & 3 deletions include/uit_emp/data/DataNode.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once
#ifndef UIT_EMP_DATA_DATANODE_HPP
#define UIT_EMP_DATA_DATANODE_HPP
#ifndef UIT_EMP_DATA_DATANODE_HPP_INCLUDE
#define UIT_EMP_DATA_DATANODE_HPP_INCLUDE

#ifdef UIT_VENDORIZE_EMP
#include "../vendorization/push_uit_emp.hh"
Expand All @@ -17,4 +17,4 @@ namespace uit_emp = emp;
#include "../vendorization/pop_uit_emp.hh"
#endif // #ifdef UIT_VENDORIZE_EMP

#endif // #ifndef UIT_EMP_DATA_DATANODE_HPP
#endif // #ifndef UIT_EMP_DATA_DATANODE_HPP_INCLUDE
6 changes: 3 additions & 3 deletions include/uit_emp/datastructs/QueueCache.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once
#ifndef UIT_EMP_DATASTRUCTS_QUEUECACHE_HPP
#define UIT_EMP_DATASTRUCTS_QUEUECACHE_HPP
#ifndef UIT_EMP_DATASTRUCTS_QUEUECACHE_HPP_INCLUDE
#define UIT_EMP_DATASTRUCTS_QUEUECACHE_HPP_INCLUDE

#ifdef UIT_VENDORIZE_EMP
#include "../vendorization/push_uit_emp.hh"
Expand All @@ -17,4 +17,4 @@ namespace uit_emp = emp;
#include "../vendorization/pop_uit_emp.hh"
#endif // #ifdef UIT_VENDORIZE_EMP

#endif // #ifndef UIT_EMP_DATASTRUCTS_QUEUECACHE_HPP
#endif // #ifndef UIT_EMP_DATASTRUCTS_QUEUECACHE_HPP_INCLUDE
6 changes: 3 additions & 3 deletions include/uit_emp/datastructs/hash_utils.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once
#ifndef UIT_EMP_DATASTRUCTS_HASH_UTILS_HPP
#define UIT_EMP_DATASTRUCTS_HASH_UTILS_HPP
#ifndef UIT_EMP_DATASTRUCTS_HASH_UTILS_HPP_INCLUDE
#define UIT_EMP_DATASTRUCTS_HASH_UTILS_HPP_INCLUDE

#ifdef UIT_VENDORIZE_EMP
#include "../vendorization/push_uit_emp.hh"
Expand All @@ -17,4 +17,4 @@ namespace uit_emp = emp;
#include "../vendorization/pop_uit_emp.hh"
#endif // #ifdef UIT_VENDORIZE_EMP

#endif // #ifndef UIT_EMP_DATASTRUCTS_HASH_UTILS_HPP
#endif // #ifndef UIT_EMP_DATASTRUCTS_HASH_UTILS_HPP_INCLUDE
6 changes: 3 additions & 3 deletions include/uit_emp/datastructs/tuple_utils.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once
#ifndef UIT_EMP_DATASTRUCTS_TUPLE_UTILS_HPP
#define UIT_EMP_DATASTRUCTS_TUPLE_UTILS_HPP
#ifndef UIT_EMP_DATASTRUCTS_TUPLE_UTILS_HPP_INCLUDE
#define UIT_EMP_DATASTRUCTS_TUPLE_UTILS_HPP_INCLUDE

#ifdef UIT_VENDORIZE_EMP
#include "../vendorization/push_uit_emp.hh"
Expand All @@ -17,4 +17,4 @@ namespace uit_emp = emp;
#include "../vendorization/pop_uit_emp.hh"
#endif // #ifdef UIT_VENDORIZE_EMP

#endif // #ifndef UIT_EMP_DATASTRUCTS_TUPLE_UTILS_HPP
#endif // #ifndef UIT_EMP_DATASTRUCTS_TUPLE_UTILS_HPP_INCLUDE
6 changes: 3 additions & 3 deletions include/uit_emp/io/ContiguousStream.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once
#ifndef UIT_EMP_IO_CONTIGUOUSSTREAM_HPP
#define UIT_EMP_IO_CONTIGUOUSSTREAM_HPP
#ifndef UIT_EMP_IO_CONTIGUOUSSTREAM_HPP_INCLUDE
#define UIT_EMP_IO_CONTIGUOUSSTREAM_HPP_INCLUDE

#ifdef UIT_VENDORIZE_EMP
#include "../vendorization/push_uit_emp.hh"
Expand All @@ -17,4 +17,4 @@ namespace uit_emp = emp;
#include "../vendorization/pop_uit_emp.hh"
#endif // #ifdef UIT_VENDORIZE_EMP

#endif // #ifndef UIT_EMP_IO_CONTIGUOUSSTREAM_HPP
#endif // #ifndef UIT_EMP_IO_CONTIGUOUSSTREAM_HPP_INCLUDE
6 changes: 3 additions & 3 deletions include/uit_emp/io/MemoryIStream.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once
#ifndef UIT_EMP_IO_MEMORYISTREAM_HPP
#define UIT_EMP_IO_MEMORYISTREAM_HPP
#ifndef UIT_EMP_IO_MEMORYISTREAM_HPP_INCLUDE
#define UIT_EMP_IO_MEMORYISTREAM_HPP_INCLUDE

#ifdef UIT_VENDORIZE_EMP
#include "../vendorization/push_uit_emp.hh"
Expand All @@ -17,4 +17,4 @@ namespace uit_emp = emp;
#include "../vendorization/pop_uit_emp.hh"
#endif // #ifdef UIT_VENDORIZE_EMP

#endif // #ifndef UIT_EMP_IO_MEMORYISTREAM_HPP
#endif // #ifndef UIT_EMP_IO_MEMORYISTREAM_HPP_INCLUDE
6 changes: 3 additions & 3 deletions include/uit_emp/math/Random.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once
#ifndef UIT_EMP_MATH_RANDOM_HPP
#define UIT_EMP_MATH_RANDOM_HPP
#ifndef UIT_EMP_MATH_RANDOM_HPP_INCLUDE
#define UIT_EMP_MATH_RANDOM_HPP_INCLUDE

#ifdef UIT_VENDORIZE_EMP
#include "../vendorization/push_uit_emp.hh"
Expand All @@ -17,4 +17,4 @@ namespace uit_emp = emp;
#include "../vendorization/pop_uit_emp.hh"
#endif // #ifdef UIT_VENDORIZE_EMP

#endif // #ifndef UIT_EMP_MATH_RANDOM_HPP
#endif // #ifndef UIT_EMP_MATH_RANDOM_HPP_INCLUDE
6 changes: 3 additions & 3 deletions include/uit_emp/math/math.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once
#ifndef UIT_EMP_MATH_MATH_HPP
#define UIT_EMP_MATH_MATH_HPP
#ifndef UIT_EMP_MATH_MATH_HPP_INCLUDE
#define UIT_EMP_MATH_MATH_HPP_INCLUDE

#ifdef UIT_VENDORIZE_EMP
#include "../vendorization/push_uit_emp.hh"
Expand All @@ -17,4 +17,4 @@ namespace uit_emp = emp;
#include "../vendorization/pop_uit_emp.hh"
#endif // #ifdef UIT_VENDORIZE_EMP

#endif // #ifndef UIT_EMP_MATH_MATH_HPP
#endif // #ifndef UIT_EMP_MATH_MATH_HPP_INCLUDE
6 changes: 3 additions & 3 deletions include/uit_emp/math/random_utils.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once
#ifndef UIT_EMP_MATH_RANDOM_UTILS_HPP
#define UIT_EMP_MATH_RANDOM_UTILS_HPP
#ifndef UIT_EMP_MATH_RANDOM_UTILS_HPP_INCLUDE
#define UIT_EMP_MATH_RANDOM_UTILS_HPP_INCLUDE

#ifdef UIT_VENDORIZE_EMP
#include "../vendorization/push_uit_emp.hh"
Expand All @@ -17,4 +17,4 @@ namespace uit_emp = emp;
#include "../vendorization/pop_uit_emp.hh"
#endif // #ifdef UIT_VENDORIZE_EMP

#endif // #ifndef UIT_EMP_MATH_RANDOM_UTILS_HPP
#endif // #ifndef UIT_EMP_MATH_RANDOM_UTILS_HPP_INCLUDE
6 changes: 3 additions & 3 deletions include/uit_emp/meta/TypePack.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once
#ifndef UIT_EMP_META_TYPEPACK_HPP
#define UIT_EMP_META_TYPEPACK_HPP
#ifndef UIT_EMP_META_TYPEPACK_HPP_INCLUDE
#define UIT_EMP_META_TYPEPACK_HPP_INCLUDE

#ifdef UIT_VENDORIZE_EMP
#include "../vendorization/push_uit_emp.hh"
Expand All @@ -17,4 +17,4 @@ namespace uit_emp = emp;
#include "../vendorization/pop_uit_emp.hh"
#endif // #ifdef UIT_VENDORIZE_EMP

#endif // #ifndef UIT_EMP_META_TYPEPACK_HPP
#endif // #ifndef UIT_EMP_META_TYPEPACK_HPP_INCLUDE
6 changes: 3 additions & 3 deletions include/uit_emp/meta/meta.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once
#ifndef UIT_EMP_META_META_HPP
#define UIT_EMP_META_META_HPP
#ifndef UIT_EMP_META_META_HPP_INCLUDE
#define UIT_EMP_META_META_HPP_INCLUDE

#ifdef UIT_VENDORIZE_EMP
#include "../vendorization/push_uit_emp.hh"
Expand All @@ -17,4 +17,4 @@ namespace uit_emp = emp;
#include "../vendorization/pop_uit_emp.hh"
#endif // #ifdef UIT_VENDORIZE_EMP

#endif // #ifndef UIT_EMP_META_META_HPP
#endif // #ifndef UIT_EMP_META_META_HPP_INCLUDE
6 changes: 3 additions & 3 deletions include/uit_emp/polyfill/span.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once
#ifndef UIT_EMP_POLYFILL_SPAN_HPP
#define UIT_EMP_POLYFILL_SPAN_HPP
#ifndef UIT_EMP_POLYFILL_SPAN_HPP_INCLUDE
#define UIT_EMP_POLYFILL_SPAN_HPP_INCLUDE

#ifdef UIT_VENDORIZE_EMP
#include "../vendorization/push_uit_emp.hh"
Expand All @@ -17,4 +17,4 @@ namespace uit_emp = emp;
#include "../vendorization/pop_uit_emp.hh"
#endif // #ifdef UIT_VENDORIZE_EMP

#endif // #ifndef UIT_EMP_POLYFILL_SPAN_HPP
#endif // #ifndef UIT_EMP_POLYFILL_SPAN_HPP_INCLUDE
6 changes: 3 additions & 3 deletions include/uit_emp/tools/keyname_utils.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once
#ifndef UIT_EMP_TOOLS_KEYNAME_UTILS_HPP
#define UIT_EMP_TOOLS_KEYNAME_UTILS_HPP
#ifndef UIT_EMP_TOOLS_KEYNAME_UTILS_HPP_INCLUDE
#define UIT_EMP_TOOLS_KEYNAME_UTILS_HPP_INCLUDE

#ifdef UIT_VENDORIZE_EMP
#include "../vendorization/push_uit_emp.hh"
Expand All @@ -17,4 +17,4 @@ namespace uit_emp = emp;
#include "../vendorization/pop_uit_emp.hh"
#endif // #ifdef UIT_VENDORIZE_EMP

#endif // #ifndef UIT_EMP_TOOLS_KEYNAME_UTILS_HPP
#endif // #ifndef UIT_EMP_TOOLS_KEYNAME_UTILS_HPP_INCLUDE
6 changes: 3 additions & 3 deletions include/uit_emp/tools/string_utils.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once
#ifndef UIT_EMP_TOOLS_STRING_UTILS_HPP
#define UIT_EMP_TOOLS_STRING_UTILS_HPP
#ifndef UIT_EMP_TOOLS_STRING_UTILS_HPP_INCLUDE
#define UIT_EMP_TOOLS_STRING_UTILS_HPP_INCLUDE

#ifdef UIT_VENDORIZE_EMP
#include "../vendorization/push_uit_emp.hh"
Expand All @@ -17,4 +17,4 @@ namespace uit_emp = emp;
#include "../vendorization/pop_uit_emp.hh"
#endif // #ifdef UIT_VENDORIZE_EMP

#endif // #ifndef UIT_EMP_TOOLS_STRING_UTILS_HPP
#endif // #ifndef UIT_EMP_TOOLS_STRING_UTILS_HPP_INCLUDE
2 changes: 1 addition & 1 deletion include/uitsl/concurrent/Gatherer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
#define UITSL_CONCURRENT_GATHERER_HPP_INCLUDE

#include <algorithm>
#include <optional>
#include <numeric>
#include <optional>
#include <thread>
#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion include/uitsl/concurrent/ThreadSafeIbarrierRequest.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
#ifndef UITSL_CONCURRENT_THREADSAFEIBARRIERREQUEST_HPP_INCLUDE
#define UITSL_CONCURRENT_THREADSAFEIBARRIERREQUEST_HPP_INCLUDE

#include <optional>
#include <mutex>
#include <optional>

#include <mpi.h>

Expand Down
Loading

0 comments on commit 8a655cc

Please sign in to comment.