Skip to content
Snippets Groups Projects
Commit e40b12c1 authored by Yasya Rusyda's avatar Yasya Rusyda
Browse files

add something

parent bce7b7c7
No related merge requests found
...@@ -18,7 +18,7 @@ int getMax(int arr[], int n) ...@@ -18,7 +18,7 @@ int getMax(int arr[], int n)
// the digit represented by exp. // the digit represented by exp.
__global__ void countSort(int arr[], int n, int 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}; int i, count[10] = {0};
// Store count of occurrences in count[] // Store count of occurrences in count[]
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment