Skip to content

Commit c4dbe5c

Browse files
committed
Fixing warnings
1 parent b5cf7dd commit c4dbe5c

File tree

2 files changed

+1
-15
lines changed

2 files changed

+1
-15
lines changed

Common/include/linear_algebra/CSysMatrix.hpp

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -148,15 +148,10 @@ class CSysMatrix {
148148
ScalarType* d_matrix; /*!< \brief Device Pointer to store the matrix values on the GPU. */
149149
const unsigned long* d_row_ptr; /*!< \brief Device Pointers to the first element in each row. */
150150
const unsigned long* d_col_ind; /*!< \brief Device Column index for each of the elements in val(). */
151-
<<<<<<< HEAD
152-
bool useCuda; /*!< \brief Boolean that indicates whether user has enabled CUDA or not.
153-
Mainly used to conditionally free GPU memory in the class destructor. */
154-
=======
155151
const unsigned long* d_dia_ptr; /*!< \brief Device Column index for each of the elements in val(). */
156152
unsigned long* d_partition_offsets;
157153
bool useCuda; /*!< \brief Boolean that indicates whether user has enabled CUDA or not.
158154
Mainly used to conditionally free GPU memory in the class destructor. */
159-
>>>>>>> precond_port
160155

161156
ScalarType* ILU_matrix; /*!< \brief Entries of the ILU sparse matrix. */
162157
unsigned long nnz_ilu; /*!< \brief Number of possible nonzero entries in the matrix (ILU). */
@@ -868,11 +863,6 @@ class CSysMatrix {
868863
const CConfig* config) const;
869864

870865
/*!
871-
<<<<<<< HEAD
872-
<<<<<<< HEAD
873-
=======
874-
=======
875-
>>>>>>> precond_port
876866
* \brief Performs first step of the LU_SGS Preconditioner building
877867
* \param[in] vec - CSysVector to be multiplied by the sparse matrix A.
878868
* \param[in] geometry - Geometrical definition of the problem.
@@ -898,10 +888,6 @@ class CSysMatrix {
898888
void GPUGaussElimination(ScalarType& prod, CGeometry* geometry, const CConfig* config) const;
899889

900890
/*!
901-
<<<<<<< HEAD
902-
>>>>>>> upstream/develop
903-
=======
904-
>>>>>>> precond_port
905891
* \brief Multiply CSysVector by the preconditioner all of which are stored on the device
906892
* \param[in] vec - CSysVector to be multiplied by the preconditioner.
907893
* \param[out] prod - Result of the product A*vec.

Common/include/option_structure.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ namespace cudaKernelParameters{
8989
inline unsigned int rounded_down_division(int divisor, int dividend) { return ((dividend - divisor + 1) / divisor); }
9090

9191
static constexpr short CUDA_WARP_SIZE = 32; /*!< \brief Outlines the numbers of threads per warp for a CUDA GPU. */
92-
};
92+
}
9393

9494
const unsigned int EXIT_DIVERGENCE = 2; /*!< \brief Exit code (divergence). */
9595

0 commit comments

Comments
 (0)