some tuning
This commit is contained in:
3
examples_ptx/mergeSort/keyType.h
Normal file
3
examples_ptx/mergeSort/keyType.h
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
#pragma once
|
||||||
|
typedef float Key_t;
|
||||||
|
typedef int Val_t;
|
||||||
@@ -30,8 +30,7 @@ static inline void progressbar (unsigned int x, unsigned int n, unsigned int w =
|
|||||||
cout << "]\r" << flush;
|
cout << "]\r" << flush;
|
||||||
}
|
}
|
||||||
|
|
||||||
typedef float Key_t;
|
#include "keyType.h"
|
||||||
typedef int Val_t;
|
|
||||||
struct Key
|
struct Key
|
||||||
{
|
{
|
||||||
Key_t key;
|
Key_t key;
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
typedef float Key_t;
|
#include "keyType.h"
|
||||||
typedef int Val_t;
|
|
||||||
|
|
||||||
#define SAMPLE_STRIDE programCount
|
#define SAMPLE_STRIDE programCount
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user