Skip to content

Commit 98e2a59

Browse files
committed
suspicious code that may cause issue in mdsave
1 parent 18e636a commit 98e2a59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cudart/execq.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ void ExecQ::deallocate()
2323
void ExecQ::allocate()
2424
{
2525
ptr = new ExecQ::Impl;
26-
ptr->ss = nullptr;
26+
ptr->ss = g::s1;
2727
check_rt(cudaEventCreateWithFlags(&ptr->mdsave_begin_event, cudaEventDisableTiming));
2828
check_rt(cudaEventCreateWithFlags(&ptr->mdsave_end_event, cudaEventDisableTiming));
2929
}

0 commit comments

Comments
 (0)