Fix a bug in device tracer.
PiperOrigin-RevId: 243477024
This commit is contained in:
parent
256add6a5b
commit
0219034f33
@ -231,7 +231,7 @@ class CuptiCallbackHook {
|
||||
src_type, dst_type, params->ByteCount, cbdata.context, nullptr);
|
||||
}
|
||||
template <typename T>
|
||||
static void StartMemcpyAsync(CUmemorytype dst_type, CUmemorytype src_type,
|
||||
static void StartMemcpyAsync(CUmemorytype src_type, CUmemorytype dst_type,
|
||||
const CUpti_CallbackData& cbdata,
|
||||
CudaEventRecorder* recorder) {
|
||||
auto params = static_cast<const T*>(cbdata.functionParams);
|
||||
|
Loading…
Reference in New Issue
Block a user