Skip to content

Commit

Permalink
Replace directory name cuda_hip with cuda-hip to fix amalgamation
Browse files Browse the repository at this point in the history
  • Loading branch information
mehmetyusufoglu committed Jan 6, 2025
1 parent 2a513e7 commit 5b98c2e
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
14 changes: 7 additions & 7 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -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
# <alpaka/foo.hpp> after local headers (occur outside alpaka in examples and test)
- Regex: '<alpaka/([A-Za-z0-9.\/-_])+>'
- Regex: '<alpaka/([A-Za-z0-9./_\-])+>'
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: []
Expand Down
2 changes: 1 addition & 1 deletion include/alpaka/dev/DevUniformCudaHipRt.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
4 changes: 2 additions & 2 deletions include/alpaka/kernel/TaskKernelGpuUniformCudaHipRt.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
*/

#pragma once

#include "alpaka/acc/AccGpuUniformCudaHipRt.hpp"
#include "alpaka/acc/Traits.hpp"
#include "alpaka/core/BoostPredef.hpp"
Expand All @@ -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 <stdexcept>
#include <tuple>
#include <type_traits>

#if ALPAKA_DEBUG >= ALPAKA_DEBUG_MINIMAL
# include <iostream>
#endif
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion include/alpaka/queue/QueueUniformCudaHipRtBlocking.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion include/alpaka/queue/QueueUniformCudaHipRtNonBlocking.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 5b98c2e

Please sign in to comment.