File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff 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 ();
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments