File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -223,7 +223,7 @@ namespace alpaka
223223 {
224224 static auto getWarpSizes (DevGenericSycl<TTag> const & dev) -> std::vector<std::size_t>
225225 {
226- auto & warpSizes = dev.m_impl ->deviceProperties ().warpSizes
226+ auto & warpSizes = dev.m_impl ->deviceProperties ().warpSizes ;
227227 {
228228 std::lock_guard<std::shared_mutex> lock (dev.m_impl ->mutex ());
229229 if (!warpSizes.has_value ())
Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ namespace alpaka
172172 {
173173 ALPAKA_FN_HOST static auto getFreeMemBytes (DevUniformCudaHipRt<TApi> const & dev) -> std::size_t
174174 {
175- auto & freeInternal = dev.m_QueueRegistry ->deviceProperties ().freeInternal ;
175+ auto & totalGlobalMem = dev.m_QueueRegistry ->deviceProperties ().totalGlobalMem ;
176176 std::size_t freeInternal (0u );
177177 {
178178 std::lock_guard<std::mutex> lock (dev.m_QueueRegistry ->mutex ());
@@ -216,7 +216,7 @@ namespace alpaka
216216 &warpSize,
217217 TApi::deviceAttributeWarpSize,
218218 dev.getNativeHandle ()));
219- warpSizes = std::vector<std::size_t >{warpSize};
219+ warpSizes = std::vector<std::size_t >{static_cast <std:: size_t >( warpSize) };
220220 }
221221 }
222222 }
You can’t perform that action at this time.
0 commit comments