From 4d68caed4872bec6862edf39e3374746f76594d0 Mon Sep 17 00:00:00 2001 From: Indrajit Bhosale Date: Wed, 5 Jun 2024 17:24:51 -0700 Subject: [PATCH] Indentation fixed --- src/pinned_memory_manager.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pinned_memory_manager.cc b/src/pinned_memory_manager.cc index 6c45feb5b..16c41d059 100644 --- a/src/pinned_memory_manager.cc +++ b/src/pinned_memory_manager.cc @@ -263,8 +263,8 @@ PinnedMemoryManager::Create(const Options& options) instance_.reset(new PinnedMemoryManager()); if (options.host_policy_map_.empty()) { void* buffer = nullptr; -#ifdef TRITON_ENABLE_GPU if (options.pinned_memory_pool_byte_size_ > 0) { +#ifdef TRITON_ENABLE_GPU auto err = cudaHostAlloc( &buffer, options.pinned_memory_pool_byte_size_, cudaHostAllocPortable); @@ -324,8 +324,8 @@ PinnedMemoryManager::Create(const Options& options) continue; } void* buffer = nullptr; -#ifdef TRITON_ENABLE_GPU if (options.pinned_memory_pool_byte_size_ > 0) { +#ifdef TRITON_ENABLE_GPU auto err = cudaHostAlloc( &buffer, options.pinned_memory_pool_byte_size_, cudaHostAllocPortable);