Skip to content

Commit e35f9d7

Browse files
authored
Merge pull request #852 from psychocoderHPC/fix-cudaStreamDataRace
fix cuda stream race condition
2 parents 57c4e97 + eb69060 commit e35f9d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/alpaka/stream/StreamCudaRtSync.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ namespace alpaka
8787
ALPAKA_CUDA_RT_CHECK(
8888
cudaStreamCreateWithFlags(
8989
&m_CudaStream,
90-
cudaStreamNonBlocking));
90+
cudaStreamDefault));
9191
}
9292
//-----------------------------------------------------------------------------
9393
StreamCudaRtSyncImpl(StreamCudaRtSyncImpl const &) = delete;

0 commit comments

Comments
 (0)