Skip to content

Commit da0a638

Browse files
author
Timmy
committed
bug fix
1 parent d481f72 commit da0a638

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/client/clfunc_xgemm.hpp

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -554,12 +554,7 @@ class xGemm : public clblasFunc
554554
(buffer_.ldc_ * buffer_.c_num_vectors_ +
555555
buffer_.offC_) * sizeof(T),
556556
buffer_.c_, &err);
557-
xGemm_Function(false);
558-
err = clEnqueueReadBuffer(queue_, buffer_.buf_c_, CL_TRUE,
559-
buffer_.offC_ * sizeof(T), buffer_.ldc_ * buffer_.c_num_vectors_ *
560-
sizeof(T),
561-
buffer_.c_, 0, NULL, &event_);
562-
clWaitForEvents(1, &event_);
557+
xGemm_Function(true);
563558
timer.Stop(timer_id);
564559
}
565560
void usepersismem_roundtrip_func()

0 commit comments

Comments
 (0)