added type definition for real
This commit is contained in:
6
examples_ptx/nbody/realType.h
Normal file
6
examples_ptx/nbody/realType.h
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
#pragma once
|
||||||
|
#if 1
|
||||||
|
typedef double real;
|
||||||
|
#else
|
||||||
|
typedef float real;
|
||||||
|
#endif
|
||||||
Reference in New Issue
Block a user