Remove USE_AV_COPY, USE_PEER_TO_PEER fallback paths.

Change-Id: I9c20173e62029c4caebabc98784c6d7697758e4f


[ROCm/clr commit: 60f797cc5a]
This commit is contained in:
Ben Sander
2016-09-11 11:11:17 -05:00
parent 16f818b60f
commit 2f4c30ff79
4 changed files with 0 additions and 32 deletions
-9
View File
@@ -74,12 +74,6 @@ hipError_t hipStreamCreate(hipStream_t *stream)
}
#if USE_AV_COPY==0
//---
/**
* @bug This function conservatively waits for all work in the specified stream to complete.
*/
#endif
hipError_t hipStreamWaitEvent(hipStream_t stream, hipEvent_t event, unsigned int flags)
{
HIP_INIT_API(stream, event, flags);
@@ -93,14 +87,11 @@ hipError_t hipStreamWaitEvent(hipStream_t stream, hipEvent_t event, unsigned int
bool fastWait = false;
#if USE_AV_COPY
if (stream != hipStreamNull) {
stream->locked_waitEvent(event);
fastWait = true; // don't use the slow host-side synchronization.
}
// TODO - clean up if/else logic when USE_AV_COPY enabled.
#endif
if (!fastWait) {
// TODO-hcc Convert to use create_blocking_marker(...) functionality.