From 8a28afeb84598b39b08caf00521ee94c24ee9397 Mon Sep 17 00:00:00 2001 From: Maneesh Gupta Date: Wed, 17 Jul 2019 07:28:38 +0000 Subject: [PATCH] [dtests] Fix typo in hipAPIStreamDisable.cpp (#1227) Change-Id: Ib88a6be49ba192578129bb88ad09817839981398 --- tests/src/runtimeApi/stream/hipAPIStreamDisable.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/src/runtimeApi/stream/hipAPIStreamDisable.cpp b/tests/src/runtimeApi/stream/hipAPIStreamDisable.cpp index 5d3a933a21..e7fcef4723 100644 --- a/tests/src/runtimeApi/stream/hipAPIStreamDisable.cpp +++ b/tests/src/runtimeApi/stream/hipAPIStreamDisable.cpp @@ -55,7 +55,7 @@ int main() { for (int i = 0; i < num_streams; i++) { HIPCHECK(hipStreamCreate(&streams[i])); HIPCHECK(hipMalloc(&data[i], NN * sizeof(float))); - hipLaunchKernelGGL(HIP_KERNEL_NAME(kernel), dim3(1), dim3(1), 0, streams[i], data[i], xd, N); + hipLaunchKernelGGL(HIP_KERNEL_NAME(kernel), dim3(1), dim3(1), 0, streams[i], data[i], xd, NN); hipLaunchKernelGGL(HIP_KERNEL_NAME(nKernel), dim3(1), dim3(1), 0, 0, yd); }