add hipStreamQuery on nvcc, fix hipStreamWaitEvent for nvcc
This commit is contained in:
@@ -489,6 +489,11 @@ inline static hipError_t hipStreamWaitEvent(hipStream_t stream, hipEvent_t event
|
||||
return hipCUDAErrorTohipError(cudaStreamWaitEvent(stream, event, flags));
|
||||
}
|
||||
|
||||
inline static hipError_t hipStreamQuery(hipStream_t stream)
|
||||
{
|
||||
return hipCUDAErrorTohipError(cudaStreamQuery(stream));
|
||||
}
|
||||
|
||||
|
||||
inline static hipError_t hipDriverGetVersion(int *driverVersion)
|
||||
{
|
||||
|
||||
@@ -21,6 +21,7 @@ THE SOFTWARE.
|
||||
|
||||
#include "hip_runtime.h"
|
||||
#include "test_common.h"
|
||||
#include <vector>
|
||||
unsigned p_streams = 6;
|
||||
|
||||
|
||||
|
||||
Fai riferimento in un nuovo problema
Block a user