From f13e170751cb53c186bde0f50349cf4a137d429f Mon Sep 17 00:00:00 2001 From: Paul Mullowney Date: Fri, 13 Dec 2024 11:05:49 -0600 Subject: [PATCH] Manual formatting --- src/Simulation.C | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/Simulation.C b/src/Simulation.C index 25aa3e2be..597b0f9d9 100644 --- a/src/Simulation.C +++ b/src/Simulation.C @@ -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. @@ -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.