Esempio n. 1
0
  inline
  DeepCopy( const ExecutionSpace& exec, void * dst , const void * src , size_t n )
  {
    exec.fence();
    hc::completion_future fut = DeepCopyAsyncROCm (dst,src,n);
    fut.wait();
//    DeepCopyROCm (dst,src,n);
  }
Esempio n. 2
0
 DeepCopy( const ExecutionSpace& exec, void * dst , const void * src , size_t n ) {
   exec.fence();
   memcpy( dst , src , n );
 }
Esempio n. 3
0
 inline
 DeepCopy( const ExecutionSpace& exec, void * dst , const void * src , size_t n )
 {
   exec.fence();
   DeepCopyAsyncCuda (dst,src,n);
 }