diff --git a/.clang-format b/.clang-format index acd9fbd3b37..553a1261c62 100644 --- a/.clang-format +++ b/.clang-format @@ -135,20 +135,20 @@ UseTab: Never #IfMacros: [] IncludeCategories: # Local headers (in "") above all else - - Regex: '"([A-Za-z0-9.\/-_])+"' + - Regex: '"([A-Za-z0-9./_\-])+"' Priority: 1 - # "alpaka/foo.hpp" after local headers (occur inside alpaka) - - Regex: '"alpaka/([A-Za-z0-9.\/-_])+"' + # "alpaka/foo.hpp" after local headers (occur inside alpaka) + - Regex: '"alpaka/([A-Za-z0-9./_\-])+"' Priority: 2 # after local headers (occur outside alpaka in examples and test) - - Regex: '' + - Regex: '' Priority: 3 # C++ standard library headers are the last group to be included - - Regex: '<([A-Za-z0-9\/-_])+>' + - Regex: '<([A-Za-z0-9/_\-])+>' Priority: 5 # Includes that made it this far are third-party headers and will be placed - # below alpaka's includes - - Regex: '<([A-Za-z0-9.\/-_])+>' + # below alpaka's includes + - Regex: '<([A-Za-z0-9./_\-])+>' Priority: 4 # Macros: [] # NamespaceMacros: [] diff --git a/include/alpaka/dev/DevUniformCudaHipRt.hpp b/include/alpaka/dev/DevUniformCudaHipRt.hpp index 9954a969c75..188a81665f2 100644 --- a/include/alpaka/dev/DevUniformCudaHipRt.hpp +++ b/include/alpaka/dev/DevUniformCudaHipRt.hpp @@ -15,7 +15,7 @@ #include "alpaka/platform/Traits.hpp" #include "alpaka/queue/Properties.hpp" #include "alpaka/queue/Traits.hpp" -#include "alpaka/queue/cuda_hip/QueueUniformCudaHipRt.hpp" +#include "alpaka/queue/cuda-hip/QueueUniformCudaHipRt.hpp" #include "alpaka/traits/Traits.hpp" #include "alpaka/wait/Traits.hpp" diff --git a/include/alpaka/kernel/TaskKernelGpuUniformCudaHipRt.hpp b/include/alpaka/kernel/TaskKernelGpuUniformCudaHipRt.hpp index 53bbaf67529..562ebaaf0f8 100644 --- a/include/alpaka/kernel/TaskKernelGpuUniformCudaHipRt.hpp +++ b/include/alpaka/kernel/TaskKernelGpuUniformCudaHipRt.hpp @@ -4,7 +4,6 @@ */ #pragma once - #include "alpaka/acc/AccGpuUniformCudaHipRt.hpp" #include "alpaka/acc/Traits.hpp" #include "alpaka/core/BoostPredef.hpp" @@ -21,13 +20,14 @@ #include "alpaka/kernel/Traits.hpp" #include "alpaka/platform/Traits.hpp" #include "alpaka/queue/Traits.hpp" -#include "alpaka/queue/cuda_hip/QueueUniformCudaHipRt.hpp" +#include "alpaka/queue/cuda-hip/QueueUniformCudaHipRt.hpp" #include "alpaka/workdiv/WorkDivHelpers.hpp" #include "alpaka/workdiv/WorkDivMembers.hpp" #include #include #include + #if ALPAKA_DEBUG >= ALPAKA_DEBUG_MINIMAL # include #endif diff --git a/include/alpaka/mem/global/DeviceGlobalUniformCudaHipBuiltIn.hpp b/include/alpaka/mem/global/DeviceGlobalUniformCudaHipBuiltIn.hpp index 137670abe7a..61baee26706 100644 --- a/include/alpaka/mem/global/DeviceGlobalUniformCudaHipBuiltIn.hpp +++ b/include/alpaka/mem/global/DeviceGlobalUniformCudaHipBuiltIn.hpp @@ -7,7 +7,7 @@ #include "alpaka/dev/DevUniformCudaHipRt.hpp" #include "alpaka/mem/global/Traits.hpp" #include "alpaka/mem/view/ViewPlainPtr.hpp" -#include "alpaka/queue/cuda_hip/QueueUniformCudaHipRt.hpp" +#include "alpaka/queue/cuda-hip/QueueUniformCudaHipRt.hpp" #if defined(ALPAKA_ACC_GPU_CUDA_ENABLED) || defined(ALPAKA_ACC_GPU_HIP_ENABLED) diff --git a/include/alpaka/queue/QueueUniformCudaHipRtBlocking.hpp b/include/alpaka/queue/QueueUniformCudaHipRtBlocking.hpp index 5add0ef21ae..93ea56f8dae 100644 --- a/include/alpaka/queue/QueueUniformCudaHipRtBlocking.hpp +++ b/include/alpaka/queue/QueueUniformCudaHipRtBlocking.hpp @@ -4,7 +4,7 @@ #pragma once -#include "alpaka/queue/cuda_hip/QueueUniformCudaHipRt.hpp" +#include "alpaka/queue/cuda-hip/QueueUniformCudaHipRt.hpp" #if defined(ALPAKA_ACC_GPU_CUDA_ENABLED) || defined(ALPAKA_ACC_GPU_HIP_ENABLED) diff --git a/include/alpaka/queue/QueueUniformCudaHipRtNonBlocking.hpp b/include/alpaka/queue/QueueUniformCudaHipRtNonBlocking.hpp index 62b0b0f0884..8172f334273 100644 --- a/include/alpaka/queue/QueueUniformCudaHipRtNonBlocking.hpp +++ b/include/alpaka/queue/QueueUniformCudaHipRtNonBlocking.hpp @@ -4,7 +4,7 @@ #pragma once -#include "alpaka/queue/cuda_hip/QueueUniformCudaHipRt.hpp" +#include "alpaka/queue/cuda-hip/QueueUniformCudaHipRt.hpp" #if defined(ALPAKA_ACC_GPU_CUDA_ENABLED) || defined(ALPAKA_ACC_GPU_HIP_ENABLED) diff --git a/include/alpaka/queue/cuda_hip/QueueUniformCudaHipRt.hpp b/include/alpaka/queue/cuda-hip/QueueUniformCudaHipRt.hpp similarity index 100% rename from include/alpaka/queue/cuda_hip/QueueUniformCudaHipRt.hpp rename to include/alpaka/queue/cuda-hip/QueueUniformCudaHipRt.hpp