Skip to content

Commit 9d5e977

Browse files
committed
Fix typo in sycl implementation
1 parent 06243e1 commit 9d5e977

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

include/alpaka/dev/DevGenericSycl.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,9 +244,9 @@ namespace alpaka
244244
{
245245
{
246246
std::lock_guard<std::mutex> lock(*dev.m_mutex);
247-
if(dev.m_deviceProperties->preferredWarpSize.has_value())
247+
if(dev.m_deviceProperties->warpSizes.has_value())
248248
{
249-
return dev.m_deviceProperties->preferredWarpSize.value().front();
249+
return dev.m_deviceProperties->warpSizes.value().front();
250250
}
251251
}
252252
return GetWarpSizes<DevGenericSycl<TTag>>::getWarpSizes(dev).front();

include/alpaka/dev/DevUniformCudaHipRt.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ namespace alpaka
6767
DevUniformCudaHipRt()
6868
: m_QueueRegistry{std::make_shared<alpaka::detail::QueueRegistry<IDeviceQueue>>()}
6969
, m_deviceProperties{std::make_shared<alpaka::DeviceProperties>()}
70+
, m_mutex(std::make_shared<std::mutex>())
7071
{
7172
}
7273

0 commit comments

Comments
 (0)