Reduce threads on cuda
This commit is contained in:
@@ -35,7 +35,11 @@ THE SOFTWARE.
|
|||||||
|
|
||||||
#define LEN 64
|
#define LEN 64
|
||||||
#define SIZE LEN << 2
|
#define SIZE LEN << 2
|
||||||
|
#ifdef __CUDACC__
|
||||||
|
#define THREADS 1
|
||||||
|
#else
|
||||||
#define THREADS 8
|
#define THREADS 8
|
||||||
|
#endif
|
||||||
|
|
||||||
#define FILENAME "vcpy_kernel.code"
|
#define FILENAME "vcpy_kernel.code"
|
||||||
#define kernel_name "hello_world"
|
#define kernel_name "hello_world"
|
||||||
|
|||||||
Reference in New Issue
Block a user