Skip to content

Commit

Permalink
Manual formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulMullowney committed Dec 13, 2024
1 parent fa1dff4 commit f13e170
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/Simulation.C
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ Simulation::Simulation(const YAML::Node& root_node)
cudaDeviceGetLimit(&default_stack_size, cudaLimitStackSize);
cudaDeviceSetLimit(cudaLimitStackSize, nalu_stack_size);
#elif defined(KOKKOS_ENABLE_HIP)
hipError_t err =
hipDeviceGetLimit(&default_stack_size, hipLimitStackSize);
hipError_t err = hipDeviceGetLimit(&default_stack_size, hipLimitStackSize);
if (err != hipSuccess) {
/*
This might be useful at some point so keeping it and commenting out.
Expand Down Expand Up @@ -82,8 +81,7 @@ Simulation::~Simulation()
#if defined(KOKKOS_ENABLE_CUDA)
cudaDeviceSetLimit(cudaLimitStackSize, default_stack_size);
#elif defined(KOKKOS_ENABLE_HIP)
hipError_t err =
hipDeviceSetLimit(hipLimitStackSize, default_stack_size);
hipError_t err = hipDeviceSetLimit(hipLimitStackSize, default_stack_size);
if (err != hipSuccess) {
/*
This might be useful at some point so keeping it and commenting out.
Expand Down

0 comments on commit f13e170

Please sign in to comment.