Skip to content

Commit

Permalink
Apply code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
fwyzard committed Oct 20, 2020
1 parent 230403b commit 1c0e66d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions CUDADataFormats/CaloCommon/interface/Common.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ namespace calo {
uint32_t size;
};

template<>
template <>
struct AddSize<tags::DevPtr> {
uint32_t size;
uint32_t size;
};

struct ViewStoragePolicy {
Expand All @@ -43,9 +43,9 @@ namespace calo {
struct DevStoragePolicy {
using TagType = tags::DevPtr;

template<typename T>
template <typename T>
struct StorageSelector {
using type = cms::cuda::device::unique_ptr<T[]>;
using type = cms::cuda::device::unique_ptr<T[]>;
};
};

Expand All @@ -58,7 +58,7 @@ namespace calo {
using type = std::vector<T, Allocator<T>>;
};
};

template <typename T>
using CUDAHostAllocatorAlias = cms::cuda::HostAllocator<T>;

Expand Down

0 comments on commit 1c0e66d

Please sign in to comment.