Home
last modified time | relevance | path

Searched refs:apply_add (Results 1 – 14 of 14) sorted by relevance

/libCEED/backends/hip-shared/
H A Dceed-hip-shared-basis.c91 static int CeedBasisApplyTensorCore_Hip_shared(CeedBasis basis, bool apply_add, const CeedInt num_e… in CeedBasisApplyTensorCore_Hip_shared() argument
109 if (apply_add) { in CeedBasisApplyTensorCore_Hip_shared()
134 …CeedCallBackend(CeedRunKernelDimShared_Hip(ceed, apply_add ? data->InterpTransposeAdd : data->Inte… in CeedBasisApplyTensorCore_Hip_shared()
146 …CeedCallBackend(CeedRunKernelDimShared_Hip(ceed, apply_add ? data->InterpTransposeAdd : data->Inte… in CeedBasisApplyTensorCore_Hip_shared()
157 …CeedCallBackend(CeedRunKernelDimShared_Hip(ceed, apply_add ? data->InterpTransposeAdd : data->Inte… in CeedBasisApplyTensorCore_Hip_shared()
186 …CeedCallBackend(CeedRunKernelDimShared_Hip(ceed, apply_add ? data->GradTransposeAdd : data->GradTr… in CeedBasisApplyTensorCore_Hip_shared()
198 …CeedCallBackend(CeedRunKernelDimShared_Hip(ceed, apply_add ? data->GradTransposeAdd : data->GradTr… in CeedBasisApplyTensorCore_Hip_shared()
209 …CeedCallBackend(CeedRunKernelDimShared_Hip(ceed, apply_add ? data->GradTransposeAdd : data->GradTr… in CeedBasisApplyTensorCore_Hip_shared()
276 static int CeedBasisApplyAtPointsCore_Hip_shared(CeedBasis basis, bool apply_add, const CeedInt num… in CeedBasisApplyAtPointsCore_Hip_shared() argument
373 if (apply_add) { in CeedBasisApplyAtPointsCore_Hip_shared()
[all …]
/libCEED/backends/cuda-shared/
H A Dceed-cuda-shared-basis.c24 static int CeedBasisApplyTensorCore_Cuda_shared(CeedBasis basis, bool apply_add, const CeedInt num_… in CeedBasisApplyTensorCore_Cuda_shared() argument
42 if (apply_add) { in CeedBasisApplyTensorCore_Cuda_shared()
67 …CeedCallBackend(CeedRunKernelDimShared_Cuda(ceed, apply_add ? data->InterpTransposeAdd : data->Int… in CeedBasisApplyTensorCore_Cuda_shared()
80 …CeedCallBackend(CeedRunKernelDimShared_Cuda(ceed, apply_add ? data->InterpTransposeAdd : data->Int… in CeedBasisApplyTensorCore_Cuda_shared()
92 …CeedCallBackend(CeedRunKernelDimShared_Cuda(ceed, apply_add ? data->InterpTransposeAdd : data->Int… in CeedBasisApplyTensorCore_Cuda_shared()
121 …CeedCallBackend(CeedRunKernelDimShared_Cuda(ceed, apply_add ? data->GradTransposeAdd : data->GradT… in CeedBasisApplyTensorCore_Cuda_shared()
134 …CeedCallBackend(CeedRunKernelDimShared_Cuda(ceed, apply_add ? data->GradTransposeAdd : data->GradT… in CeedBasisApplyTensorCore_Cuda_shared()
145 …CeedCallBackend(CeedRunKernelDimShared_Cuda(ceed, apply_add ? data->GradTransposeAdd : data->GradT… in CeedBasisApplyTensorCore_Cuda_shared()
210 static int CeedBasisApplyAtPointsCore_Cuda_shared(CeedBasis basis, bool apply_add, const CeedInt nu… in CeedBasisApplyAtPointsCore_Cuda_shared() argument
307 if (apply_add) { in CeedBasisApplyAtPointsCore_Cuda_shared()
[all …]
/libCEED/julia/LibCEED.jl/docs/src/
H A DOperator.md7 apply_add!
/libCEED/rust/libceed/src/
H A Doperator.rs479 pub fn apply_add(&self, input: &Vector, output: &mut Vector) -> crate::Result<i32> { in apply_add() method
763 pub fn apply_add(&self, input: &Vector, output: &mut Vector) -> crate::Result<i32> { in apply_add() method
764 self.op_core.apply_add(input, output) in apply_add()
2377 pub fn apply_add(&self, input: &Vector, output: &mut Vector) -> crate::Result<i32> { in apply_add() method
2378 self.op_core.apply_add(input, output) in apply_add()
/libCEED/backends/ref/
H A Dceed-ref-basis.c19 static int CeedBasisApplyCore_Ref(CeedBasis basis, bool apply_add, CeedInt num_elem, CeedTransposeM… in CeedBasisApplyCore_Ref() argument
21 bool is_tensor_basis, add = apply_add || (t_mode == CEED_TRANSPOSE); in CeedBasisApplyCore_Ref()
38 if (apply_add) CeedCallBackend(CeedVectorGetArray(V, CEED_MEM_HOST, &v)); in CeedBasisApplyCore_Ref()
41 if (t_mode == CEED_TRANSPOSE && !apply_add) { in CeedBasisApplyCore_Ref()
120 … (t_mode == CEED_NOTRANSPOSE && apply_add) || (t_mode == CEED_TRANSPOSE && (d == dim - 1)), in CeedBasisApplyCore_Ref()
/libCEED/backends/magma/
H A Dceed-magma-basis.c29 static int CeedBasisApplyCore_Magma(CeedBasis basis, bool apply_add, CeedInt num_elem, CeedTranspos… in CeedBasisApplyCore_Magma() argument
56 if (apply_add) CeedCallBackend(CeedVectorGetArray(v, CEED_MEM_DEVICE, &d_v)); in CeedBasisApplyCore_Magma()
120 …CeedCallBackend(CeedRunKernelDimSharedMagma(ceed, apply_add ? impl->InterpTransposeAdd : impl->Int… in CeedBasisApplyCore_Magma()
198 …CeedCallBackend(CeedRunKernelDimSharedMagma(ceed, apply_add ? impl->GradTransposeAdd : impl->GradT… in CeedBasisApplyCore_Magma()
277 static int CeedBasisApplyNonTensorCore_Magma(CeedBasis basis, bool apply_add, CeedInt num_elem, Cee… in CeedBasisApplyNonTensorCore_Magma() argument
299 if (apply_add) CeedCallBackend(CeedVectorGetArray(v, CEED_MEM_DEVICE, &d_v)); in CeedBasisApplyNonTensorCore_Magma()
410 Kernel = apply_add ? impl->InterpTransposeAdd[iN] : impl->InterpTranspose[iN]; in CeedBasisApplyNonTensorCore_Magma()
418 Kernel = apply_add ? impl->DerivTransposeAdd[iN] : impl->DerivTranspose[iN]; in CeedBasisApplyNonTensorCore_Magma()
436 const CeedScalar beta = (apply_add || (d > 0)) ? 1.0 : 0.0; in CeedBasisApplyNonTensorCore_Magma()
/libCEED/backends/hip-ref/
H A Dceed-hip-ref-basis.c21 static int CeedBasisApplyCore_Hip(CeedBasis basis, bool apply_add, const CeedInt num_elem, CeedTran… in CeedBasisApplyCore_Hip() argument
37 if (apply_add) { in CeedBasisApplyCore_Hip()
101 static int CeedBasisApplyAtPointsCore_Hip(CeedBasis basis, bool apply_add, const CeedInt num_elem, … in CeedBasisApplyAtPointsCore_Hip() argument
197 if (apply_add) { in CeedBasisApplyAtPointsCore_Hip()
254 static int CeedBasisApplyNonTensorCore_Hip(CeedBasis basis, bool apply_add, const CeedInt num_elem,… in CeedBasisApplyNonTensorCore_Hip() argument
273 if (apply_add) { in CeedBasisApplyNonTensorCore_Hip()
/libCEED/backends/cuda-ref/
H A Dceed-cuda-ref-basis.c22 static int CeedBasisApplyCore_Cuda(CeedBasis basis, bool apply_add, const CeedInt num_elem, CeedTra… in CeedBasisApplyCore_Cuda() argument
38 if (apply_add) { in CeedBasisApplyCore_Cuda()
102 static int CeedBasisApplyAtPointsCore_Cuda(CeedBasis basis, bool apply_add, const CeedInt num_elem,… in CeedBasisApplyAtPointsCore_Cuda() argument
198 if (apply_add) { in CeedBasisApplyAtPointsCore_Cuda()
255 static int CeedBasisApplyNonTensorCore_Cuda(CeedBasis basis, bool apply_add, const CeedInt num_elem… in CeedBasisApplyNonTensorCore_Cuda() argument
274 if (apply_add) { in CeedBasisApplyNonTensorCore_Cuda()
/libCEED/julia/LibCEED.jl/src/
H A DOperator.jl110 apply_add!(op::Operator, vin, vout; request=RequestImmediate())
118 function apply_add!(
H A DLibCEED.jl71 apply_add!,
/libCEED/python/
H A Dceed_operator.py139 def apply_add(self, u, v, request=REQUEST_IMMEDIATE): member in _OperatorBase
/libCEED/julia/LibCEED.jl/test/
H A Druntests.jl248 apply_add!(op, v1, v2)
/libCEED/python/tests/
H A Dtest-5-operator.py557 op_mass.apply_add(u, v)
568 op_mass.apply_add(u, v)
1498 op_mass.apply_add(u, v)
/libCEED/interface/
H A Dceed-basis.c476 static int CeedBasisApplyAtPoints_Core(CeedBasis basis, bool apply_add, CeedInt num_elem, const Cee… in CeedBasisApplyAtPoints_Core() argument
671 …if (apply_add) CeedCall(CeedBasisApplyAdd(basis->basis_chebyshev, 1, CEED_TRANSPOSE, CEED_EVAL_INT… in CeedBasisApplyAtPoints_Core()