Skip to content

Commit

Permalink
[cuda, hip] rem anon namespace, type defs
Browse files Browse the repository at this point in the history
  • Loading branch information
pratikvn committed Aug 23, 2024
1 parent daa1087 commit e567dd2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions common/cuda_hip/base/batch_multi_vector_kernels.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,11 @@ namespace gko {
namespace kernels {
namespace GKO_DEVICE_NAMESPACE {
namespace batch_single_kernels {
namespace {


constexpr auto default_block_size = 256;


}


template <typename ValueType, typename Mapping>
__device__ __forceinline__ void scale(
const gko::batch::multi_vector::batch_item<const ValueType>& alpha,
Expand Down
4 changes: 0 additions & 4 deletions common/cuda_hip/base/types.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,8 @@

#if defined(GKO_COMPILING_CUDA)
#include "cuda/base/types.hpp"
#define device_type cuda_type
#define as_device_type as_cuda_type
#elif defined(GKO_COMPILING_HIP)
#include "hip/base/types.hip.hpp"
#define device_type hip_type
#define as_device_type as_hip_type
#else
#error "Executor definition missing"
#endif
Expand Down

0 comments on commit e567dd2

Please sign in to comment.