Home
last modified time | relevance | path

Searched refs:offsets_padded (Results 1 – 2 of 2) sorted by relevance

/libCEED/backends/cuda-ref/
H A Dceed-cuda-ref-restriction.c546 CeedInt max_points = elem_size, *offsets_padded, *points_per_elem; in CeedElemRestrictionCreate_Cuda() local
549 CeedCallBackend(CeedMalloc(offsets_len, &offsets_padded)); in CeedElemRestrictionCreate_Cuda()
559 offsets_padded[i * max_points + j] = offsets[offsets[i] + j] * num_comp; in CeedElemRestrictionCreate_Cuda()
560 last_point = offsets_padded[i * max_points + j]; in CeedElemRestrictionCreate_Cuda()
564 offsets_padded[i * max_points + j] = last_point; in CeedElemRestrictionCreate_Cuda()
575 offsets = (const CeedInt *)offsets_padded; in CeedElemRestrictionCreate_Cuda()
/libCEED/backends/hip-ref/
H A Dceed-hip-ref-restriction.c547 CeedInt max_points = elem_size, *offsets_padded, *points_per_elem; in CeedElemRestrictionCreate_Hip() local
550 CeedCallBackend(CeedMalloc(offsets_len, &offsets_padded)); in CeedElemRestrictionCreate_Hip()
560 offsets_padded[i * max_points + j] = offsets[offsets[i] + j] * num_comp; in CeedElemRestrictionCreate_Hip()
561 last_point = offsets_padded[i * max_points + j]; in CeedElemRestrictionCreate_Hip()
565 offsets_padded[i * max_points + j] = last_point; in CeedElemRestrictionCreate_Hip()
576 offsets = (const CeedInt *)offsets_padded; in CeedElemRestrictionCreate_Hip()