| /libCEED/interface/ |
| H A D | ceed.c | 572 int CeedGetDelegate(Ceed ceed, Ceed *delegate) { in CeedGetDelegate() argument 573 *delegate = NULL; in CeedGetDelegate() 574 if (ceed->delegate) CeedCall(CeedReferenceCopy(ceed->delegate, delegate)); in CeedGetDelegate() 591 int CeedSetDelegate(Ceed ceed, Ceed delegate) { in CeedSetDelegate() argument 592 CeedCall(CeedReferenceCopy(delegate, &ceed->delegate)); in CeedSetDelegate() 593 delegate->parent = ceed; in CeedSetDelegate() 608 int CeedGetObjectDelegate(Ceed ceed, Ceed *delegate, const char *obj_name) { in CeedGetObjectDelegate() argument 612 *delegate = NULL; in CeedGetObjectDelegate() 613 CeedCall(CeedReferenceCopy(ceed->obj_delegates->delegate, delegate)); in CeedGetObjectDelegate() 619 CeedCall(CeedGetDelegate(ceed, delegate)); in CeedGetObjectDelegate() [all …]
|
| H A D | ceed-elemrestriction.c | 660 Ceed delegate; in CeedElemRestrictionCreate() local 662 CeedCall(CeedGetObjectDelegate(ceed, &delegate, "ElemRestriction")); in CeedElemRestrictionCreate() 663 …CeedCheck(delegate, ceed, CEED_ERROR_UNSUPPORTED, "Backend does not implement CeedElemRestrictionC… in CeedElemRestrictionCreate() 664 …CeedCall(CeedElemRestrictionCreate(delegate, num_elem, elem_size, num_comp, comp_stride, l_size, m… in CeedElemRestrictionCreate() 665 CeedCall(CeedDestroy(&delegate)); in CeedElemRestrictionCreate() 716 Ceed delegate; in CeedElemRestrictionCreateOriented() local 718 CeedCall(CeedGetObjectDelegate(ceed, &delegate, "ElemRestriction")); in CeedElemRestrictionCreateOriented() 719 …CeedCheck(delegate, ceed, CEED_ERROR_UNSUPPORTED, "Backend does not implement CeedElemRestrictionC… in CeedElemRestrictionCreateOriented() 720 …CeedCall(CeedElemRestrictionCreateOriented(delegate, num_elem, elem_size, num_comp, comp_stride, l… in CeedElemRestrictionCreateOriented() 722 CeedCall(CeedDestroy(&delegate)); in CeedElemRestrictionCreateOriented() [all …]
|
| H A D | ceed-tensor.c | 56 Ceed delegate; in CeedTensorContractCreate() local 58 CeedCall(CeedGetObjectDelegate(ceed, &delegate, "TensorContract")); in CeedTensorContractCreate() 59 …CeedCheck(delegate, ceed, CEED_ERROR_UNSUPPORTED, "Backend does not implement CeedTensorContractCr… in CeedTensorContractCreate() 60 CeedCall(CeedTensorContractCreate(delegate, contract)); in CeedTensorContractCreate() 61 CeedCall(CeedDestroy(&delegate)); in CeedTensorContractCreate()
|
| H A D | ceed-basis.c | 711 Ceed delegate; in CeedBasisCreateH1Fallback() local 713 CeedCall(CeedGetObjectDelegate(ceed, &delegate, "Basis")); in CeedBasisCreateH1Fallback() 714 CeedCheck(delegate, ceed, CEED_ERROR_UNSUPPORTED, "Backend does not implement BasisCreateH1"); in CeedBasisCreateH1Fallback() 716 CeedCall(CeedReferenceCopy(delegate, &(basis)->obj.ceed)); in CeedBasisCreateH1Fallback() 718 CeedCall(delegate->BasisCreateH1(topo, dim, P, Q, interp, grad, q_ref, q_weight, basis)); in CeedBasisCreateH1Fallback() 719 CeedCall(CeedDestroy(&delegate)); in CeedBasisCreateH1Fallback() 1539 Ceed delegate; in CeedBasisCreateTensorH1() local 1541 CeedCall(CeedGetObjectDelegate(ceed, &delegate, "Basis")); in CeedBasisCreateTensorH1() 1542 …CeedCheck(delegate, ceed, CEED_ERROR_UNSUPPORTED, "Backend does not implement BasisCreateTensorH1"… in CeedBasisCreateTensorH1() 1543 …CeedCall(CeedBasisCreateTensorH1(delegate, dim, num_comp, P_1d, Q_1d, interp_1d, grad_1d, q_ref_1d… in CeedBasisCreateTensorH1() [all …]
|
| H A D | ceed-qfunctioncontext.c | 597 Ceed delegate; in CeedQFunctionContextCreate() local 599 CeedCall(CeedGetObjectDelegate(ceed, &delegate, "Context")); in CeedQFunctionContextCreate() 600 …CeedCheck(delegate, ceed, CEED_ERROR_UNSUPPORTED, "Backend does not implement CeedQFunctionContext… in CeedQFunctionContextCreate() 601 CeedCall(CeedQFunctionContextCreate(delegate, ctx)); in CeedQFunctionContextCreate() 602 CeedCall(CeedDestroy(&delegate)); in CeedQFunctionContextCreate()
|
| H A D | ceed-operator.c | 783 Ceed delegate; in CeedOperatorCreate() local 785 CeedCall(CeedGetObjectDelegate(ceed, &delegate, "Operator")); in CeedOperatorCreate() 786 …CeedCheck(delegate, ceed, CEED_ERROR_UNSUPPORTED, "Backend does not implement CeedOperatorCreate"); in CeedOperatorCreate() 787 CeedCall(CeedOperatorCreate(delegate, qf, dqf, dqfT, op)); in CeedOperatorCreate() 788 CeedCall(CeedDestroy(&delegate)); in CeedOperatorCreate() 825 Ceed delegate; in CeedOperatorCreateAtPoints() local 827 CeedCall(CeedGetObjectDelegate(ceed, &delegate, "Operator")); in CeedOperatorCreateAtPoints() 828 …CeedCheck(delegate, ceed, CEED_ERROR_UNSUPPORTED, "Backend does not implement CeedOperatorCreateAt… in CeedOperatorCreateAtPoints() 829 CeedCall(CeedOperatorCreateAtPoints(delegate, qf, dqf, dqfT, op)); in CeedOperatorCreateAtPoints() 830 CeedCall(CeedDestroy(&delegate)); in CeedOperatorCreateAtPoints() [all …]
|
| H A D | ceed-qfunction.c | 681 Ceed delegate; in CeedQFunctionCreateInterior() local 683 CeedCall(CeedGetObjectDelegate(ceed, &delegate, "QFunction")); in CeedQFunctionCreateInterior() 684 …CeedCheck(delegate, ceed, CEED_ERROR_UNSUPPORTED, "Backend does not implement CeedQFunctionCreateI… in CeedQFunctionCreateInterior() 685 CeedCall(CeedQFunctionCreateInterior(delegate, vec_length, f, source, qf)); in CeedQFunctionCreateInterior() 686 CeedCall(CeedDestroy(&delegate)); in CeedQFunctionCreateInterior()
|
| H A D | ceed-vector.c | 201 Ceed delegate; in CeedVectorCreate() local 203 CeedCall(CeedGetObjectDelegate(ceed, &delegate, "Vector")); in CeedVectorCreate() 204 CeedCheck(delegate, ceed, CEED_ERROR_UNSUPPORTED, "Backend does not implement VectorCreate"); in CeedVectorCreate() 205 CeedCall(CeedVectorCreate(delegate, length, vec)); in CeedVectorCreate() 206 CeedCall(CeedDestroy(&delegate)); in CeedVectorCreate()
|
| /libCEED/doc/sphinx/source/ |
| H A D | libCEEDdev.md | 27 1. Delegation - Developers may use {c:func}`CeedSetDelegate` to set a general delegate {ref}`Ceed` … 28 …This delegate {ref}`Ceed` will provide the implementation of any libCeed objects that parent backe… 31 2. Object delegation - Developers may use {c:func}`CeedSetObjectDelegate` to set a delegate {ref}`… 32 …This delegate {ref}`Ceed` will only provide the implementation of that specific libCeed object for… 46 As internal data layouts are specific to backend families, it is generally not possible to delegate… 54 The `/cpu/self/ref/blockend` and `/cpu/self/opt/*` backends delegate to the `/cpu/self/ref/serial` … 59 The `/cpu/self/avx/*` and `/cpu/self/xsmm/*` backends delegate to the corresponding `/cpu/self/opt/… 62 The `/cpu/self/memcheck/*` backends delegate to the `/cpu/self/ref/*` backends. 77 The `/gpu/*/shared` backends delegate to the corresponding `/gpu/*/ref` backends. 82 The `/gpu/*/gen` backends delegate to the corresponding `/gpu/*/shared` backends. [all …]
|
| /libCEED/include/ceed/ |
| H A D | backend.h | 254 CEED_EXTERN int CeedGetDelegate(Ceed ceed, Ceed *delegate); 255 CEED_EXTERN int CeedSetDelegate(Ceed ceed, Ceed delegate); 256 CEED_EXTERN int CeedGetObjectDelegate(Ceed ceed, Ceed *delegate, const char *obj_name); 257 CEED_EXTERN int CeedSetObjectDelegate(Ceed ceed, Ceed delegate, const char *obj_name);
|
| /libCEED/include/ |
| H A D | ceed-impl.h | 82 Ceed delegate; member 104 Ceed delegate; member
|
| /libCEED/julia/LibCEED.jl/src/generated/ |
| H A D | libceed_bindings.jl | 940 function CeedGetDelegate(ceed, delegate) argument 941 ccall((:CeedGetDelegate, libceed), Cint, (Ceed, Ptr{Ceed}), ceed, delegate) 944 function CeedSetDelegate(ceed, delegate) argument 945 ccall((:CeedSetDelegate, libceed), Cint, (Ceed, Ceed), ceed, delegate) 948 function CeedGetObjectDelegate(ceed, delegate, obj_name) argument 949 …ccall((:CeedGetObjectDelegate, libceed), Cint, (Ceed, Ptr{Ceed}, Ptr{Cchar}), ceed, delegate, obj_… 952 function CeedSetObjectDelegate(ceed, delegate, obj_name) argument 953 … ccall((:CeedSetObjectDelegate, libceed), Cint, (Ceed, Ceed, Ptr{Cchar}), ceed, delegate, obj_name)
|