merge fixes
This commit is contained in:
21
benchmarks/opencl/mri-q/macros.h
Normal file
21
benchmarks/opencl/mri-q/macros.h
Normal file
@@ -0,0 +1,21 @@
|
||||
#ifndef __MACROS__
|
||||
#define __MACROS__
|
||||
|
||||
#define PI 3.1415926535897932384626433832795029f
|
||||
#define PIx2 6.2831853071795864769252867665590058f
|
||||
|
||||
#define MIN(X,Y) ((X) < (Y) ? (X) : (Y))
|
||||
#define K_ELEMS_PER_GRID 2048
|
||||
|
||||
#define KERNEL_PHI_MAG_THREADS_PER_BLOCK 256
|
||||
#define KERNEL_Q_THREADS_PER_BLOCK 256
|
||||
#define KERNEL_Q_K_ELEMS_PER_GRID 1024
|
||||
|
||||
struct kValues {
|
||||
float Kx;
|
||||
float Ky;
|
||||
float Kz;
|
||||
float PhiMag;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user