26 #if defined(ALPAKA_ACC_GPU_CUDA_ENABLED) || defined(ALPAKA_ACC_GPU_HIP_ENABLED)
32 template<
typename TPlatform,
typename TSfinae>
36 namespace uniform_cuda_hip::detail
38 template<
typename TApi,
bool TBlocking>
39 class QueueUniformCudaHipRt;
42 template<
typename TApi>
45 template<
typename TApi>
48 template<
typename TApi>
51 template<
typename TApi,
typename TElem,
typename TDim,
typename TIdx>
55 template<
typename TApi>
72 return m_iDevice == rhs.m_iDevice;
77 return !((*this) == rhs);
87 return m_QueueRegistry->getAllExistingQueues();
94 m_QueueRegistry->registerQueue(spQueue);
100 , m_QueueRegistry(std::make_shared<
alpaka::detail::QueueRegistry<IDeviceQueue>>())
106 std::shared_ptr<alpaka::detail::QueueRegistry<IDeviceQueue>> m_QueueRegistry;
112 template<
typename TApi>
119 typename TApi::DeviceProp_t devProp;
122 return std::string(devProp.name);
127 template<
typename TApi>
135 std::size_t freeInternal(0u);
136 std::size_t totalInternal(0u);
140 return totalInternal;
145 template<
typename TApi>
153 std::size_t freeInternal(0u);
154 std::size_t totalInternal(0u);
163 template<
typename TApi>
173 template<
typename TApi>
181 TApi::deviceGetAttribute(&
warpSize, TApi::deviceAttributeWarpSize, dev.getNativeHandle()));
182 return static_cast<std::size_t
>(
warpSize);
186 # ifdef ALPAKA_ACC_GPU_CUDA_ENABLED
201 template<
typename TApi>
215 template<
typename TApi>
225 template<
typename TApi,
typename TElem,
typename TDim,
typename TIdx>
232 template<
typename TApi>
242 template<
typename TApi>
255 template<
typename TApi>
261 template<
typename TApi>
#define ALPAKA_DEBUG_FULL_LOG_SCOPE
constexpr std::uint32_t warpSize
This is a shortcut for the trait defined above.
The alpaka accelerator library.
constexpr ALPAKA_FN_HOST auto getPreferredWarpSize(TDev const &dev) -> std::size_t
Tag used in class inheritance hierarchies that describes that a specific interface (TInterface) is im...
The memory buffer type trait.
The device free memory size get trait.
The device memory size get trait.
The device name get trait.
The device preferred warp size get trait.
The device warp size get trait.
Queue for an accelerator.