From e40b12c159570aa858e0fa0587ab5f26fe181d03 Mon Sep 17 00:00:00 2001
From: Yasya Rusyda <yasyars@Yasyas-MacBook-Pro.local>
Date: Thu, 11 Apr 2019 18:34:32 +0700
Subject: [PATCH] add something

---
 src/radix_par2.cu | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/radix_par2.cu b/src/radix_par2.cu
index eae49a3..356cdad 100644
--- a/src/radix_par2.cu
+++ b/src/radix_par2.cu
@@ -18,7 +18,7 @@ int getMax(int arr[], int n)
 // the digit represented by exp. 
 __global__ void countSort(int arr[], int n, int exp) 
 { 
-    int output[n]; // output array 
+    int *output= (int*)malloc(sizeof(int)*n); // output array 
     int i, count[10] = {0}; 
   
     // Store count of occurrences in count[] 
-- 
GitLab