Home
last modified time | relevance | path

Searched refs:scratch (Results 1 – 4 of 4) sorted by relevance

/libCEED/include/ceed/jit-source/sycl/
H A Dsycl-shared-basis-tensor-templates.h20 private CeedScalar *restrict V, local CeedScalar *restrict scratch) { in ContractX1d() argument
23 scratch[item_id_x] = *U; in ContractX1d()
29 *V += B[i + item_id_x * P_1D] * scratch[i]; // Contract x direction in ContractX1d()
39 … private CeedScalar *restrict V, local CeedScalar *restrict scratch) { in ContractTransposeX1d() argument
42 scratch[item_id_x] = *U; in ContractTransposeX1d()
48 *V += B[item_id_x + i * P_1D] * scratch[i]; // Contract x direction in ContractTransposeX1d()
58 …t CeedScalar *restrict s_B, private CeedScalar *restrict r_V, local CeedScalar *restrict scratch) { in Interp1d() argument
60 ContractX1d(P_1D, Q_1D, r_U + comp, s_B, r_V + comp, scratch); in Interp1d()
68 …t CeedScalar *restrict s_B, private CeedScalar *restrict r_V, local CeedScalar *restrict scratch) { in InterpTranspose1d() argument
70 ContractTransposeX1d(P_1D, Q_1D, r_U + comp, s_B, r_V + comp, scratch); in InterpTranspose1d()
[all …]
H A Dsycl-shared-basis-tensor.h30 local CeedScalar scratch[BASIS_INTERP_SCRATCH_SIZE]; in Interp() local
31 local CeedScalar *elem_scratch = scratch + get_local_id(2) * T_1D * (BASIS_DIM > 1 ? T_1D : 1); in Interp()
64 local CeedScalar scratch[BASIS_INTERP_SCRATCH_SIZE]; in InterpTranspose() local
65 local CeedScalar *elem_scratch = scratch + get_local_id(2) * T_1D * (BASIS_DIM > 1 ? T_1D : 1); in InterpTranspose()
100 local CeedScalar scratch[BASIS_GRAD_SCRATCH_SIZE]; in Grad() local
101 local CeedScalar *elem_scratch = scratch + get_local_id(2) * T_1D * (BASIS_DIM > 1 ? T_1D : 1); in Grad()
135 local CeedScalar scratch[BASIS_GRAD_SCRATCH_SIZE]; in GradTranspose() local
136 local CeedScalar *elem_scratch = scratch + get_local_id(2) * T_1D * (BASIS_DIM > 1 ? T_1D : 1); in GradTranspose()
H A Dsycl-gen-templates.h286 …onst local CeedScalar *s_G, private CeedScalar *restrict r_V, local CeedScalar *restrict scratch) { in gradCollo3d() argument
292 scratch[item_id_x + item_id_y * T_1D] = r_U[q + comp * Q_1D]; in gradCollo3d()
300 …r_V[comp + 0 * num_comp] += s_G[i + item_id_x * Q_1D] * scratch[i + item_id_y * T_1D]; // Contrac… in gradCollo3d()
305 …r_V[comp + 1 * num_comp] += s_G[i + item_id_y * Q_1D] * scratch[item_id_x + i * T_1D]; // Contrac… in gradCollo3d()
320 …l CeedScalar *restrict s_G, private CeedScalar *restrict r_V, local CeedScalar *restrict scratch) { in gradColloTranspose3d() argument
327 scratch[item_id_x + item_id_y * T_1D] = r_U[comp + 0 * num_comp]; in gradColloTranspose3d()
333 …r_V[q + comp * Q_1D] += s_G[item_id_x + i * Q_1D] * scratch[i + item_id_y * T_1D]; // Contract x … in gradColloTranspose3d()
339 scratch[item_id_x + item_id_y * T_1D] = r_U[comp + 1 * num_comp]; in gradColloTranspose3d()
345 …r_V[q + comp * Q_1D] += s_G[item_id_y + i * Q_1D] * scratch[item_id_x + i * T_1D]; // Contract y … in gradColloTranspose3d()
/libCEED/examples/nek/
H A DREADME.md9 export NEK5K_DIR=/scratch/Nek5000