Home
last modified time | relevance | path

Searched refs:t_offsets (Results 1 – 11 of 11) sorted by relevance

/libCEED/backends/sycl-ref/
H A Dceed-sycl-restriction.sycl.cpp118 const CeedInt *t_offsets = impl->d_t_offsets; in CeedElemRestrictionOffsetTranspose_Sycl() local
130 const CeedInt range_1 = t_offsets[node]; in CeedElemRestrictionOffsetTranspose_Sycl()
131 const CeedInt range_N = t_offsets[node + 1]; in CeedElemRestrictionOffsetTranspose_Sycl()
254 …m_elem, elem_size, num_comp, num_nodes = 0, *ind_to_offset, *l_vec_indices, *t_offsets, *t_indices; in CeedElemRestrictionOffset_Sycl() local
286 CeedCallBackend(CeedCalloc(size_offsets, &t_offsets)); in CeedElemRestrictionOffset_Sycl()
290 …for (CeedInt i = 0; i < elem_size; ++i) ++t_offsets[ind_to_offset[indices[elem_size * e + i]] + 1]; in CeedElemRestrictionOffset_Sycl()
293 for (CeedInt i = 1; i < size_offsets; ++i) t_offsets[i] += t_offsets[i - 1]; in CeedElemRestrictionOffset_Sycl()
299 t_indices[t_offsets[ind_to_offset[gid]]++] = lid; in CeedElemRestrictionOffset_Sycl()
303 for (int i = size_offsets - 1; i > 0; --i) t_offsets[i] = t_offsets[i - 1]; in CeedElemRestrictionOffset_Sycl()
304 t_offsets[0] = 0; in CeedElemRestrictionOffset_Sycl()
[all …]
/libCEED/include/ceed/jit-source/hip/
H A Dhip-ref-restriction-at-points.h31 … const CeedInt *__restrict__ points_per_elem, const CeedInt *__restrict__ t_offsets, in AtPointsTranspose() argument
37 const CeedInt range_1 = t_offsets[i]; in AtPointsTranspose()
38 const CeedInt range_N = t_offsets[i + 1]; in AtPointsTranspose()
H A Dhip-ref-restriction-offset.h44 …const CeedInt *__restrict__ t_offsets, const CeedScalar *__restrict__ u, CeedScalar *__restrict__ … in OffsetTranspose() argument
49 const CeedInt range_1 = t_offsets[i]; in OffsetTranspose()
50 const CeedInt range_N = t_offsets[i + 1]; in OffsetTranspose()
H A Dhip-ref-restriction-oriented.h49 … const CeedInt *__restrict__ t_offsets, const bool *__restrict__ orients, in OrientedTranspose() argument
55 const CeedInt range_1 = t_offsets[i]; in OrientedTranspose()
56 const CeedInt range_N = t_offsets[i + 1]; in OrientedTranspose()
H A Dhip-ref-restriction-curl-oriented.h88 … const CeedInt *__restrict__ t_offsets, const CeedInt8 *__restrict__ curl_orients, in CurlOrientedTranspose() argument
94 const CeedInt range_1 = t_offsets[i]; in CurlOrientedTranspose()
95 const CeedInt range_N = t_offsets[i + 1]; in CurlOrientedTranspose()
146 … const CeedInt *__restrict__ t_offsets, const CeedInt8 *__restrict__ curl_orients, in CurlOrientedUnsignedTranspose() argument
152 const CeedInt range_1 = t_offsets[i]; in CurlOrientedUnsignedTranspose()
153 const CeedInt range_N = t_offsets[i + 1]; in CurlOrientedUnsignedTranspose()
/libCEED/include/ceed/jit-source/cuda/
H A Dcuda-ref-restriction-at-points.h31 … const CeedInt *__restrict__ points_per_elem, const CeedInt *__restrict__ t_offsets, in AtPointsTranspose() argument
37 const CeedInt range_1 = t_offsets[i]; in AtPointsTranspose()
38 const CeedInt range_N = t_offsets[i + 1]; in AtPointsTranspose()
H A Dcuda-ref-restriction-offset.h44 …const CeedInt *__restrict__ t_offsets, const CeedScalar *__restrict__ u, CeedScalar *__restrict__ … in OffsetTranspose() argument
49 const CeedInt range_1 = t_offsets[i]; in OffsetTranspose()
50 const CeedInt range_N = t_offsets[i + 1]; in OffsetTranspose()
H A Dcuda-ref-restriction-oriented.h49 … const CeedInt *__restrict__ t_offsets, const bool *__restrict__ orients, in OrientedTranspose() argument
55 const CeedInt range_1 = t_offsets[i]; in OrientedTranspose()
56 const CeedInt range_N = t_offsets[i + 1]; in OrientedTranspose()
H A Dcuda-ref-restriction-curl-oriented.h88 … const CeedInt *__restrict__ t_offsets, const CeedInt8 *__restrict__ curl_orients, in CurlOrientedTranspose() argument
94 const CeedInt range_1 = t_offsets[i]; in CurlOrientedTranspose()
95 const CeedInt range_N = t_offsets[i + 1]; in CurlOrientedTranspose()
146 … const CeedInt *__restrict__ t_offsets, const CeedInt8 *__restrict__ curl_orients, in CurlOrientedUnsignedTranspose() argument
152 const CeedInt range_1 = t_offsets[i]; in CurlOrientedUnsignedTranspose()
153 const CeedInt range_N = t_offsets[i + 1]; in CurlOrientedUnsignedTranspose()
/libCEED/backends/cuda-ref/
H A Dceed-cuda-ref-restriction.c421 CeedInt *ind_to_offset, *l_vec_indices, *t_offsets, *t_indices; in CeedElemRestrictionOffset_Cuda() local
454 CeedCallBackend(CeedCalloc(size_offsets, &t_offsets)); in CeedElemRestrictionOffset_Cuda()
458 …for (CeedInt i = 0; i < elem_size; ++i) ++t_offsets[ind_to_offset[indices[elem_size * e + i]] + 1]; in CeedElemRestrictionOffset_Cuda()
461 for (CeedInt i = 1; i < size_offsets; ++i) t_offsets[i] += t_offsets[i - 1]; in CeedElemRestrictionOffset_Cuda()
468 t_indices[t_offsets[ind_to_offset[gid]]++] = lid; in CeedElemRestrictionOffset_Cuda()
472 for (int i = size_offsets - 1; i > 0; --i) t_offsets[i] = t_offsets[i - 1]; in CeedElemRestrictionOffset_Cuda()
473 t_offsets[0] = 0; in CeedElemRestrictionOffset_Cuda()
481 …CeedCallCuda(ceed, cudaMemcpy((CeedInt *)impl->d_t_offsets, t_offsets, size_offsets * sizeof(CeedI… in CeedElemRestrictionOffset_Cuda()
489 CeedCallBackend(CeedFree(&t_offsets)); in CeedElemRestrictionOffset_Cuda()
/libCEED/backends/hip-ref/
H A Dceed-hip-ref-restriction.c422 CeedInt *ind_to_offset, *l_vec_indices, *t_offsets, *t_indices; in CeedElemRestrictionOffset_Hip() local
455 CeedCallBackend(CeedCalloc(size_offsets, &t_offsets)); in CeedElemRestrictionOffset_Hip()
459 …for (CeedInt i = 0; i < elem_size; ++i) ++t_offsets[ind_to_offset[indices[elem_size * e + i]] + 1]; in CeedElemRestrictionOffset_Hip()
462 for (CeedInt i = 1; i < size_offsets; ++i) t_offsets[i] += t_offsets[i - 1]; in CeedElemRestrictionOffset_Hip()
469 t_indices[t_offsets[ind_to_offset[gid]]++] = lid; in CeedElemRestrictionOffset_Hip()
473 for (int i = size_offsets - 1; i > 0; --i) t_offsets[i] = t_offsets[i - 1]; in CeedElemRestrictionOffset_Hip()
474 t_offsets[0] = 0; in CeedElemRestrictionOffset_Hip()
482 …CeedCallHip(ceed, hipMemcpy((CeedInt *)impl->d_t_offsets, t_offsets, size_offsets * sizeof(CeedInt… in CeedElemRestrictionOffset_Hip()
490 CeedCallBackend(CeedFree(&t_offsets)); in CeedElemRestrictionOffset_Hip()