Skip to content

Commit

Permalink
Formatting and fix a test
Browse files Browse the repository at this point in the history
  • Loading branch information
bcaddy committed Mar 13, 2024
1 parent d8bd182 commit 3ad1973
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/reconstruction/pcm_cuda.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace reconstruction
{
/*!
/*!
* \brief Perform PCM reconstruction for a given cell
*
* \tparam direction The direction that the solve is taking place in. 0=X, 1=Y, 2=Z
Expand Down
1 change: 0 additions & 1 deletion src/reconstruction/plmc_cuda_tests.cu
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@ TEST(tHYDROPlmcReconstructor, CorrectInputExpectCorrectOutput)
cuda_utilities::DeviceVector<double> dev_interface_right(host_grid.size(), true);

// Launch kernel
std::cout << "direction = " << direction << std::endl;
switch (direction) {
case 0:
hipLaunchKernelGGL(PLMC_cuda<0>, dev_grid.size(), 1, 0, 0, dev_grid.data(), dev_interface_left.data(),
Expand Down
8 changes: 4 additions & 4 deletions src/reconstruction/reconstruction_internals_tests.cu
Original file line number Diff line number Diff line change
Expand Up @@ -207,13 +207,13 @@ TEST(tALLReconstructionRiemannThreadGuard, CorrectInputExpectCorrectOutput)
{
// Test parameters
int const order = 3;
int const nx = 5;
int const ny = 5;
int const nz = 5;
int const nx = 6;
int const ny = 6;
int const nz = 6;

// fiducial data
std::vector<int> fiducial_vals(nx * ny * nz, 1);
fiducial_vals.at(62) = 0;
fiducial_vals.at(86) = 0;

// loop through all values of the indices and check them
for (int xid = 0; xid < nx; xid++) {
Expand Down

0 comments on commit 3ad1973

Please sign in to comment.