Lines Matching refs:rstr
19 static inline int CeedElemRestrictionGetBackendStrides_Memcheck(CeedElemRestriction rstr, CeedInt s… in CeedElemRestrictionGetBackendStrides_Memcheck() argument
22 CeedCallBackend(CeedElemRestrictionGetElementSize(rstr, &elem_size)); in CeedElemRestrictionGetBackendStrides_Memcheck()
23 CeedCallBackend(CeedElemRestrictionGetNumComponents(rstr, &num_comp)); in CeedElemRestrictionGetBackendStrides_Memcheck()
24 CeedCallBackend(CeedElemRestrictionGetNumElements(rstr, &num_elem)); in CeedElemRestrictionGetBackendStrides_Memcheck()
46 static inline int CeedElemRestrictionApplyStridedNoTranspose_Memcheck_Core(CeedElemRestriction rstr… in CeedElemRestrictionApplyStridedNoTranspose_Memcheck_Core() argument
54 CeedCallBackend(CeedElemRestrictionHasBackendStrides(rstr, &has_backend_strides)); in CeedElemRestrictionApplyStridedNoTranspose_Memcheck_Core()
55 …if (has_backend_strides) CeedCallBackend(CeedElemRestrictionGetBackendStrides_Memcheck(rstr, strid… in CeedElemRestrictionApplyStridedNoTranspose_Memcheck_Core()
56 else CeedCallBackend(CeedElemRestrictionGetStrides(rstr, strides)); in CeedElemRestrictionApplyStridedNoTranspose_Memcheck_Core()
72 static inline int CeedElemRestrictionApplyOffsetNoTranspose_Memcheck_Core(CeedElemRestriction rstr,… in CeedElemRestrictionApplyOffsetNoTranspose_Memcheck_Core() argument
79 CeedCallBackend(CeedElemRestrictionGetData(rstr, &impl)); in CeedElemRestrictionApplyOffsetNoTranspose_Memcheck_Core()
90 …ElemRestrictionApplyOrientedNoTranspose_Memcheck_Core(CeedElemRestriction rstr, const CeedInt num_… in CeedElemRestrictionApplyOrientedNoTranspose_Memcheck_Core() argument
97 CeedCallBackend(CeedElemRestrictionGetData(rstr, &impl)); in CeedElemRestrictionApplyOrientedNoTranspose_Memcheck_Core()
109 …RestrictionApplyCurlOrientedNoTranspose_Memcheck_Core(CeedElemRestriction rstr, const CeedInt num_… in CeedElemRestrictionApplyCurlOrientedNoTranspose_Memcheck_Core() argument
116 CeedCallBackend(CeedElemRestrictionGetData(rstr, &impl)); in CeedElemRestrictionApplyCurlOrientedNoTranspose_Memcheck_Core()
152 …CeedElemRestriction rstr, const CeedInt num_comp, const CeedInt block_size, const CeedInt comp_str… in CeedElemRestrictionApplyCurlOrientedUnsignedNoTranspose_Memcheck_Core() argument
157 CeedCallBackend(CeedElemRestrictionGetData(rstr, &impl)); in CeedElemRestrictionApplyCurlOrientedUnsignedNoTranspose_Memcheck_Core()
192 static inline int CeedElemRestrictionApplyStridedTranspose_Memcheck_Core(CeedElemRestriction rstr, … in CeedElemRestrictionApplyStridedTranspose_Memcheck_Core() argument
200 CeedCallBackend(CeedElemRestrictionHasBackendStrides(rstr, &has_backend_strides)); in CeedElemRestrictionApplyStridedTranspose_Memcheck_Core()
201 …if (has_backend_strides) CeedCallBackend(CeedElemRestrictionGetBackendStrides_Memcheck(rstr, strid… in CeedElemRestrictionApplyStridedTranspose_Memcheck_Core()
202 else CeedCallBackend(CeedElemRestrictionGetStrides(rstr, strides)); in CeedElemRestrictionApplyStridedTranspose_Memcheck_Core()
218 static inline int CeedElemRestrictionApplyOffsetTranspose_Memcheck_Core(CeedElemRestriction rstr, c… in CeedElemRestrictionApplyOffsetTranspose_Memcheck_Core() argument
225 CeedCallBackend(CeedElemRestrictionGetData(rstr, &impl)); in CeedElemRestrictionApplyOffsetTranspose_Memcheck_Core()
242 static inline int CeedElemRestrictionApplyOrientedTranspose_Memcheck_Core(CeedElemRestriction rstr,… in CeedElemRestrictionApplyOrientedTranspose_Memcheck_Core() argument
249 CeedCallBackend(CeedElemRestrictionGetData(rstr, &impl)); in CeedElemRestrictionApplyOrientedTranspose_Memcheck_Core()
266 …emRestrictionApplyCurlOrientedTranspose_Memcheck_Core(CeedElemRestriction rstr, const CeedInt num_… in CeedElemRestrictionApplyCurlOrientedTranspose_Memcheck_Core() argument
274 CeedCallBackend(CeedElemRestrictionGetData(rstr, &impl)); in CeedElemRestrictionApplyCurlOrientedTranspose_Memcheck_Core()
318 …CeedElemRestriction rstr, const CeedInt num_comp, const CeedInt block_size, const CeedInt comp_str… in CeedElemRestrictionApplyCurlOrientedUnsignedTranspose_Memcheck_Core() argument
324 CeedCallBackend(CeedElemRestrictionGetData(rstr, &impl)); in CeedElemRestrictionApplyCurlOrientedUnsignedTranspose_Memcheck_Core()
367 static inline int CeedElemRestrictionApplyAtPointsInElement_Memcheck_Core(CeedElemRestriction rstr,… in CeedElemRestrictionApplyAtPointsInElement_Memcheck_Core() argument
374 CeedCallBackend(CeedElemRestrictionGetData(rstr, &impl)); in CeedElemRestrictionApplyAtPointsInElement_Memcheck_Core()
377 CeedCallBackend(CeedElemRestrictionGetNumPointsInElement(rstr, e, &num_points)); in CeedElemRestrictionApplyAtPointsInElement_Memcheck_Core()
392 static inline int CeedElemRestrictionApply_Memcheck_Core(CeedElemRestriction rstr, const CeedInt nu… in CeedElemRestrictionApply_Memcheck_Core() argument
401 CeedCallBackend(CeedElemRestrictionGetNumElements(rstr, &num_elem)); in CeedElemRestrictionApply_Memcheck_Core()
402 CeedCallBackend(CeedElemRestrictionGetElementSize(rstr, &elem_size)); in CeedElemRestrictionApply_Memcheck_Core()
404 CeedCallBackend(CeedElemRestrictionGetType(rstr, &rstr_type)); in CeedElemRestrictionApply_Memcheck_Core()
423 …CeedCallBackend(CeedElemRestrictionApplyStridedTranspose_Memcheck_Core(rstr, num_comp, block_size,… in CeedElemRestrictionApply_Memcheck_Core()
427 …CeedCallBackend(CeedElemRestrictionApplyOffsetTranspose_Memcheck_Core(rstr, num_comp, block_size, … in CeedElemRestrictionApply_Memcheck_Core()
432 …CeedCallBackend(CeedElemRestrictionApplyOrientedTranspose_Memcheck_Core(rstr, num_comp, block_size… in CeedElemRestrictionApply_Memcheck_Core()
435 …CeedCallBackend(CeedElemRestrictionApplyOffsetTranspose_Memcheck_Core(rstr, num_comp, block_size, … in CeedElemRestrictionApply_Memcheck_Core()
441 …CeedCallBackend(CeedElemRestrictionApplyCurlOrientedTranspose_Memcheck_Core(rstr, num_comp, block_… in CeedElemRestrictionApply_Memcheck_Core()
444 …CeedCallBackend(CeedElemRestrictionApplyCurlOrientedUnsignedTranspose_Memcheck_Core(rstr, num_comp… in CeedElemRestrictionApply_Memcheck_Core()
447 …CeedCallBackend(CeedElemRestrictionApplyOffsetTranspose_Memcheck_Core(rstr, num_comp, block_size, … in CeedElemRestrictionApply_Memcheck_Core()
452 …CeedCallBackend(CeedElemRestrictionApplyAtPointsInElement_Memcheck_Core(rstr, num_comp, start, sto… in CeedElemRestrictionApply_Memcheck_Core()
463 …CeedCallBackend(CeedElemRestrictionApplyStridedNoTranspose_Memcheck_Core(rstr, num_comp, block_siz… in CeedElemRestrictionApply_Memcheck_Core()
467 …CeedCallBackend(CeedElemRestrictionApplyOffsetNoTranspose_Memcheck_Core(rstr, num_comp, block_size… in CeedElemRestrictionApply_Memcheck_Core()
472 …CeedCallBackend(CeedElemRestrictionApplyOrientedNoTranspose_Memcheck_Core(rstr, num_comp, block_si… in CeedElemRestrictionApply_Memcheck_Core()
475 …CeedCallBackend(CeedElemRestrictionApplyOffsetNoTranspose_Memcheck_Core(rstr, num_comp, block_size… in CeedElemRestrictionApply_Memcheck_Core()
481 …CeedCallBackend(CeedElemRestrictionApplyCurlOrientedNoTranspose_Memcheck_Core(rstr, num_comp, bloc… in CeedElemRestrictionApply_Memcheck_Core()
484 …end(CeedElemRestrictionApplyCurlOrientedUnsignedNoTranspose_Memcheck_Core(rstr, num_comp, block_si… in CeedElemRestrictionApply_Memcheck_Core()
487 …CeedCallBackend(CeedElemRestrictionApplyOffsetNoTranspose_Memcheck_Core(rstr, num_comp, block_size… in CeedElemRestrictionApply_Memcheck_Core()
492 …CeedCallBackend(CeedElemRestrictionApplyAtPointsInElement_Memcheck_Core(rstr, num_comp, start, sto… in CeedElemRestrictionApply_Memcheck_Core()
505 static int CeedElemRestrictionApply_Memcheck(CeedElemRestriction rstr, CeedTransposeMode t_mode, Ce… in CeedElemRestrictionApply_Memcheck() argument
509 CeedCallBackend(CeedElemRestrictionGetNumBlocks(rstr, &num_block)); in CeedElemRestrictionApply_Memcheck()
510 CeedCallBackend(CeedElemRestrictionGetBlockSize(rstr, &block_size)); in CeedElemRestrictionApply_Memcheck()
511 CeedCallBackend(CeedElemRestrictionGetNumComponents(rstr, &num_comp)); in CeedElemRestrictionApply_Memcheck()
512 CeedCallBackend(CeedElemRestrictionGetCompStride(rstr, &comp_stride)); in CeedElemRestrictionApply_Memcheck()
513 CeedCallBackend(CeedElemRestrictionGetData(rstr, &impl)); in CeedElemRestrictionApply_Memcheck()
514 …CeedCallBackend(impl->Apply(rstr, num_comp, block_size, comp_stride, 0, num_block, t_mode, true, t… in CeedElemRestrictionApply_Memcheck()
521 static int CeedElemRestrictionApplyUnsigned_Memcheck(CeedElemRestriction rstr, CeedTransposeMode t_… in CeedElemRestrictionApplyUnsigned_Memcheck() argument
526 CeedCallBackend(CeedElemRestrictionGetNumBlocks(rstr, &num_block)); in CeedElemRestrictionApplyUnsigned_Memcheck()
527 CeedCallBackend(CeedElemRestrictionGetBlockSize(rstr, &block_size)); in CeedElemRestrictionApplyUnsigned_Memcheck()
528 CeedCallBackend(CeedElemRestrictionGetNumComponents(rstr, &num_comp)); in CeedElemRestrictionApplyUnsigned_Memcheck()
529 CeedCallBackend(CeedElemRestrictionGetCompStride(rstr, &comp_stride)); in CeedElemRestrictionApplyUnsigned_Memcheck()
530 CeedCallBackend(CeedElemRestrictionGetData(rstr, &impl)); in CeedElemRestrictionApplyUnsigned_Memcheck()
531 …CeedCallBackend(impl->Apply(rstr, num_comp, block_size, comp_stride, 0, num_block, t_mode, false, … in CeedElemRestrictionApplyUnsigned_Memcheck()
538 static int CeedElemRestrictionApplyUnoriented_Memcheck(CeedElemRestriction rstr, CeedTransposeMode … in CeedElemRestrictionApplyUnoriented_Memcheck() argument
543 CeedCallBackend(CeedElemRestrictionGetNumBlocks(rstr, &num_block)); in CeedElemRestrictionApplyUnoriented_Memcheck()
544 CeedCallBackend(CeedElemRestrictionGetBlockSize(rstr, &block_size)); in CeedElemRestrictionApplyUnoriented_Memcheck()
545 CeedCallBackend(CeedElemRestrictionGetNumComponents(rstr, &num_comp)); in CeedElemRestrictionApplyUnoriented_Memcheck()
546 CeedCallBackend(CeedElemRestrictionGetCompStride(rstr, &comp_stride)); in CeedElemRestrictionApplyUnoriented_Memcheck()
547 CeedCallBackend(CeedElemRestrictionGetData(rstr, &impl)); in CeedElemRestrictionApplyUnoriented_Memcheck()
548 …CeedCallBackend(impl->Apply(rstr, num_comp, block_size, comp_stride, 0, num_block, t_mode, false, … in CeedElemRestrictionApplyUnoriented_Memcheck()
555 static int CeedElemRestrictionApplyAtPointsInElement_Memcheck(CeedElemRestriction rstr, CeedInt ele… in CeedElemRestrictionApplyAtPointsInElement_Memcheck() argument
560 CeedCallBackend(CeedElemRestrictionGetNumComponents(rstr, &num_comp)); in CeedElemRestrictionApplyAtPointsInElement_Memcheck()
561 CeedCallBackend(CeedElemRestrictionGetData(rstr, &impl)); in CeedElemRestrictionApplyAtPointsInElement_Memcheck()
562 return impl->Apply(rstr, num_comp, 0, 1, elem, elem + 1, t_mode, false, false, u, v, request); in CeedElemRestrictionApplyAtPointsInElement_Memcheck()
568 static int CeedElemRestrictionApplyBlock_Memcheck(CeedElemRestriction rstr, CeedInt block, CeedTran… in CeedElemRestrictionApplyBlock_Memcheck() argument
573 CeedCallBackend(CeedElemRestrictionGetBlockSize(rstr, &block_size)); in CeedElemRestrictionApplyBlock_Memcheck()
574 CeedCallBackend(CeedElemRestrictionGetNumComponents(rstr, &num_comp)); in CeedElemRestrictionApplyBlock_Memcheck()
575 CeedCallBackend(CeedElemRestrictionGetCompStride(rstr, &comp_stride)); in CeedElemRestrictionApplyBlock_Memcheck()
576 CeedCallBackend(CeedElemRestrictionGetData(rstr, &impl)); in CeedElemRestrictionApplyBlock_Memcheck()
577 …CeedCallBackend(impl->Apply(rstr, num_comp, block_size, comp_stride, block, block + 1, t_mode, tru… in CeedElemRestrictionApplyBlock_Memcheck()
584 static int CeedElemRestrictionGetOffsets_Memcheck(CeedElemRestriction rstr, CeedMemType mem_type, c… in CeedElemRestrictionGetOffsets_Memcheck() argument
587 CeedCallBackend(CeedElemRestrictionGetData(rstr, &impl)); in CeedElemRestrictionGetOffsets_Memcheck()
589 …CeedCheck(mem_type == CEED_MEM_HOST, CeedElemRestrictionReturnCeed(rstr), CEED_ERROR_BACKEND, "Can… in CeedElemRestrictionGetOffsets_Memcheck()
598 static int CeedElemRestrictionGetOrientations_Memcheck(CeedElemRestriction rstr, CeedMemType mem_ty… in CeedElemRestrictionGetOrientations_Memcheck() argument
601 CeedCallBackend(CeedElemRestrictionGetData(rstr, &impl)); in CeedElemRestrictionGetOrientations_Memcheck()
603 …CeedCheck(mem_type == CEED_MEM_HOST, CeedElemRestrictionReturnCeed(rstr), CEED_ERROR_BACKEND, "Can… in CeedElemRestrictionGetOrientations_Memcheck()
612 static int CeedElemRestrictionGetCurlOrientations_Memcheck(CeedElemRestriction rstr, CeedMemType me… in CeedElemRestrictionGetCurlOrientations_Memcheck() argument
615 CeedCallBackend(CeedElemRestrictionGetData(rstr, &impl)); in CeedElemRestrictionGetCurlOrientations_Memcheck()
617 …CeedCheck(mem_type == CEED_MEM_HOST, CeedElemRestrictionReturnCeed(rstr), CEED_ERROR_BACKEND, "Can… in CeedElemRestrictionGetCurlOrientations_Memcheck()
626 static int CeedElemRestrictionDestroy_Memcheck(CeedElemRestriction rstr) { in CeedElemRestrictionDestroy_Memcheck() argument
629 CeedCallBackend(CeedElemRestrictionGetData(rstr, &impl)); in CeedElemRestrictionDestroy_Memcheck()
641 const CeedInt8 *curl_orients, CeedElemRestriction rstr) { in CeedElemRestrictionCreate_Memcheck() argument
647 CeedCallBackend(CeedElemRestrictionGetCeed(rstr, &ceed)); in CeedElemRestrictionCreate_Memcheck()
648 CeedCallBackend(CeedElemRestrictionGetNumElements(rstr, &num_elem)); in CeedElemRestrictionCreate_Memcheck()
649 CeedCallBackend(CeedElemRestrictionGetElementSize(rstr, &elem_size)); in CeedElemRestrictionCreate_Memcheck()
650 CeedCallBackend(CeedElemRestrictionGetNumBlocks(rstr, &num_block)); in CeedElemRestrictionCreate_Memcheck()
651 CeedCallBackend(CeedElemRestrictionGetBlockSize(rstr, &block_size)); in CeedElemRestrictionCreate_Memcheck()
652 CeedCallBackend(CeedElemRestrictionGetNumComponents(rstr, &num_comp)); in CeedElemRestrictionCreate_Memcheck()
653 CeedCallBackend(CeedElemRestrictionGetCompStride(rstr, &comp_stride)); in CeedElemRestrictionCreate_Memcheck()
654 CeedCallBackend(CeedElemRestrictionGetType(rstr, &rstr_type)); in CeedElemRestrictionCreate_Memcheck()
659 CeedCallBackend(CeedElemRestrictionSetData(rstr, impl)); in CeedElemRestrictionCreate_Memcheck()
666 CeedCallBackend(CeedElemRestrictionSetELayout(rstr, e_layout)); in CeedElemRestrictionCreate_Memcheck()
668 CeedCallBackend(CeedElemRestrictionHasBackendStrides(rstr, &has_backend_strides)); in CeedElemRestrictionCreate_Memcheck()
670 CeedCallBackend(CeedElemRestrictionGetBackendStrides_Memcheck(rstr, l_layout)); in CeedElemRestrictionCreate_Memcheck()
671 CeedCallBackend(CeedElemRestrictionSetLLayout(rstr, l_layout)); in CeedElemRestrictionCreate_Memcheck()
688 CeedCallBackend(CeedElemRestrictionSetAtPointsEVectorSize(rstr, num_points_total * num_comp)); in CeedElemRestrictionCreate_Memcheck()
697 CeedCallBackend(CeedElemRestrictionGetLVectorSize(rstr, &l_size)); in CeedElemRestrictionCreate_Memcheck()
705 …if (rstr_type == CEED_RESTRICTION_POINTS) CeedCallBackend(CeedElemRestrictionGetNumPoints(rstr, &n… in CeedElemRestrictionCreate_Memcheck()
759 …CeedCallBackend(CeedSetBackendFunction(ceed, "ElemRestriction", rstr, "Apply", CeedElemRestriction… in CeedElemRestrictionCreate_Memcheck()
760 …CeedCallBackend(CeedSetBackendFunction(ceed, "ElemRestriction", rstr, "ApplyUnsigned", CeedElemRes… in CeedElemRestrictionCreate_Memcheck()
761 …CeedCallBackend(CeedSetBackendFunction(ceed, "ElemRestriction", rstr, "ApplyUnoriented", CeedElemR… in CeedElemRestrictionCreate_Memcheck()
763 CeedCallBackend(CeedSetBackendFunction(ceed, "ElemRestriction", rstr, "ApplyAtPointsInElement", in CeedElemRestrictionCreate_Memcheck()
766 …CeedCallBackend(CeedSetBackendFunction(ceed, "ElemRestriction", rstr, "ApplyBlock", CeedElemRestri… in CeedElemRestrictionCreate_Memcheck()
767 …CeedCallBackend(CeedSetBackendFunction(ceed, "ElemRestriction", rstr, "GetOffsets", CeedElemRestri… in CeedElemRestrictionCreate_Memcheck()
768 …CeedCallBackend(CeedSetBackendFunction(ceed, "ElemRestriction", rstr, "GetOrientations", CeedElemR… in CeedElemRestrictionCreate_Memcheck()
769 …CeedCallBackend(CeedSetBackendFunction(ceed, "ElemRestriction", rstr, "GetCurlOrientations", CeedE… in CeedElemRestrictionCreate_Memcheck()
770 …CeedCallBackend(CeedSetBackendFunction(ceed, "ElemRestriction", rstr, "Destroy", CeedElemRestricti… in CeedElemRestrictionCreate_Memcheck()