Skip to content

Commit

Permalink
m_cudaDev isn't static anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
masterleinad committed Nov 7, 2023
1 parent a07c7a2 commit 403c34f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/Cuda/Kokkos_Cuda_Instance.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,7 @@ void Cuda::impl_initialize(InitializationSettings const &settings) {

const struct cudaDeviceProp &cudaProp = dev_info.m_cudaProp[cuda_device_id];

Impl::CudaInternal::m_cudaDev = cuda_device_id;
m_cudaDev = cuda_device_id;
Impl::CudaInternal::m_deviceProp = cudaProp;

Kokkos::Impl::cuda_device_synchronize(
Expand Down

0 comments on commit 403c34f

Please sign in to comment.