Skip to content

Commit a052b62

Browse files
committed
Use m_oroutils.copyDtoDAsync
Signed-off-by: Chih-Chen Kao <[email protected]>
1 parent 34aa200 commit a052b62

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ParallelPrimitives/RadixSort.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,11 +298,11 @@ void RadixSort::sort( const KeyValueSoA& src, const KeyValueSoA& dst, uint32_t n
298298

299299
if( s.key == src.key )
300300
{
301-
oroMemcpyDtoDAsync( (oroDeviceptr)dst.key, (oroDeviceptr)src.key, sizeof( uint32_t ) * n, stream );
301+
m_oroutils.copyDtoDAsync(dst.key, src.key, n, stream);
302302

303303
if( keyPair )
304304
{
305-
oroMemcpyDtoDAsync( (oroDeviceptr)dst.value, (oroDeviceptr)src.value, sizeof( uint32_t ) * n, stream );
305+
m_oroutils.copyDtoDAsync(dst.value, src.value, n, stream);
306306
}
307307
}
308308
}

0 commit comments

Comments
 (0)