Reduce threads on cuda
Этот коммит содержится в:
1 родитель
2d9a2d866c
Коммит
30e8dfdd86
1 file changed
+4
@@ -35,7 +35,11 @@ THE SOFTWARE.
|
||||
|
||||
#define LEN 64
|
||||
#define SIZE LEN << 2
|
||||
#ifdef __CUDACC__
|
||||
#define THREADS 1
|
||||
#else
|
||||
#define THREADS 8
|
||||
#endif
|
||||
|
||||
#define FILENAME "vcpy_kernel.code"
|
||||
#define kernel_name "hello_world"
|
||||
|
||||
Reference in new issue
Block a user