From 28aad46674b67d0da8f98484f05ab9b1ee5127d2 Mon Sep 17 00:00:00 2001 From: pensun Date: Sun, 23 Oct 2016 12:36:02 -0500 Subject: [PATCH] Modify hipStreamAddCallback test case to consider both NULL stream and stream Change-Id: I8468c988f0f01c7d3f3176a01469d69bf7a68237 --- .../stream/hipStreamAddCallback.cpp | 45 +++---------------- 1 file changed, 5 insertions(+), 40 deletions(-) diff --git a/tests/src/runtimeApi/stream/hipStreamAddCallback.cpp b/tests/src/runtimeApi/stream/hipStreamAddCallback.cpp index d6169fc806..07a64a194d 100644 --- a/tests/src/runtimeApi/stream/hipStreamAddCallback.cpp +++ b/tests/src/runtimeApi/stream/hipStreamAddCallback.cpp @@ -28,21 +28,6 @@ THE SOFTWARE. #include "hip/hip_runtime.h" #include "test_common.h" #define HIPRT_CB -const int NN = 1 << 21; - -__global__ void kernel(hipLaunchParm lp, float *x, float *y, int n){ - int tid = hipThreadIdx_x; - if(tid < 1){ - for(int i=0;i