From e330dadb9fd292ad7f9c44cdba096631f223541b Mon Sep 17 00:00:00 2001 From: Zach Puller Date: Thu, 21 Nov 2024 15:42:52 -0800 Subject: [PATCH] clang format Signed-off-by: Zach Puller --- src/main/cpp/src/SparkResourceAdaptorJni.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/cpp/src/SparkResourceAdaptorJni.cpp b/src/main/cpp/src/SparkResourceAdaptorJni.cpp index a1ca8eedf..31a603411 100644 --- a/src/main/cpp/src/SparkResourceAdaptorJni.cpp +++ b/src/main/cpp/src/SparkResourceAdaptorJni.cpp @@ -1379,8 +1379,7 @@ class spark_resource_adaptor final : public rmm::mr::device_memory_resource { if (!is_for_cpu) { gpu_memory_allocated_bytes += num_bytes; thread->second.metrics.gpu_max_memory_allocated = - std::max(thread->second.metrics.gpu_max_memory_allocated, - gpu_memory_allocated_bytes); + std::max(thread->second.metrics.gpu_max_memory_allocated, gpu_memory_allocated_bytes); } break; default: break;