| /libCEED/backends/sycl-ref/ |
| H A D | ceed-sycl-restriction.sycl.cpp | 118 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 D | hip-ref-restriction-at-points.h | 31 … 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 D | hip-ref-restriction-offset.h | 44 …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 D | hip-ref-restriction-oriented.h | 49 … 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 D | hip-ref-restriction-curl-oriented.h | 88 … 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 D | cuda-ref-restriction-at-points.h | 31 … 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 D | cuda-ref-restriction-offset.h | 44 …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 D | cuda-ref-restriction-oriented.h | 49 … 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 D | cuda-ref-restriction-curl-oriented.h | 88 … 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 D | ceed-cuda-ref-restriction.c | 421 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 D | ceed-hip-ref-restriction.c | 422 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()
|