hipStreamWaitEvent update.
Add passed to hipStreamWaitEvent test.
Fix pointerAttrib test to work with new and old HCC versions.
Minor code touchup.
Change-Id: I139ba6ce9f6bf2b4bee89aebdec5981b4346ffc0
[ROCm/hip commit: 0923c2d261]
Этот коммит содержится в:
@@ -148,6 +148,8 @@ hipError_t hipMalloc(void** ptr, size_t sizeBytes)
|
||||
hip_status = hipErrorMemoryAllocation;
|
||||
}
|
||||
|
||||
//printf (" hipMalloc allocated %p\n", *ptr);
|
||||
|
||||
return ihipLogStatus(hip_status);
|
||||
}
|
||||
|
||||
|
||||
@@ -74,7 +74,7 @@ hipError_t hipStreamCreate(hipStream_t *stream)
|
||||
}
|
||||
|
||||
|
||||
#ifndef USE_AV_COPY
|
||||
#if USE_AV_COPY==0
|
||||
//---
|
||||
/**
|
||||
* @bug This function conservatively waits for all work in the specified stream to complete.
|
||||
@@ -93,7 +93,7 @@ hipError_t hipStreamWaitEvent(hipStream_t stream, hipEvent_t event, unsigned int
|
||||
|
||||
bool fastWait = false;
|
||||
|
||||
#ifdef USE_AV_COPY
|
||||
#if USE_AV_COPY
|
||||
if (stream != hipStreamNull) {
|
||||
printf ("HIP: wait locked stream\n");
|
||||
stream->locked_waitEvent(event);
|
||||
|
||||
Ссылка в новой задаче
Block a user