USE_ASYNC_COPY in cg_singledev (Defect #723)


Added by Christopher Pinke almost 3 years ago. Updated almost 3 years ago.


Status:New Start date:02 Dec 2014
Priority:Normal Due date:
Assignee:Matthias Bach % Done:

0%

Category:-
Target version:-

Description

This feature is currently not implemented, what is the reason for that?
Also, it appears only in the cg_singledev, not in cg_multidev. Shouldn`t it be the other way around?


History

Updated by Matthias Bach almost 3 years ago

I am unaware of it not being implemented. I would have to check into that.

The feature only makes sense in the single device scenario. The copy refers to copying data between host and device, not between devices. Here, residual copy was overlapped with other calculations. In the multi-device scenario this does not make sense because inside the matrix-vector multiplication there is a "synchroneous" copy anyhow. (The copy might still overlap with parts of the matrix-vector multiplication.)

Updated by Christopher Pinke almost 3 years ago

The code in the cg_singledev is simply commented out...

Also available in: Atom PDF