#include <stdio.h>
#include <stdlib.h>
#include <device/device_config.h>
Go to the source code of this file.
|
| template<typename T, const int LX> |
| __global__ void | jacobi_kernel (T *__restrict__ du, const T *__restrict__ dxt, const T *__restrict__ dyt, const T *__restrict__ dzt, const T *__restrict__ G11, const T *__restrict__ G22, const T *__restrict__ G33, const T *__restrict__ G12, const T *__restrict__ G13, const T *__restrict__ G23, const int nel) |
| void | cuda_jacobi_update (void *d, void *dxt, void *dyt, void *dzt, void *G11, void *G22, void *G33, void *G12, void *G13, void *G23, int *nel, int *lxp) |
◆ CASE
Value: case N:\
*nel);\
break
__global__ void const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ dyt
__global__ void const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ dzt
__global__ void const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ dxt
__global__ void jacobi_kernel(T *__restrict__ du, const T *__restrict__ dxt, const T *__restrict__ dyt, const T *__restrict__ dzt, const T *__restrict__ G11, const T *__restrict__ G22, const T *__restrict__ G33, const T *__restrict__ G12, const T *__restrict__ G13, const T *__restrict__ G23, const int nel)
◆ cuda_jacobi_update()
| void cuda_jacobi_update |
( |
void * | d, |
|
|
void * | dxt, |
|
|
void * | dyt, |
|
|
void * | dzt, |
|
|
void * | G11, |
|
|
void * | G22, |
|
|
void * | G33, |
|
|
void * | G12, |
|
|
void * | G13, |
|
|
void * | G23, |
|
|
int * | nel, |
|
|
int * | lxp ) |
◆ jacobi_kernel()
template<typename T, const int LX>
| __global__ void jacobi_kernel |
( |
T *__restrict__ | du, |
|
|
const T *__restrict__ | dxt, |
|
|
const T *__restrict__ | dyt, |
|
|
const T *__restrict__ | dzt, |
|
|
const T *__restrict__ | G11, |
|
|
const T *__restrict__ | G22, |
|
|
const T *__restrict__ | G33, |
|
|
const T *__restrict__ | G12, |
|
|
const T *__restrict__ | G13, |
|
|
const T *__restrict__ | G23, |
|
|
const int | nel ) |