From 10d59996a08ac167e43ccee5078f4722b2853139 Mon Sep 17 00:00:00 2001 From: Christian Kaever Date: Fri, 1 Sep 2023 12:19:46 +0200 Subject: [PATCH] rename Platform to PlatformForMappedAlloc, as Platform exists already as a Trait --- include/alpaka/mem/buf/Traits.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/alpaka/mem/buf/Traits.hpp b/include/alpaka/mem/buf/Traits.hpp index 179c72ec9aec..1a493aa23020 100644 --- a/include/alpaka/mem/buf/Traits.hpp +++ b/include/alpaka/mem/buf/Traits.hpp @@ -1,5 +1,5 @@ /* Copyright 2023 Alexander Matthes, Benjamin Worpitz, Andrea Bocci, Bernhard Manfred Gruber, Jan Stephan, - * Christian Kaever + * Christian Kaever * SPDX-License-Identifier: MPL-2.0 */ @@ -177,10 +177,10 @@ namespace alpaka TPlatform const& platform, TExtent const& extent = TExtent()) { - using Platform = Platform; - if constexpr(hasMappedBufSupport) + using PlatformForMappedAlloc = Platform; + if constexpr(hasMappedBufSupport) { - return allocMappedBuf(host, platform, extent); + return allocMappedBuf(host, platform, extent); } else {