Code for force calculations. Requires multiply.cu to work. More...
Go to the source code of this file.
Namespaces | |
| namespace | Kernels |
| CUDA Kernels. | |
Functions | |
| __global__ void | Kernels::Plus_staple (const int mu, const int nu, unsigned int *iu, Complex_f *Sigma11, Complex_f *Sigma12, Complex_f *u11t, Complex_f *u12t) |
| Calculates the staple in the positive \(\mu\) direction. | |
| __global__ void | Kernels::Minus_staple (const int mu, const int nu, unsigned int *iu, unsigned int *id, Complex_f *Sigma11, Complex_f *Sigma12, Complex_f *u11sh, Complex_f *u12sh, Complex_f *u11t, Complex_f *u12t) |
| Calculates the staple in the negative \(\mu\) direction. | |
| __global__ void | Kernels::cuGaugeForce (int mu, Complex_f *Sigma11, Complex_f *Sigma12, double *dSdpi, Complex_f *u11t, Complex_f *u12t, float beta) |
| Calculates the gauge force due to the Wilson Action at each intermediate time. | |
| template<typename T> | |
| __global__ void | Kernels::Gather (T *x, T *y, const unsigned int n, unsigned int *table, const unsigned short mu) |
| Extracts all the single precision gauge links in the \(\mu\) direction only. | |
| __global__ void | Kernels::cuForce_s (double *dSdpi, Complex_f *u11t, Complex_f *u12t, Complex_f *X1, Complex_f *X2, Complex_f gamval[20], unsigned int *iu, const unsigned short gamin[16], float akappa, const unsigned short mu) |
| Calculates the force \(\frac{dS}{d\pi}\) at each intermediate time. | |
| __global__ void | Kernels::cuForce_t (double *dSdpi, Complex_f *u11t, Complex_f *u12t, Complex_f *X1, Complex_f *X2, Complex_f gamval[20], float *dk4m, float *dk4p, unsigned int *iu, const unsigned short gamin[16], float akappa) |
| Calculates the force \(\frac{dS}{d\pi}\) at each intermediate time. | |
| void | cuGauge_force (Complex_f *ut[2], double *dSdpi, float beta, unsigned int *iu, unsigned int *id, dim3 dimGrid, dim3 dimBlock) |
| Calculate the gauge contribution to the force. | |
| void | cuForce (double *dSdpi, Complex_f *ut[2], Complex_f *X1, Complex_f *X2, Complex_f gamval[20], float *dk[2], unsigned int *iu, const unsigned short gamin[16], float akappa, dim3 dimGrid, dim3 dimBlock) |
| Calculates the force \(\frac{dS}{d\pi}\) at each intermediate time. | |
Code for force calculations. Requires multiply.cu to work.
Definition in file cuforce.cu.