Skip to content

Commit bbc701a

Browse files
committed
add test for matrix_cl.setZero()
1 parent 42291fb commit bbc701a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

stan/math/opencl/matrix_cl.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,6 @@ class matrix_cl : public matrix_cl_base {
526526
opencl_context.queue().enqueueFillBuffer(buffer_cl_, static_cast<T>(0), 0,
527527
sizeof(T) * this->size(),
528528
&read_write_events, &zero_event);
529-
zero_event.wait();
530529
} catch (const cl::Error& e) {
531530
check_opencl_error("setZero", e);
532531
}

0 commit comments

Comments
 (0)