Home
last modified time | relevance | path

Searched refs:elem_id (Results 1 – 10 of 10) sorted by relevance

/libCEED/include/ceed/jit-source/magma/
H A Dmagma-basis-grad-1d.h47 const int elem_id = (blockIdx.x * blockDim.y) + ty; in __launch_bounds__() local
49 if (elem_id >= nelem) return; in __launch_bounds__()
55 dU += elem_id * estrdU; in __launch_bounds__()
56 dV += elem_id * estrdV; in __launch_bounds__()
92 const int elem_id = (blockIdx.x * blockDim.y) + ty; in __launch_bounds__() local
94 if (elem_id >= nelem) return; in __launch_bounds__()
100 dU += elem_id * estrdU; in __launch_bounds__()
101 dV += elem_id * estrdV; in __launch_bounds__()
137 const int elem_id = (blockIdx.x * blockDim.y) + ty; in __launch_bounds__() local
139 if (elem_id >= nelem) return; in __launch_bounds__()
[all …]
H A Dmagma-basis-interp-1d.h47 const int elem_id = (blockIdx.x * blockDim.y) + ty; in __launch_bounds__() local
49 if (elem_id >= nelem) return; in __launch_bounds__()
55 dU += elem_id * estrdU; in __launch_bounds__()
56 dV += elem_id * estrdV; in __launch_bounds__()
92 const int elem_id = (blockIdx.x * blockDim.y) + ty; in __launch_bounds__() local
94 if (elem_id >= nelem) return; in __launch_bounds__()
100 dU += elem_id * estrdU; in __launch_bounds__()
101 dV += elem_id * estrdV; in __launch_bounds__()
137 const int elem_id = (blockIdx.x * blockDim.y) + ty; in __launch_bounds__() local
139 if (elem_id >= nelem) return; in __launch_bounds__()
[all …]
H A Dmagma-basis-interp-2d.h73 const int elem_id = (blockIdx.x * blockDim.y) + ty; in __launch_bounds__() local
75 if (elem_id >= nelem) return; in __launch_bounds__()
82 dU += elem_id * estrdU; in __launch_bounds__()
83 dV += elem_id * estrdV; in __launch_bounds__()
114 const int elem_id = (blockIdx.x * blockDim.y) + ty; in __launch_bounds__() local
116 if (elem_id >= nelem) return; in __launch_bounds__()
123 dU += elem_id * estrdU; in __launch_bounds__()
124 dV += elem_id * estrdV; in __launch_bounds__()
155 const int elem_id = (blockIdx.x * blockDim.y) + ty; in __launch_bounds__() local
157 if (elem_id >= nelem) return; in __launch_bounds__()
[all …]
H A Dmagma-basis-interp-3d.h101 const int elem_id = (blockIdx.x * blockDim.y) + ty; in __launch_bounds__() local
103 if (elem_id >= nelem) return; in __launch_bounds__()
110 dU += elem_id * estrdU; in __launch_bounds__()
111 dV += elem_id * estrdV; in __launch_bounds__()
142 const int elem_id = (blockIdx.x * blockDim.y) + ty; in __launch_bounds__() local
144 if (elem_id >= nelem) return; in __launch_bounds__()
151 dU += elem_id * estrdU; in __launch_bounds__()
152 dV += elem_id * estrdV; in __launch_bounds__()
183 const int elem_id = (blockIdx.x * blockDim.y) + ty; in __launch_bounds__() local
185 if (elem_id >= nelem) return; in __launch_bounds__()
[all …]
H A Dmagma-basis-grad-2d.h97 const int elem_id = (blockIdx.x * blockDim.y) + ty;
99 if (elem_id >= nelem) return;
106 dU += elem_id * estrdU;
107 dV += elem_id * estrdV;
148 const int elem_id = (blockIdx.x * blockDim.y) + ty;
150 if (elem_id >= nelem) return;
157 dU += elem_id * estrdU;
158 dV += elem_id * estrdV;
199 const int elem_id = (blockIdx.x * blockDim.y) + ty;
201 if (elem_id >= nelem) return;
[all …]
H A Dmagma-basis-grad-3d.h119 const int elem_id = (blockIdx.x * blockDim.y) + ty;
121 if (elem_id >= nelem) return;
128 dU += elem_id * estrdU;
129 dV += elem_id * estrdV;
178 const int elem_id = (blockIdx.x * blockDim.y) + ty;
180 if (elem_id >= nelem) return;
187 dU += elem_id * estrdU;
188 dV += elem_id * estrdV;
236 const int elem_id = (blockIdx.x * blockDim.y) + ty;
238 if (elem_id >= nelem) return;
[all …]
H A Dmagma-basis-weight-1d.h31 const int elem_id = (blockIdx.x * blockDim.y) + ty; in __launch_bounds__() local
33 if (elem_id >= nelem) return; in __launch_bounds__()
36 dV += elem_id * v_stride; in __launch_bounds__()
H A Dmagma-basis-weight-2d.h39 const int elem_id = (blockIdx.x * blockDim.y) + ty; in __launch_bounds__() local
41 if (elem_id >= nelem) return; in __launch_bounds__()
45 dV += elem_id * v_stride; in __launch_bounds__()
H A Dmagma-basis-weight-3d.h40 const int elem_id = (blockIdx.x * blockDim.y) + ty; in __launch_bounds__() local
42 if (elem_id >= nelem) return; in __launch_bounds__()
46 dV += elem_id * v_stride; in __launch_bounds__()
/libCEED/examples/python/
H A Dex_common.py186 elem_id = d_1d // (p - 1)
188 coords[gs_node + scalar_size * d] = (elem_id + nodes[node_id]) / num_xyz[d]