Improve async copy implementation.

- Add device-side signal waits when transitioning between command classes
(Kernel, H2D copy, D2H copy).
- Support waiting in staged memory copies as well.
- Add several chicken bits to control implementation:
    - HIP_DISABLE_ENQ_BARRIER
    - HIP_DISABLE_BIDIR_MEMCPY
    - HIP_ONESHOT_COPY_DEP
- Refactor signal pool to support efficient deallocation based on
signsequnm.
- Deallocate copy signals on eventSynchronize.
- Improve copy tests, add pingpong.
Este commit está contenido en:
Ben Sander
2016-02-22 23:15:24 -06:00
padre d33d806a5b
commit 549b18ce77
Se han modificado 3 ficheros con 462 adiciones y 226 borrados
+1 -1
Ver fichero
@@ -88,7 +88,7 @@ vectorADD(hipLaunchParm lp,
size_t stride = hipBlockDim_x * hipGridDim_x ;
for (size_t i=offset; i<N; i+=stride) {
C_d[i] = A_d[i] + B_d[i];
C_d[i] = A_d[i] + B_d[i];
}
}